Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-02-28 | Update to wayland API changesHEADmaster | Benjamin Franzke | 5 | -40/+110 | |
2012-02-28 | wayland: Fullscreen support | Benjamin Franzke | 2 | -5/+36 | |
2012-02-28 | wayland: Update to wayland protocol and egl changes | Benjamin Franzke | 5 | -13/+12 | |
2012-02-28 | wayland: Schedule writable iterations | Benjamin Franzke | 5 | -1/+32 | |
Do not iterate writable in update_event_mask directly, or client apis like EGL that need to flush write may be blocked or get an unsolicited flags error. Schedule write at the end of all function invoking wayland calls. | |||||
2012-02-28 | wayland: Remove unecessary debug output | Benjamin Franzke | 4 | -18/+8 | |
2012-02-28 | wayland: Remove a unnecessary glClear | Benjamin Franzke | 1 | -9/+0 | |
2012-02-28 | wayland: Choose visual according to gl_config.alpha_size | Benjamin Franzke | 1 | -1/+4 | |
2012-02-28 | wayland: Respect some common gl_config attrib sizes | Benjamin Franzke | 1 | -4/+11 | |
2012-02-28 | wayland: rename SDL_waylandgl to SDL_waylandopengl | Benjamin Franzke | 3 | -5/+5 | |
2012-02-28 | wayland: Fix mouse button numeration | Benjamin Franzke | 1 | -3/+23 | |
2012-02-28 | wayland Remove not compiling gl renderer | Benjamin Franzke | 2 | -3/+2 | |
2012-02-28 | wayland: Fix tab vs whitespace issues | Benjamin Franzke | 8 | -235/+244 | |
2012-02-28 | wayland: update to wayland-egl API changes | Benjamin Franzke | 6 | -16/+14 | |
2012-02-28 | wayland: Update to libwayland-egl api changes | Benjamin Franzke | 5 | -9/+13 | |
2012-02-28 | wayland: Use helper libwayland-egl | Benjamin Franzke | 6 | -44/+11 | |
2012-02-28 | wayland: use egl-wayland Platform | Benjamin Franzke | 6 | -296/+117 | |
at the time of writing this, following mesa branch is needed: http://cgit.freedesktop.org/~bnf/mesa/log/?h=egl-wayland | |||||
2012-02-28 | wayland: support sendkeyboard{key,text} | Benjamin Franzke | 1 | -9/+45 | |
2012-02-28 | wayland: Improved the configure script | Joel Teichroeb | 1 | -6/+18 | |
2012-02-28 | wayland: Cange some errors to use SDL_SetError and remove some unused variables | Joel Teichroeb | 3 | -7/+4 | |
2012-02-28 | wayland: Cleaned up the code | Joel Teichroeb | 7 | -91/+109 | |
2012-02-28 | wayland: surface.damage: x,y relative to the surface | Benjamin Franzke | 1 | -4/+2 | |
2012-02-28 | wayland: Flip the DRM Image prior attaching to the wl_surface | Benjamin Franzke | 2 | -3/+119 | |
2012-02-28 | wayland: Generate {Frame,Render}Buffer in MakeCurrent only once | Benjamin Franzke | 4 | -14/+32 | |
2012-02-28 | wayland: Add support for a depth buffer | Benjamin Franzke | 3 | -8/+18 | |
2012-02-28 | Wayland_DestroyWindow: only free Window data if its != NULL | Benjamin Franzke | 1 | -2/+2 | |
2012-02-28 | wayland: DestroyWindow: free Renderbuffers and DRM Images | Benjamin Franzke | 1 | -1/+9 | |
2012-02-28 | wayland: implement DestroyWindow | Benjamin Franzke | 3 | -0/+15 | |
2012-02-28 | If the window was not created with the opengl flag, opengl is | Joel Teichroeb | 1 | -0/+5 | |
initialized and the flag is added. | |||||
2012-02-28 | wayland: check whether eglCreateDRMImageMESA was successfull | Benjamin Franzke | 1 | -0/+6 | |
2012-02-28 | Removed the wayland renderer and switched to the built in opengl | Joel Teichroeb | 5 | -380/+31 | |
renderer. Correctly set the display size. | |||||
2012-02-28 | wayland: handle_motion: use sx and sy (relative to the surface) | Benjamin Franzke | 1 | -1/+1 | |
2012-02-28 | wayland: Add origin information to display_handle_geometry | Benjamin Franzke | 1 | -2/+3 | |
2012-02-28 | wayland: return context in CreateContext | Benjamin Franzke | 1 | -1/+1 | |
2012-02-28 | Make the window respect the starting position. | Joel Teichroeb | 3 | -7/+20 | |
Tell sdl when the mouse moves off the window. | |||||
2012-02-28 | wayland: implement PumpEvents nonblocking | Benjamin Franzke | 1 | -3/+24 | |
2012-02-28 | Events now work (somewhat) | joel@teichroeb.net | 4 | -7/+19 | |
2012-02-28 | Added some code for input but it still does not work. | joel@teichroeb.net | 8 | -26/+200 | |
Some cleanups. | |||||
2012-02-28 | wayland: dont use stderr in printf | Benjamin Franzke | 1 | -1/+1 | |
2012-02-28 | Fixed rendering | Benjamin Franzke | 5 | -52/+86 | |
2012-02-28 | added some detection of wayland | joel@teichroeb.net | 4 | -0/+21 | |
2012-02-28 | Started on the wayland platform | joel@teichroeb.net | 10 | -0/+1073 | |
2012-02-04 | Make mouse relative mode save the original co-ordinates to restore them | Wim Looman | 2 | -2/+8 | |
properly. | |||||
2012-02-03 | Change SDL_SetCursor to set the cursor back to the default cursor when the | Wim Looman | 3 | -12/+12 | |
window is unfocused. | |||||
2012-02-03 | Fix null reference exception. | Wim Looman | 1 | -1/+1 | |
Occurred when using relative mouse mode without a focused window. | |||||
2012-02-20 | Fixed bug 1423 - Finger touch events don't report pressure | Sam Lantinga | 1 | -2/+6 | |
Philip Taylor 2012-02-19 08:34:52 PST SDL_touch.c never actually uses the 'pressurein' arguments to SDL_SendFingerDown/SDL_SendTouchMotion, so it doesn't report the real pressure. Also it uses touch->pressureres which is never initialised. Also it fails to initialise some fields of event.tfinger for certain events, so applications might try to use bogus data. The attached patch seems to be enough to produce generally sensible output on Android. | |||||
2012-02-20 | Fixed bug 1426 - SDL_SemWaitTimeout returns -1 and sets error instead of ↵ | Sam Lantinga | 2 | -2/+11 | |
SDL_MUTEX_TIMEDOUT on time out deraj 2012-02-19 19:01:08 PST Fix to treat ETIMEDOUT as a time out instead of an error (and update the test) | |||||
2012-02-20 | Add OpenGL 3.X context creation support | Sam Lantinga | 5 | -22/+144 | |
Matthias Bentrup 2011-10-30 03:58:24 PDT I've updated the context creation patch to include the bugfixes by Martin Schreiber and also included a profile bit to request a ES2 compatible profile. The wgl context creation may use 2 call to wglChoosePixelFormat if no acceleration attribute is selected, this should work around a bug with buggy AMD drivers (see #1254). | |||||
2012-02-20 | Fixed bug 1424 - Handling of alpha channel in Altivec accelerated blit functions | Sam Lantinga | 1 | -0/+8 | |
evilbite 2012-02-19 09:38:21 PST There is only one Altivec accelerated blit function (ConvertAltivec32to32_prefetch() or ConvertAltivec32to32_noprefetch(), depending on the CPU used) that is supposed to handle all alpha combinations. This works as follows for every pixel line: 1. Blit single pixels until an aligned address is reached 2. Accelerated blit as far as possible 3. Blit single remaining pixels Part 2. is set up correctly to handle different combinations of the alpha channels of the participating surfaces. Parts 1. and 3. only do a simple copy of all the pixel's components from souce to destination. But when the source surface has no alpha channel (Amask is 0, e.g. the video surface) the surface's alpha value must be used instead. Otherwise crap (uninitialized data) is being copied to the destiniation's alpha channel. The attached patch is a quick'n'dirty solution to the problem. A more sophisticated solution might require separate functions for different combinations of the alpha channels of the participating surfaces. | |||||
2012-02-20 | Fix for double free when quitting on iOS | Sam Lantinga | 2 | -51/+51 | |
Tim Angus 2012-02-20 09:40:35 PST As alluded to in the email thread "SDL2 error on iOS (doublefree)", I believe the original cause of this bug is confusion over the purpose of SDL_VideoDisplay::current_mode. It looks as though it is a weak reference to another mode, albeit with value semantics. The iOS port treated it as a strong reference however and claimed ownership, which is why things blew up. All the patch really does it to stop treating current_mode as a strong reference. To prevent this happening again it might be an idea to change current_mode to be a pointer type rather than a value. This would certainly make its semantics much more obvious. Failing that, a comment in the struct indicating its weak reference properties might be wise. | |||||
2012-02-15 | Fixed bug 1419 - SDL_libgl2D.c breaks ndk-build | Sam Lantinga | 2 | -0/+9 | |
Philip Taylor 2012-02-15 10:43:47 PST render/nds/SDL_libgl2D.c unconditionally includes NDS-only code. SDL's Android.mk compiles source files matching $(wildcard $(LOCAL_PATH)/src/render/*/*.c) which includes that file, causing build errors when running ndk-build. |