Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| cd66c050 | 2021-10-29 01:11:59 | testsurround: Add surround sound channel tester | ||
| 83020658 | 2021-09-09 21:33:35 | Add testmouse | ||
| 2e3a415b | 2021-09-06 13:09:09 | test: Use a static pattern rule to copy data to $(builddir) The version with an implicit pattern rule tended to fail if test/ was built in an "out-of-tree" build directory not below test/, for example: cd SDL mkdir _build-test ( cd _build-test; ../test/configure ) make -C _build-test as a result of the pattern rule first checking for axis.bmp, then for ../test/axis.bmp, then ../test/../test/axis.bmp, and so on until the maximum path length was reached. Note that this requires GNU make. The FreeBSD ports file for SDL seems to use GNU make (gmake) already, so presumably SDL's build system is already relying on GNU make extensions. Signed-off-by: Simon McVittie <smcv@debian.org> | ||
| bc2173ba | 2021-04-06 21:49:23 | Add testgeometry to draw a non uniform triangle --use-texture: an option to load icon.bmp as a texture handle mouse motion: rotate the triangle | ||
| 0dd7024d | 2021-03-12 21:58:20 | Modifies WaitEvent and WaitEventTimeout to actually wait instead of polling When possible use native os functions to make a blocking call waiting for an incoming event. Previous behavior was to continuously poll the event queue with a small delay between each poll. The blocking call uses a new optional video driver event, WaitEventTimeout, if available. It is called only if an window already shown is available. If present the window is designated using the variable wakeup_window to receive a wakeup event if needed. The WaitEventTimeout function accept a timeout parameter. If positive the call will wait for an event or return if the timeout expired without any event. If the timeout is zero it will implement a polling behavior. If the timeout is negative the function will block indefinetely waiting for an event. To let the main thread sees events sent form a different thread a "wake-up" signal is sent to the main thread if the main thread is in a blocking state. The wake-up event is sent to the designated wakeup_window if present. The wake-up event is sent only if the PushEvent call is coming from a different thread. Before sending the wake-up event the ID of the thread making the blocking call is saved using the variable blocking_thread_id and it is compared to the current thread's id to decide if the wake-up event should be sent. Two new optional video device methods are introduced: WaitEventTimeout SendWakeupEvent in addition the mutex wakeup_lock which is defined and initialized but only for the drivers supporting the methods above. If the methods are not present the system behaves as previously performing a periodic polling of the events queue. The blocking call is disabled if a joystick or sensor is detected and falls back to previous behavior. | ||
| 0e7d435f | 2021-01-19 10:40:42 | Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 | ||
| 67e9132d | 2020-12-20 12:22:28 | Fixed circular dependency problem when building in the test directory | ||
| 65847539 | 2020-11-11 19:15:43 | test: Add a unit test for input device classification heuristics This uses pre-recorded evdev capabilities, so that we can check for regressions without the devices having to be physically present. Signed-off-by: Simon McVittie <smcv@collabora.com> | ||
| 77c9d73b | 2020-10-05 11:30:33 | Removed SDL_AndroidOpenURL, added SDL_OpenURL. Still needs to be wired into Xcode and Visual Studio projects. | ||
| fa23e3d0 | 2020-05-04 02:27:29 | locale: Implemented SDL_GetPreferredLocales(). This was something I proposed a long time ago, Sylvain Becker did additional work on it, then back to me. Fixes Bugzilla #2131. | ||
| 18d83093 | 2019-05-18 23:47:57 | test: configure/make shouldn't build GL/GLES1/GLES2 programs if unsupported. | ||
| aae29c9e | 2018-09-02 00:35:11 | test: Makefile should copy .dat files for testoverlay2. | ||
| 7c3040e0 | 2018-08-21 12:11:34 | First pass on the new SDL sensor API | ||
| 4764f7a4 | 2017-11-17 10:54:46 | Fixed building YUV test programs (thanks Ozkan!) | ||
| a6a4e27a | 2017-11-12 22:51:12 | Updated SDL's YUV support, many thanks to Adrien Descamps New functions get and set the YUV colorspace conversion mode: SDL_SetYUVConversionMode() SDL_GetYUVConversionMode() SDL_GetYUVConversionModeForResolution() SDL_ConvertPixels() converts between all supported RGB and YUV formats, with SSE acceleration for converting from planar YUV formats (YV12, NV12, etc) to common RGB/RGBA formats. Added a new test program, testyuv, to verify correctness and speed of YUV conversion functionality. | ||
| 25e3a1ec | 2017-08-27 22:15:57 | vulkan: Initial Vulkan support! This work was done by Jacob Lifshay and Mark Callow; I'm just merging it into revision control. | ||
| 5dc35013 | 2017-05-29 18:24:06 | test: Makefile.in should copy bitmap and wave files to build directory. I've lost count of the times I've forgotten to do this manually and wondered why loopwave can't open sample.wav. :) | ||
| 60ba8552 | 2017-03-16 16:45:12 | Backed out changeset e3fcdad257fc - testaudiocapture.c already does what we want | ||
| 570e286f | 2017-03-15 11:39:54 | Added an audio recording test program | ||
| ee099750 | 2016-08-01 00:18:56 | audio: Initial bits to enable audio capture support. | ||
| 578edca4 | 2016-07-13 09:41:43 | Tests: Would be wise to compile this | ||
| deb2acbc | 2016-03-10 01:50:43 | A simple test program for SDL_qsort(). | ||
| c3114975 | 2016-01-04 23:52:40 | Added SDL_GetDisplayUsableBounds(). | ||
| b7ecc670 | 2015-07-14 21:28:26 | Added test/testdisplayinfo.c | ||
| 0e45984f | 2015-06-21 17:33:46 | Fixed crash if initialization of EGL failed but was tried again later. The internal function SDL_EGL_LoadLibrary() did not delete and remove a mostly uninitialized data structure if loading the library first failed. A later try to use EGL then skipped initialization and assumed it was previously successful because the data structure now already existed. This led to at least one crash in the internal function SDL_EGL_ChooseConfig() because a NULL pointer was dereferenced to make a call to eglBindAPI(). | ||
| b72938c8 | 2015-04-20 12:22:44 | Windows: Always set the system timer resolution to 1ms by default. An existing hint lets apps that don't need the timer resolution changed avoid this, to save battery, etc, but this fixes several problems in timing, audio callbacks not firing fast enough, etc. Fixes Bugzilla #2944. | ||
| fe6c797c | 2015-04-10 23:30:31 | Fixed an iOS view orientation issue when SDL_GL_CreateContext or SDL_CreateRenderer is called. | ||
| 0e02ce08 | 2015-03-16 02:11:39 | Initial work on audio device hotplug support. This fills in the core pieces and fully implements it for Mac OS X. Most other platforms, at the moment, will report a disconnected device if it fails to write audio, but don't notice if the system's device list changed at all. | ||
| b88ca1b4 | 2015-02-10 16:28:56 | the last parameter of XChangeProperty is the number of elements.. and when the element format is 32.. the element is "long" so we have 5 long elements here. Yes this seems confusing as on mac+linux Long is either 32 or 64bits depending on the architecture, but this is how the X11 protocol is defined. Thus 5 is the correct value for the nelts here. Not 5 or 10 depending on the architecture. More info on the confusion https://bugs.freedesktop.org/show_bug.cgi?id=16802 | ||
| b48e54aa | 2015-01-26 22:00:29 | Fixed bug 2802 - [patch] Fix android build compiling in wrong filesystem implementation Jonas Kulla The configure script didn't differentiate between Linux and Android, unconditionally compiling in the unix implementation of SDL_sysfilesystem.c. I'm probably one of the very few people building SDL for android using classic configure + standalone toolchain, so this has gone undetected all along. | ||
| 31832d2a | 2014-12-25 22:47:04 | Removed missing test program from Makefile. | ||
| fe40a172 | 2014-12-18 00:19:52 | Initial merge of Emscripten port! With this commit, you can compile SDL2 with Emscripten ( http://emscripten.org/ ), and make your SDL-based C/C++ program into a web app. This port was due to the efforts of several people, including: Charlie Birks, Sathyanarayanan Gunasekaran, Jukka Jyl?nki, Alon Zakai, Edward Rudd, Bruce Mitchener, and Martin Gerhardy. (Thanks, everyone!) | ||
| 70438be2 | 2014-12-03 10:55:23 | WinRT: fixed bug whereby SDL would override an app's default orientation WinRT apps can set a default, preferred orientation via a .appxmanifest file. SDL was overriding this on app startup, and making the app use all possible orientations (landscape and portrait). Thanks to Eric Wing for the heads up on this! | ||
| 9c398852 | 2014-11-22 22:20:40 | Corrected header file documentation comment. | ||
| 24c86b55 | 2014-09-11 19:24:42 | [X11] Reconcile logical keyboard state with physical state on FocusIn since the window system doesn't do it for us like other platforms. This prevents sticky keys and missed keys when going in and out of focus, for example Alt would appear to stick if switching away from an SDL app with Alt-Tab and had to be pressed again. CR: Sam | ||
| f30e120a | 2014-07-22 21:41:49 | Added audio device buffer queueing API. | ||
| c5812c55 | 2014-07-05 16:11:23 | 2620 solaris port missing atomics if not using gcc | ||
| 98c03f39 | 2014-05-28 01:22:47 | Changed drag area API to a hit-testing API. There were several good arguments for this: it's how Windows works with WM_NCHITTEST, SDL doesn't need to manage a list of rects, it allows more control over the regions (how do you use rects to cleanly surround a circular button?), the callback can be more optimized than a iterating a list of rects, and you don't have to send an updated list of rects whenever the window resizes or layout changes. | ||
| 3cbc83ef | 2014-05-27 01:27:42 | First shot at SDL_SetWindowDragAreas(). Only Cocoa implemented right now. | ||
| 3dcb451f | 2014-04-09 21:29:19 | Added a README file regarding WinRT support To note, this file is currently formatted with CRLF line endings, rather than LF, to allow the file to be viewed with Notepad. | ||
| f018ca46 | 2014-03-19 21:39:55 | Add input validation to SDL_getenv/SDL_setenv; update Stdlib testsuite; add Hints testsuite | ||
| e0e6b2a4 | 2014-02-03 22:52:18 | add simple test showing off hotplugging of joysticks w/ haptic. | ||
| ec1cb49e | 2013-12-14 20:18:43 | Wayland support Based on the original port to Wayland by: Joel Teichroeb, Benjamin Franzke, Scott Moreau, et al. Additional changes in this commit, done by me: * Wayland uses the common EGL framework * EGL can now create a desktop OpenGL context * testgl2 loads GL functions dynamically, no need to link to libGL anymore * Assorted fixes to the Wayland backend Tested on the Weston Compositor (v1.0.5) that ships with Ubuntu 13.10, running Weston under X. Tests ran: testrendercopyex (all backends), testgl2, testgles2,testintersections | ||
| 95ec90aa | 2013-12-02 19:35:04 | Adds controllermap utility to test suite. | ||
| f848adff | 2013-11-29 10:06:08 | Improve Android pause/resume behavior. | ||
| 47139fb3 | 2013-11-19 10:56:38 | Adds testgles2 Source code copied from: https://github.com/fantasydr/sdl-2.0-gles (thanks!) Minor fixes, configure script changes done by me. | ||
| 44959a21 | 2013-11-15 22:05:26 | Added viewport test, contributed by Andreas Schiffler and improved by me and Ryan Gordon. If it works correctly you should see a square moving from the upper left to the lower right, with a little yellow box at the top of the moving square. You can pass --target as a command line option to have it use a render target instead of rendering directly to the screen. The output should be identical in this case. | ||
| 7bc98157 | 2013-10-12 11:21:40 | added simple Drag & drop test | ||
| eaa4300f | 2013-10-09 11:30:01 | Fixes testgles and testgl | ||
| 2dd7091e | 2013-08-20 19:57:11 | Added SDL_GetBasePath() and SDL_GetPrefPath() in new filesystem module. | ||
| dad42067 | 2013-08-12 11:13:50 | Fixes #2022, do not resume on Android when surfaceChanged If the app is in landscape mode and the user presses the power button, a pause is followed immediately by a surfaceChanged event because the lock screen is shown in portrait mode. This triggers a "false" resume. So, we just pause and resume following the onWindowFocusChanged events. Also, wait for SDL_APP_WILLENTERBACKGROUND and SDL_APP_DIDENTERBACKGROUND before blocking the event pump. | ||
| 1ad936eb | 2013-08-11 19:56:43 | Fixed bug 2027 - Full-screen appears to be broken - hang in SDL_DestroyWindow() Rainer Deyke I'm running Linux Mint 15 with the Cinnamon window manager. SDL_DestroyWindow consistently locks up for me when the window if fullscreen. |