kc3-lang/SDL

Branch :


Log

Author Commit Date CI Message
a5ebd4d7 2018-10-29 10:14:59 wayland: ask KDE protocol extension to use server-side decorations if possible.
8340b0f0 2018-10-23 01:34:03 render: Add floating point versions of various draw APIs.
b262b0eb 2018-10-22 20:50:32 Small stack allocations fall back to malloc if they're unexpectedly large.
cad0a2f7 2018-10-18 12:05:05 cocoa: Fix OpenGL rendering on macOS 10.14 ("Mojave"). Fixes Bugzilla #4272. (transplanted from 54729119b348e8a4a916192d1d6cb8d115656255)
072e17bf 2018-10-18 11:59:48 cocoa: GL_GetDrawableSize only uses -[NSView convertRectToBacking] for highDPI. On Mojave, this will report large numbers for retina displays in fullscreen mode, which isn't how it works on previous versions. (transplanted from c6c1731780e2bef94f944a4795e2dfbba46d9500)
eedf2c96 2018-10-06 17:08:04 opengles2: Fixed several incorrect things.
6ecd0b2c 2018-10-04 21:10:42 opengles2: removed useless memcpy.
ef3d970a 2018-10-04 20:22:28 opengles2: Fixed incorrect cliprect state.
208c4b03 2018-10-04 20:21:58 metal: CopyEx transform matrix must be aligned for constant buffer access.
638d624f 2018-10-04 20:21:23 metal: Don't try to create a zero-byte vertex buffer. (Which will cause a crash in Metal, or an assert in the validation layer.)
1ecf4dfc 2018-10-04 16:34:44 render: Added SDL_RenderFlush().
09140bd8 2018-10-04 16:11:43 render: Move PSP backend to new interface. I have no idea if this works (or if it ever worked, having now examined this code), as I have no way to compile or test this. If it's broken, send patches. :)
9fedff99 2018-10-03 23:37:29 render: moved software renderer to new interface.
bd08a4e6 2018-10-03 19:05:20 render: D3D11 now cycles through 8 vertex buffers. This means it doesn't have to block while the current frame finishes using the vertex buffer; it just moves on to the next, probably-not-in-use buffer.
a9094a21 2018-10-03 18:23:53 render: D3D11 renderer patched to compile.
6e6f7382 2018-10-03 00:52:37 render: first (untested!) shot at converting D3D11 renderer to new interfaces. Probably doesn't even compile yet.
0c2e10dc 2018-10-01 22:53:45 render: Make the GL backends cache and defer more state changes.
fcb46813 2018-10-01 13:41:15 render: D3D9 doesn't need to check for stream offset support anymore. We don't use offsets at all now. Too slow.
709f5ee4 2018-10-01 11:32:08 render: Set the D3D9 stream source once and choose offsets during draw calls. This is _much_ faster than setting the offsets with SetStreamSource!
9870746b 2018-10-01 03:02:54 render: Patched to compile.
5e644cfd 2018-10-01 01:23:02 render: first shot at moving Direct3D 9 backend to new interface. Untested!
fdc52a65 2018-09-29 04:00:38 render: patched to compile on C89 compilers, other untested code fixes.
daad53af 2018-09-28 19:48:14 opengles1: set some non-zero drawstate defaults.
c20a858d 2018-09-28 19:47:44 render: moved opengles2 over to new interface.
22475bf3 2018-09-26 20:10:32 cocoa: Force an OpenGL context update when the window becomes key. Fixes missing rendering on macOS 10.14 ("Mojave"). Fixes Bugzilla #4272. (transplanted from aee4797c84ef90464e270b1f6095a6dd7ce280c1)
0d588cc4 2018-09-25 21:35:09 render: Do state cache improvements for GLES1, too.
d04e5524 2018-09-25 19:20:31 render: OpenGL renderer now caches some state, to improve non-batching mode. (other minor bug fixes in here, too)
06461bba 2018-09-25 17:04:47 render: Move non-batching flushes to different place. This lets us batch up a few commands that are all related to the same API call.
43f15e05 2018-09-25 16:17:10 render: opengles renderer actually works now. :)
7ed7cb5e 2018-09-25 10:45:37 Created SDL-ryan-batching-renderer branch for the WIP renderer rewrite.
b2db99cb 2018-09-25 10:41:25 render: First shot at converting opengles renderer to new interfaces.
c01da217 2018-09-24 12:30:47 render: get rid of the predeclared functions in the GL and Metal renderers. (others to come as I continue to update render backends!)
051d1cfc 2018-09-24 02:08:34 render: Make opengl backend take advantage of new high-level features.
8ac5c00a 2018-09-24 02:07:35 render: Add command queue debug logging.
2241b33f 2018-09-23 23:22:56 render: Update Metal and GL backends to use new high-level features, etc. Now nothing is uploaded as dynamic data with Metal's setVertexBytes, etc; it's all in the one big vertex buffer, now.
cc56de44 2018-09-23 23:20:40 render: A bunch of high-level improvements. - high-level filters out duplicate render commands from the queue so backends don't have to. - Setting draw color is now a render command, so backends can put color information into the vertex buffer to upload with everything else instead of setting it with slower dynamic data later. - backends can request that they always batch, even for legacy programs, since the lowlevel API can deal with it (Metal, and eventually Vulkan and such...) - high-level makes sure the queue has at least one setdrawcolor and setviewport command before any draw calls, so the backends don't ever have to manage cases where this hasn't been explicitly set yet. - backends allocating vertex buffer space can specify alignment, and the high-level will keep track of gaps in the buffer between the last used positions and the aligned data that can be used for later allocations (Metal and such need to specify some constant data on 256 byte boundaries, but we don't want to waste all that space we had to skip to meet alignment requirements).
8955fb9b 2018-09-20 16:40:04 render: First shot at moving metal backend over to new batching system.
55cb9966 2018-09-20 16:36:54 render: first shot at reworking opengl backend for new batching system.
5fb67f9f 2018-09-20 15:46:02 render: Move to a batching system for rendering (work in progress).
e0cc19f2 2018-09-20 15:41:57 testsprite2: report average FPS in blocks of five seconds. This makes the reporting more accurate, vs startup inefficiencies and other scheduling burps.
a2f7af9a 2018-09-09 15:09:38 gles2: Make render command queue dynamic. It now uses a growable linked list that keeps a pool of allocated items for reuse, and reallocs the vertex array as necessary. Testsprite2 can scale to 20,000 (or more!) draws now without drama.
0d327529 2018-09-08 18:26:11 gles2: Major renderer optimization. Work in progress! This moves all the rendering to a command list that is flushed to the GL as necessary, making most common activities upload a single vertex buffer per frame and dramatically reducing state changes. In pathological cases, like Emscripten running on iOS's Safari, performance can go from a dozen draw calls killing your performance to 1000 draw calls running smoothly. This is work in progress, and not ready to ship. Among other things, it has a hardcoded array that isn't checked for overflow. But the basic idea is sound!
264b81b4 2018-09-06 00:56:13 metal: Make sure layer drawableSize is adjusted on resize. Fixes Bugzilla #4250.
0cf1ae9d 2018-09-05 21:24:13 Fixed a comment typo.
a0b3dcc2 2018-09-05 15:54:46 Fixed bug 4002 - Android, nativeRunMain() fails on some phone with arm64-v8a Sylvain The issue is totally reproducible on P8 Lite. "The dlopen() call doesn't include the app's native library directory. The behavior of dlopen() by Android is not guaranteed". Workaround in getMainSharedObject() Just replace return library; with return getContext().getApplicationInfo().nativeLibraryDir + "/" + library;
80021c21 2018-09-05 15:28:06 Speculatively disable rumble on the Razer Panthera Evo, which doesn't have rumble motors and probably hangs in the same way the Panthera does.
e987bedf 2018-09-05 13:04:50 Updated Xcode library version to match libtool output with Ozkan's change
96259f1f 2018-09-05 12:16:01 Don't overwrite the default binding when changing the binding for a controller that was using the default.
963e74d6 2018-09-05 11:24:23 Added binding for Mad Catz FightStick TE S+ (PS3) on Mac OS X
c152e380 2018-09-05 11:18:50 Added support for the Razer Panthera Fightstick Fixed bindings for the Mad Catz FightStick TE S+
9753b9cc 2018-09-02 23:57:06 CMakeLists.txt: fix typo SDL_SENSORS_DISABLED -> SDL_SENSOR_DISABLED
aae29c9e 2018-09-02 00:35:11 test: Makefile should copy .dat files for testoverlay2.
3634e563 2018-09-01 20:47:12 metal: SDL_UpdateYUVTexture shouldn't swap planes based on format.
34237b80 2018-08-31 18:10:21 Better fix to make sure we're only returning controllers from the HIDAPI joystick API
4ffcd88c 2018-08-31 17:47:34 Removed VID/PID 0x1532/0x0037, which was listed in the Linux kernel as a Razer Sabertooth, because at least one variant of the Razer DeathAdder mouse shows up with this VID/PID.
faf8f8b8 2018-08-30 12:50:10 fix permissions
5ef8eb49 2018-08-29 20:55:02 Don't show the Razer Raiju sound interface as a game controller
90a5607d 2018-08-29 20:23:42 Fixed compiler warning and use higher precision in angle calculation
207428b4 2018-08-29 20:23:39 Don't rumble Bluetooth PS4 controllers by default, as that switches the controller into extended input report mode, which breaks games that use DirectInput.
16ccff3c 2018-08-29 20:23:36 Fixed whitespace
fda14741 2018-08-29 18:56:54 Fixed Xbox One S Bluetooth support on Mac OS X
b6aaefc7 2018-08-29 11:04:02 SDL_evdev.c: undefine _THIS before redefining it. src/core/linux/SDL_evdev.c:104:1: warning: "_THIS" redefined In file included from src/core/linux/../../events/SDL_events_c.h:26, from src/core/linux/SDL_evdev.c:45: src/core/linux/../../events/../video/SDL_sysvideo.h:146:1: warning: this is the location of the previous definition
92396f7d 2018-08-28 16:19:31 Fixed Windows build
404ba5ee 2018-08-28 13:37:11 Fixed bug 4229 - Add support for ABGR format in DirectFB renderer Alexandre DirectFB supports 32-bit ABGR pixel format via DSPF_ABGR, but SDL doesn't map SDL_PIXELFORMAT_ABGR8888 to DSPF_ABGR. A patch is attached and should add support for ABGR pixel format devices.
87bc1fb5 2018-08-28 12:57:51 GLES2: Get sin/cos out of vertex shader The only place angle is activated and causes effect is RenderCopyEx. All other methods which use vertex shader, leave angle disabled and cause useless sin/cos calculation in shader. To get around shader's interface is changed to a vector that contains results of sin and cos. To behave properly when disabled, cos value is set with offset -1.0 making 0.0 default when deactivated. As nice side effect it simplifies GLES2_UpdateVertexBuffer: All attributes are vectors now. Additional background: * On RaspberryPi it gives a performace win for operations. Tested with [1] numbers go down for 5-10% (not easy to estimate due to huge variation). * SDL_RenderCopyEx was tested with [2] * It works around left rotated display caused by low accuracy sin implemetation in RaspberryPi/VC4 [3] [1] https://github.com/schnitzeltony/sdl2box [2] https://github.com/schnitzeltony/sdl2rendercopyex [3] https://github.com/anholt/mesa/issues/110 Signed-off-by: Andreas M?ller <schnitzeltony@gmail.com>
044b00dc 2018-08-27 11:51:05 Fixed the DirectFB renderer not being enabled in autoconf builds
a1ca8441 2018-08-26 20:37:23 Update the cursor clipping each frame, in case it was stolen by another application.
15b3794f 2018-08-26 10:34:23 Only reset the clip rect if it's currently the rect we previously clipped. This prevents us from clearing the clip rect globally when another application has set it. There's also an experimental change to regularly update the clip rect for a window defensively, in case someone else has reset it. It works well, but I don't know if it's cheap enough to call as frequently as it would be called now, and might have other undesirable side effects. Also fixed whitespace and SDL coding style
09ab752a 2018-08-24 10:41:57 Implement SDL_HapticStopEffect on Android (thanks Rachel!)
a794126d 2018-08-24 09:49:48 vulkan: SDL_Vulkan_GetInstanceExtensions should accept a NULL window. Fixes Bugzilla #4235.
a003fa0a 2018-08-23 14:05:25 Implemented SDL_GetDisplayOrientation() on Android (thanks Rachel!)
df5d565f 2018-08-23 14:32:30 cmake: add sensor subsystem to the build.
8adadf8f 2018-08-23 10:51:54 Added documentation for additional Android sensors
de5367a6 2018-08-23 02:48:47 Added display event files to the Visual Studio projects
5901fe46 2018-08-23 02:24:31 Added display event files to the Mac OS X project
50d50025 2018-08-23 02:21:17 Fixed build
088070e5 2018-08-22 23:47:29 Moved display orientation handling on iOS out to a separate function for Qt apps
f225af0c 2018-08-22 21:48:28 Added SDL_GetDisplayOrientation() to get the display orientation, and added a new event SDL_DISPLAYEVENT to notify the application when the orientation changes. Documented the values returned by the accelerometer and gyroscope sensors
f1bc1c12 2018-08-22 17:44:28 Fixed crash trying to open HIDAPI controller as a haptics device on Windows
38ae4988 2018-08-21 20:46:25 Updated required Android SDK to API 26, to match Google's new App Store requirements
7f4860e2 2018-08-21 20:38:22 Doh.. __IPHONEOS__ is defined on tvOS
74e99f74 2018-08-21 20:34:09 Don't use CoreMotion on tvOS
b8ae2c18 2018-08-21 20:20:54 Fixed UWP build
6f758ad2 2018-08-21 20:03:54 Moved SDL_IsTablet() to a cross-platform API function
e9f6805f 2018-08-21 19:42:19 Removed dependency on C++ runtime on iOS
c6647bf9 2018-08-21 17:24:12 Added the iOS sensor implementation
bdbc06b0 2018-08-21 16:47:44 Fixed bug 4228 - Clean-up Xcode projects C.W. Betts This cleans up the Xcode project by setting the Xcode groups to the corresponding directories. This also removes the Resources folder in OS X's Products group and adds the CoreBluetooth framework to the iOS tests (this is needed due to the addition of hidapi.
c5bcefa7 2018-08-21 13:44:11 Fixed duplicate definition of SDL_JoystickID
7749ee2a 2018-08-21 13:42:44 Added the dummy sensor driver to the Visual Studio projects
3e5dbc69 2018-08-21 13:29:21 Added a dummy sensor driver
7c3040e0 2018-08-21 12:11:34 First pass on the new SDL sensor API
c2791fc6 2018-08-21 11:59:13 Don't crash if the app doesn't have Bluetooth permissions
2a4999b4 2018-08-21 11:44:08 By default just build for 32-bit ARM and x86
109544ca 2018-08-21 11:23:47 Add SDL_IsTablet() to Android and iOS SDL.
b09b25f6 2018-08-21 11:07:56 Don't crash if the app doesn't have Bluetooth permissions
ad1e3c2a 2018-08-21 10:37:26 Fixed Android build error
0d22559e 2018-08-21 10:25:30 Fixed Android build error
5dfa4043 2018-08-20 21:19:17 Fixed warnings building on Mac OS X 64-bit
6b3f11e2 2018-08-20 21:18:56 Fixed code style
aeea6b9b 2018-08-18 12:30:04 Emscripten: Fixed SDL_SYSTEM_CURSOR_SIZEALL