src/video


Log

Author Commit Date CI Message
Philipp Wiesemann e7a659eb 2015-03-25T22:48:57 Removed not needed call to SDL_free().
Ryan C. Gordon 1270247c 2015-03-25T10:59:10 Add a hint watch callback for SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH.
Ryan C. Gordon 83a44680 2015-03-25T10:48:59 Removed unnecessary SDL_log.h include.
Joseba Garc?a Etxebarria ca7b18e4 2015-03-24T21:02:28 * More Android patch work
Joseba Garc?a Etxebarria 387fa5dc 2015-03-24T20:45:29 * Improve mouse support in Android. These changes require Android API v12 to compile
Ryan C. Gordon c76130c9 2015-03-23T19:54:33 X11: Reenabled setlocale() and fork() for message boxes. Fixes Bugzilla #1658.
Ryan C. Gordon 331a434f 2015-03-23T19:47:08 Windows: Report window HDC in SDL_SysWMinfo. Fixes Bugzilla #2668.
Ryan C. Gordon b42c2597 2015-03-22T01:25:12 Cocoa: Handle more cases of lost focus when Key window closes (thanks, Alex!). Sort of fixes Bugzilla #1825 a little more. It's an ongoing effort. :)
Ryan C. Gordon eb49f8ca 2015-03-21T00:09:22 Patched to compile on OpenGL ES-based platforms.
Ryan C. Gordon 34415c45 2015-03-20T12:23:53 Windows: support for OpenGL extension WGL_ARB_context_flush_control.
David Ludwig 522fd829 2015-03-17T19:45:47 WinRT: made OpenGL window-init work with latest round of ANGLE/WinRT updates Various constants in ANGLE/WinRT, both in MSOpenTech's ms-master branch, and in Google's branch, were changed again. This change makes SDL/WinRT work with them. To note, the ms-master branch (of ANGLE) was updated via this merge: https://github.com/MSOpenTech/angle/commit/bbd2eb0a9c453a941f2c7abacf616d5a66b6be92#diff-d1377fbe747de154e1bfcf7221d3de67
David Ludwig b12ea759 2015-03-17T10:25:21 WinRT: another ANGLE/OpenGL-initialization, error messaging tweak
David Ludwig 1083ae22 2015-03-17T10:22:36 WinRT: ANGLE/OpenGLES-initialization, error message improvements
Philipp Wiesemann 060d243f 2015-03-06T21:34:10 Windows: Fixed ignoring return value of internal function. If the function WIN_ConvertUTF32toUTF8() failed (should currently not be possible) a not terminated string would have been sent as text input event. This also fixed converting characters more often than needed on key repetition.
Philipp Wiesemann 8f4c2a8f 2015-03-06T21:29:25 Emscripten: Fixed ignoring return value of internal function. If the function Emscripten_ConvertUTF32toUTF8() failed (should currently not be possible) a not terminated string would have been sent as text input event.
Philipp Wiesemann 1686af72 2015-03-06T21:26:37 Emscripten: Partially fixed not removing key event callbacks if hint was used. The key event callbacks were always removed from the same target although it is possible to set them to different targets using the hint. This is only a partial fix because it assumes that the hint is not changed to a different value later.
Marc Di Luzio f5d96416 2015-03-06T16:03:40 Allow setting of GL_CONTEXT_RELEASE_BEHAVIOR when creating the GL context when GLX_ARB_context_flush_control is available. This extension allows the user to specify whether a full flush is performed when making a context not current. The only way to set this currently is at context creation, so this patch provides that functionality. Defualt behaviour is set at FLUSH, as per the spec. This patch does not contain the changes to WGL, appleGL or other platforms as I do not have access to GL 4.5 hardware on those platforms. Full details on the use of KHR_context_flush_control can be found here: https://www.opengl.org/registry/specs/KHR/context_flush_control.txt
David Ludwig d6c42966 2015-02-22T20:34:08 Fixed bug 2868 - SDL_FillRect can crash if surface's clip-rect is out-of-bounds Thanks to John Skaller for the research into this, and for the fix!
Ryan C. Gordon 1b2cb70c 2015-02-19T19:55:30 Mac OS X: replace some deprecated APIs with modern equivalents (thanks, Alex!). Fixes Bugzilla #2858.
Edward Rudd 635a369c 2015-02-19T19:40:58 SDL_SetWindowPosition respects display num for SDL_WINDOWPOS_CENTERED_DISPLAY. This allows for this kind of code in an application: int monitorID = 1; // the second monitor! SDL_SetWindowPosition(sdlWin, SDL_WINDOWPOS_CENTERED_DISPLAY(monitorID), SDL_WINDOWPOS_CENTERED_DISPLAY(monitorID)); Fixes Bugzilla #2849.
Ryan C. Gordon f75d6c09 2015-02-17T23:00:46 X11: Don't create a window and GL context to look up the glX extension string. It's not necessary.
Ryan C. Gordon f0c061d1 2015-02-17T22:59:56 glX HasExtension(): check for NULL ext string first. It's slightly faster than failing later, after a strchr() call, since this will get called multiple times with a NULL string if the system totally fails elsewhere.
Philipp Wiesemann bd2d0146 2015-02-15T21:44:36 Emscripten: Changed return type of callback implementations from int to EM_BOOL. The prototypes are declared with EM_BOOL (which is currently an int) in html5.h.
David Ludwig 8a700d4d 2015-02-15T12:11:44 WinRT: a minor, nit-picky cleanup of some OpenGL code
David Ludwig 5ad34f7a 2015-02-15T11:53:24 WinRT: improved OpenGL ES compatibility on WinPhone/ARM and Surface RT This change integrates initialization settings for ANGLE/WinRT, as suggested in MSOpenTech's latest ANGLE template-projects (for MSVC). This should fix some OpenGL initialization issues on WinPhone 8.1 on ARM, and on the 1st-generation Surface RT.
Philipp Wiesemann ec2df649 2015-02-15T11:35:07 Fixed crash if using clipboard functions without having initialized video.
David Ludwig df329962 2015-02-15T00:08:27 WinRT: fixed crash when using up-to-date versions of ANGLE/WinRT
Philipp Wiesemann 697c5c57 2015-02-14T00:10:58 Emscripten: Fixed framebuffer error message.
Ryan C. Gordon 7fd15e7e 2015-02-11T01:48:52 X11: Set dialog hint on message boxes (thanks, Melker!). This helps the window manager do the right thing with these windows.
Philipp Wiesemann e3f9bf33 2015-02-08T22:50:16 Fixed two inconsistencies on failed allocation.
Philipp Wiesemann fe586d07 2015-02-08T21:25:37 Fixed three memory leaks on failed allocation.
Philipp Wiesemann 60329e6a 2015-02-03T21:22:25 Added missing guards.
Ryan C. Gordon 56edbb40 2015-02-02T01:21:02 X11: Add events related to maximizing a window (thanks, Andrei and Gergely!). Fixes Bugzilla #1447.
Ryan C. Gordon ece8d2bb 2015-02-02T01:05:41 X11: Fixes for OpenGL 3.0 and later context creation. - Don't create a temporary context first; this was probably due to Windows needing one to get the address of wglCreateContextAttribsARB(), but that's a unique quirk of WGL, and doesn't apply to glX. The glX spec explicitly says you have to get a function pointer that works with any context from glXGetProcAddress(), including when no context exists. - Properly check for the GLX_ARB_create_context instead of just looking for a non-NULL glXCreateContextAttribsARB()...some implementations, like Mesa, never return NULL for function lookups (Mesa returns pointers into a jump table that is filled out when the GL is initialized; since you can look up functions before you have a valid context, it can't definitely say a function isn't valid at that point).
Philipp Wiesemann 86f87bf7 2015-01-31T22:45:54 Added missing guards in implementation for PSP. Thanks to Martin Gerhardy for pointing this out.
Philipp Wiesemann d036ad84 2015-01-31T22:43:05 Added missing include statements in implementation for PSP. SDL_internal.h should be included to support dynamic API and fix warnings.
Philipp Wiesemann f4b7cf6e 2015-01-31T21:02:56 Fixed including SDL_config.h in implementation for Android. SDL_internal.h should be included to support dynamic API.
Philipp Wiesemann 7384f147 2015-01-31T10:33:48 Fixed names in implementation for PSP.
Ryan C. Gordon 203ea981 2015-01-26T17:46:39 X11: Don't delay delivery of focus events unless we just changed vidmodes. Normally there's a 200 millisecond delay on all focus events in case there was a vidmode change, now we note the last vidmode change and only impose this delay if a change happened extremely recently. Thanks to Epic Games for reporting this issue.
Philipp Wiesemann f64e6742 2015-01-26T22:12:38 Fixed memory leak in video quit implementation for Android.
Philipp Wiesemann b48e54aa 2015-01-26T22: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.
Arne Janbu aefcd86d 2015-01-10T13:47:37 Fix build on Linux when wayland is enabled Bug: https://bugzilla.libsdl.org/show_bug.cgi?id=2838