Commit Graph

  • 9959bb23ac Adds gl_profile_mask to test framework, uses it in testgles Gabriel Jacobo 2013-10-10 00:49:57 -0300
  • 1abeec401e Fixes Bug 2134 - [Android] Black screen after resume (sometimes) Gabriel Jacobo 2013-10-10 00:30:03 -0300
  • f3f6e6f62c Fixes testgles and testgl Gabriel Jacobo 2013-10-09 11:30:01 -0300
  • de7c996a50 Adds test framework to Android.mk and a simple utility to build Android projects Gabriel Jacobo 2013-10-09 10:29:01 -0300
  • 9bc46b25ed Fix SDL_SetWindowPosition on fullscreen windows. J?rgen P. Tjern? 2013-10-07 14:16:38 -0700
  • dfbb16995a Only allocate a joystick instance ID once we know it's a joystick. This fixes compatibility with code that assumes 0 based joystick instance IDs. Sam Lantinga 2013-10-06 20:39:23 -0700
  • 7588797989 Removed unused variables (thanks Joseph!) Sam Lantinga 2013-10-06 13:50:36 -0700
  • 5f6afe6eb0 Check for NULL joystick in SDL_JoystickGetGUID() Sam Lantinga 2013-10-06 13:49:23 -0700
  • d8bdf0cf4b Fixed bug where a Logitech wireless keyboard with built-in mouse touchpad didn't get recongized as both devices. Sam Lantinga 2013-10-05 21:15:55 -0700
  • 8f92b6d857 Fixed bug 2132 - Tests may use invalid SDL_window pointers when windows are closed Sam Lantinga 2013-10-05 19:09:03 -0700
  • f7c69a02c8 Added detection of touch devices before first touch events happen on Android. Philipp Wiesemann 2013-10-05 17:08:19 +0200
  • 49f4ff7ac9 Do a 32-bit compare on RGBA values. Thsi should be inlined in optimized builds. Sam Lantinga 2013-10-05 12:29:05 -0700
  • 82d7fedc89 Avoid redundant state changes in the GLES2 renderer. Ryan C. Gordon 2013-10-05 00:29:57 -0400
  • ef2530347b Removed "u_colorTable" uniform from the GLES2 renderer. It's not used anywhere. Ryan C. Gordon 2013-10-04 11:25:14 -0400
  • bc47ba2451 Fix EGL/OpenGL ES paths Gabriel Jacobo 2013-10-04 08:23:37 -0300
  • 1661dd506b Report an error if creating a render target fails Sam Lantinga 2013-10-03 21:41:09 -0700
  • 5d57f287fc Added optional error checking for OpenGL ES 2.0 in the same style as the OpenGL renderer. You can enable it like this: SDL_GL_SetAttribute(SDL_GL_CONTEXT_FLAGS, SDL_GL_CONTEXT_DEBUG_FLAG); Sam Lantinga 2013-10-03 20:48:52 -0700
  • 40a4291a27 Fixed a potential double-free bug if glGenTextures() failed. Sam Lantinga 2013-10-03 20:42:43 -0700
  • 1884488cdb SDL_TEXTINPUT support for EVDEV Gabriel Jacobo 2013-10-03 10:28:10 -0300
  • 0a811ea4bc Fixed const/non-const warning Sam Lantinga 2013-10-03 03:31:05 -0700
  • 6004b764d8 WinRT: added missing files David Ludwig 2013-09-22 23:17:25 -0400
  • 58dd086487 WinRT: unified the two, public, app-init functions David Ludwig 2013-09-22 12:26:53 -0400
  • aeaa05054b WinRT: ugh, at least one file in an app's project seems to require C++/CX compilation. Assuming this is true, that file might as well be the one that contains WinMain. David Ludwig 2013-09-16 22:43:12 -0400
  • efb3cdca19 WinRT: renamed SDL_winrt_main.cpp to indicate that it should only be used in non-XAML apps David Ludwig 2013-09-16 22:27:30 -0400
  • fff83d8e52 WinRT: reduced the size of SDL_winrt_main.cpp by a little bit David Ludwig 2013-09-16 21:09:58 -0400
  • 0022dbf261 WinRT: made SDL_GetWindowWMInfo return window data in a slightly easier-to-use format David Ludwig 2013-09-16 11:02:18 -0400
  • fa45a9c953 WinRT: fixed a line-rendering bug in the D3D 11.1 backend David Ludwig 2013-09-16 00:31:01 -0400
  • c72a4fa311 WinRT: made SDL_winrt_main.cpp not have to be compiled as C++/CX (via the /ZW compiler flag) David Ludwig 2013-09-15 23:53:51 -0400
  • 79e82936cd WinRT: build fix for the SDL-WinRT-only .sln David Ludwig 2013-09-14 23:44:50 -0400
  • 8a16449e9b WinRT: project-naming cleanup. Projects that link to SDL will need updating. To update: 1. remove references to SDL's project files from the Visual Studio Solution. To note, these project files have been renamed, and will show up in Visual Studio with the text, "load failed". 2. add the SDL project files back into the Visual Studio Solution 3. for each project that should link to SDL, add a reference to it. This can be done by right-clicking on it in Visual Studio, selecting "References...", clicking "Add New Reference", checking the box next to the SDL project, then closing each dialog by clicking OK. David Ludwig 2013-09-14 23:34:27 -0400
  • 34722465d1 WinRT: code cleanup: attempted to make it more clear what code is specific to what app type (plain Direct3D or XAML) David Ludwig 2013-09-06 21:13:15 -0400
  • de8d9dbb93 WinRT: minor code cleanup regarding events David Ludwig 2013-09-06 21:00:52 -0400
  • 9de76eb526 WinRT: removed chunks of C++ hack code from SDL_xaudio2.c David Ludwig 2013-09-06 19:23:42 -0400
  • fff780818d WinRT: made SDL_xaudio2.c compile as C code when building for WinRT David Ludwig 2013-09-06 19:07:15 -0400
  • ac6e5a69ce WinRT: minor code cleanup in SDL_xaudio2.c David Ludwig 2013-09-04 20:20:36 -0400
  • f3bd9175a9 WinRT: more renaming of "windowsrt" to "winrt" David Ludwig 2013-09-04 19:55:45 -0400
  • 8fc04cc76e WinRT: renamed a mouse-related header file for naming-consistency's sake David Ludwig 2013-09-02 15:29:46 -0400
  • 7e06b806ac WinRT: misc code cleanups regarding touch and mouse events, and also SDL-internal globals David Ludwig 2013-09-02 15:23:33 -0400
  • a94e41854a WinRT: added touch input event support for Windows 8/RT devices David Ludwig 2013-09-01 10:20:17 -0400
  • dbdc4b84ec WinRT: added touch-event support for Windows Phone devices David Ludwig 2013-08-29 10:32:16 -0400
  • 1d5082d815 WinRT: corrected SDL_MOUSE* coordinates in non-Portrait modes David Ludwig 2013-08-28 16:51:07 -0400
  • 13c87e712b WinRT: made simulated-mouse (via touch) input work on Windows Phone in Portrait mode David Ludwig 2013-08-28 16:14:27 -0400
  • 31235b4b99 WinRT: made rendering work with orientation changes on Windows Phone David Ludwig 2013-08-28 15:27:01 -0400
  • 91b039027f WinRT: removed a comment regarding a dealt-with TODO David Ludwig 2013-08-28 12:45:43 -0400
  • 8e3886a279 WinRT: rendering orientation fixes for Windows Phone, part 1 David Ludwig 2013-08-28 12:38:30 -0400
  • 44755f8a6a WinRT: fixed a potential memory-related crash in SDL_Renderer on Windows Phone David Ludwig 2013-08-28 11:46:02 -0400
  • 88ea6f9d18 WinRT: build fix for Windows Phone David Ludwig 2013-08-28 11:45:22 -0400
  • 2cafee9de1 WinRT: experimental and preliminary support for XAML-based overlays on Windows 8/RT David Ludwig 2013-08-27 21:21:09 -0400
  • 86ea4c4edf WinRT: made all WinRT-related TODO comments use the same prefix, "TODO, WinRT" David Ludwig 2013-08-27 13:03:43 -0400
  • 17ca1d00b5 WinRT: code cleanup wrt. display mode(s) David Ludwig 2013-08-27 12:56:49 -0400
  • f860141aa6 WinRT: renamed "windowsrt" directories to "winrt" David Ludwig 2013-08-27 12:33:36 -0400
  • fa229f3790 WinRT: fixed a crash that occurred on device rotation (oops!) David Ludwig 2013-08-27 12:22:02 -0400
  • 1e78c4a5d1 WinRT: more "Windows RT" to "WinRT" renaming David Ludwig 2013-08-27 12:20:35 -0400
  • 3070086431 WinRT: took out a deprecated TODO-comment David Ludwig 2013-08-27 12:16:42 -0400
  • 6dc2a410eb WinRT: moved the WinRT SDL_VideoDevice out of SDL_WinRTApp This was done to help pave the way for XAML support. David Ludwig 2013-08-27 12:13:45 -0400
  • 253b9aae89 WinRT: moved the pointer to the global SDL_Window to a separate variable This is a cleanup that is being done to help with WIP XAML support. It may be reverted in the future. David Ludwig 2013-08-27 11:51:17 -0400
  • 7be2ad71c9 WinRT: renamed SDL_SYSWM_WINDOWSRT to SDL_SYSWM_WINRT This is part of an overall effort to use the name, "WinRT", rather than "WindowsRT" (or "Windows RT"), as the shorthand name often seems to mean something different than the longhand name. (WinRT is an API, Windows RT is a product name) David Ludwig 2013-08-27 11:44:43 -0400
  • d06276732e WinRT: Windows Phone build fix David Ludwig 2013-08-27 11:40:06 -0400
  • 3e83fd784c WinRT: misc code cleanups David Ludwig 2013-08-27 11:39:44 -0400
  • f8e80edf09 WinRT: removed more hack-code that attempted to help have non-standard window sizes "Non-standard" is defined here as any window size that differs from that provided by WinRT's CoreWindow. David Ludwig 2013-08-27 11:00:52 -0400
  • 80abfc4d60 WinRT: minor function and variable name cleanup David Ludwig 2013-08-27 10:57:55 -0400
  • 065b2cf470 WinRT: made all SDL_Windows get sized to the WinRT-defined window size This change removes some code that attempted to allow non-standard window sizes, the idea of which was to do display scaling, and a hackish one at that. If display scaling is needed, use SDL_Renderer as appropriate. David Ludwig 2013-08-27 10:56:10 -0400
  • 409d9b1ce7 WinRT: removed a deprecated hack regarding window resizing and Direct3D viewports David Ludwig 2013-08-27 09:53:58 -0400
  • d78b26ed69 WinRT: moved most platform-specific keyboard and mouse code to shared locations David Ludwig 2013-08-26 17:17:53 -0400
  • 73dfcdcfe1 WinRT: removed some old debugging code from SDL_mutexP and SDL_mutexV David Ludwig 2013-08-20 22:18:48 -0400
  • dcb1689fb2 WinRT: made a note that WinRT doesn't appear to support modifying a thread's priority David Ludwig 2013-08-20 22:16:09 -0400
  • 6300b3606f WinRT: made SDL_ThreadID() return the native thread ID, rather than a fake one David Ludwig 2013-08-20 22:04:09 -0400
  • 3fce6688b8 WinRT: made testthread log output via SDL_Log - this will allow output to be read via Visual C++'s Output pane David Ludwig 2013-08-20 21:55:13 -0400
  • 90a9278f9d WinRT: made the C++11-based threading backend only try to catch exceptions that it knows it (the threading APIs) might throw, rather than all exceptions David Ludwig 2013-08-20 21:54:34 -0400
  • 19a168b4b3 WinRT: file naming and placement cleanup - moved SDL_WinRTApp.* from src/video/windowsrt/ to src/core/winrt/, and renamed them to SDL_winrtapp.* (to mimick case-sensitivity used elsewhere in SDL) - renamed all "windowsrt" directories (in src) to "winrt", as the shorthand name is used more often (and, IMO, "WinRT" != "Windows RT", not entirely at least) David Ludwig 2013-08-20 21:22:32 -0400
  • eaf26ff66a WinRT: added a stub implementation of UpdateClipRect to the D3D 11.1 renderer David Ludwig 2013-08-13 20:33:15 -0400
  • 45ef345df0 WinRT: fixed a crash in some display orientation hint code David Ludwig 2013-08-13 20:28:48 -0400
  • 3dde6e1e9f WinRT: made sure SDL_main gets used in the latest SDL 2.0.0 based code David Ludwig 2013-08-13 20:28:10 -0400
  • 11dc53221b WinRT: Windows Phone 8 build fixes David Ludwig 2013-08-13 20:11:51 -0400
  • d41fdc94d6 WinRT: build fixes and additional WinRT-related integrations with SDL 2.0.0 David Ludwig 2013-08-13 20:09:52 -0400
  • f7049b93d5 WinRT: merged with SDL 2.0.0 codebase (aka. SDL hg rev d4ce48ff30d1) David Ludwig 2013-08-12 22:29:55 -0400
  • 858c5a0ea2 Added the platform specific messagebox function to the video function list Sam Lantinga 2013-07-14 11:28:44 -0700
  • 99ba5f2386 Fixed bug 2130 - Two members of Windows WindowData not initialized Sam Lantinga 2013-10-03 00:54:58 -0700
  • 3eefc6e16f SDLK_DELETE should probably be SDLK_BACKSPACE on iOS. Ryan C. Gordon 2013-10-02 22:18:04 -0400
  • e3f38e9c18 Get rid of glGetError() calls in GLES2 renderer. Ryan C. Gordon 2013-10-02 22:16:11 -0400
  • 70730e188f Uses SDL_UDEV for Linux joystick hotplugging Gabriel Jacobo 2013-10-01 08:47:06 -0300
  • ab56c04bfe Fixed bug 2121 - GCC throws error on SDL_FORCE_INLINE when compiling with -ansi Sam Lantinga 2013-09-30 22:35:32 -0700
  • 80d193d0a0 Fixed bug 2122 - SDL_CreateTexture allows illegal texture sizes Sam Lantinga 2013-09-30 22:16:14 -0700
  • 620565add2 Fixed bug 2119 - compiler warnings (-pedantic) SDL_video.h:111:42 Sam Lantinga 2013-09-30 21:57:03 -0700
  • 1a0f7719ad Removes unused property use_egl from internal structure gl_config Gabriel Jacobo 2013-09-28 19:23:59 -0300
  • 3f7340ddca Fix: SDL_EVDEV_device_removed does not need UDEV Gabriel Jacobo 2013-09-28 19:17:27 -0300
  • 9b4871e6de Call AddRef() on the device so it doesn't accidentally get released from underneath the caller. Sam Lantinga 2013-09-28 14:07:17 -0700
  • 9b88c3808f Make it clear we're just returning a D3D9 device, allowing for new functions to get other D3D versions Sam Lantinga 2013-09-28 14:07:14 -0700
  • 0cc16bd96b Added a hint to create the D3D device in thread-safe mode: SDL_HINT_RENDER_DIRECT3D_THREADSAFE Sam Lantinga 2013-09-28 14:07:08 -0700
  • fbded9ca44 Added platform specific call: SDL_RenderGetD3DDevice() Sam Lantinga 2013-09-28 14:07:05 -0700
  • 2a9c9c7aef Moved SDL_Direct3D9GetAdapterIndex() to SDL_windowsvideo.c since it doesn't belong in the window code. Sam Lantinga 2013-09-28 14:06:59 -0700
  • 9ddd895825 Implemented SDL_UpdateYUVTexture() for Direct3D Sam Lantinga 2013-09-28 14:06:55 -0700
  • 8e092032bd Added missing SDL_assert.h Sam Lantinga 2013-09-28 14:06:51 -0700
  • 9c25afe369 Added optimized YUV texture upload path with SDL_UpdateYUVTexture() Sam Lantinga 2013-09-28 14:06:47 -0700
  • 75e8ed6265 Rolled back my LoadLibrary change. The first failed call causes a dialog to pop up in Windows apps (but not console apps) and that's really bad. I'll have to deal with this in my app. Sam Lantinga 2013-09-28 14:06:39 -0700
  • 6d6b754bc3 SDL_LoadObject on Windows now calls LoadLibrary a second time in its EX form whenever the first load fails. This second call uses the "altered" search path for DLL dependencies, which includes searching the directory that the DLL itself lives in. Sam Lantinga 2013-09-28 14:06:31 -0700
  • 68d3edce37 Moved D3D_LoadDLL and SDL_Direct3D9GetAdapterIndex to SDL_windowswindow.c at Jorgen's insistence. That file is wrapped in a more appropriate define check so it will work if somebody builds a binary without D3D support. Sam Lantinga 2013-09-28 14:06:20 -0700
  • 358098ad68 Do not use UDEV references in EVDEV if UDEV has not been detected Gabriel Jacobo 2013-09-28 15:48:32 -0300
  • b01c83ea65 Fixed bug 1820 - building SDL as a static library with static runtime doesn't compile/link with visual studio Sam Lantinga 2013-09-28 10:30:51 -0700
  • d05292da17 Raspberry Pi support (also unified UDEV and EVDEV support) Gabriel Jacobo 2013-09-28 13:28:19 -0300