31235b4b99
WinRT: made rendering work with orientation changes on Windows Phone
David Ludwig
2013-08-28 15:27:01 -04:00
91b039027f
WinRT: removed a comment regarding a dealt-with TODO
David Ludwig
2013-08-28 12:45:43 -04:00
8e3886a279
WinRT: rendering orientation fixes for Windows Phone, part 1
David Ludwig
2013-08-28 12:38:30 -04:00
44755f8a6a
WinRT: fixed a potential memory-related crash in SDL_Renderer on Windows Phone
David Ludwig
2013-08-28 11:46:02 -04:00
88ea6f9d18
WinRT: build fix for Windows Phone
David Ludwig
2013-08-28 11:45:22 -04:00
2cafee9de1
WinRT: experimental and preliminary support for XAML-based overlays on Windows 8/RT
David Ludwig
2013-08-27 21:21:09 -04:00
86ea4c4edf
WinRT: made all WinRT-related TODO comments use the same prefix, "TODO, WinRT"
David Ludwig
2013-08-27 13:03:43 -04:00
17ca1d00b5
WinRT: code cleanup wrt. display mode(s)
David Ludwig
2013-08-27 12:56:49 -04:00
f860141aa6
WinRT: renamed "windowsrt" directories to "winrt"
David Ludwig
2013-08-27 12:33:36 -04:00
fa229f3790
WinRT: fixed a crash that occurred on device rotation (oops!)
David Ludwig
2013-08-27 12:22:02 -04:00
1e78c4a5d1
WinRT: more "Windows RT" to "WinRT" renaming
David Ludwig
2013-08-27 12:20:35 -04:00
3070086431
WinRT: took out a deprecated TODO-comment
David Ludwig
2013-08-27 12:16:42 -04:00
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 -04:00
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 -04:00
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 -04:00
d06276732e
WinRT: Windows Phone build fix
David Ludwig
2013-08-27 11:40:06 -04:00
3e83fd784c
WinRT: misc code cleanups
David Ludwig
2013-08-27 11:39:44 -04:00
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 -04:00
80abfc4d60
WinRT: minor function and variable name cleanup
David Ludwig
2013-08-27 10:57:55 -04:00
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 -04:00
409d9b1ce7
WinRT: removed a deprecated hack regarding window resizing and Direct3D viewports
David Ludwig
2013-08-27 09:53:58 -04:00
d78b26ed69
WinRT: moved most platform-specific keyboard and mouse code to shared locations
David Ludwig
2013-08-26 17:17:53 -04:00
73dfcdcfe1
WinRT: removed some old debugging code from SDL_mutexP and SDL_mutexV
David Ludwig
2013-08-20 22:18:48 -04:00
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 -04:00
6300b3606f
WinRT: made SDL_ThreadID() return the native thread ID, rather than a fake one
David Ludwig
2013-08-20 22:04:09 -04:00
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 -04:00
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 -04:00
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 -04:00
eaf26ff66a
WinRT: added a stub implementation of UpdateClipRect to the D3D 11.1 renderer
David Ludwig
2013-08-13 20:33:15 -04:00
45ef345df0
WinRT: fixed a crash in some display orientation hint code
David Ludwig
2013-08-13 20:28:48 -04:00
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 -04:00
11dc53221b
WinRT: Windows Phone 8 build fixes
David Ludwig
2013-08-13 20:11:51 -04:00
d41fdc94d6
WinRT: build fixes and additional WinRT-related integrations with SDL 2.0.0
David Ludwig
2013-08-13 20:09:52 -04:00
f7049b93d5
WinRT: merged with SDL 2.0.0 codebase (aka. SDL hg rev d4ce48ff30d1)
David Ludwig
2013-08-12 22:29:55 -04:00
1ad936eb29
Fixed bug 2027 - Full-screen appears to be broken - hang in SDL_DestroyWindow()
Sam Lantinga
2013-08-11 19:56:43 -07:00
1df1e69691
Added the platform specific messagebox function to the video function list
Sam Lantinga
2013-07-14 11:28:44 -07:00
8fbd7dc735
Fixed bug 2130 - Two members of Windows WindowData not initialized
Sam Lantinga
2013-10-03 00:54:58 -07:00
ce45fa28e2
SDLK_DELETE should probably be SDLK_BACKSPACE on iOS.
Ryan C. Gordon
2013-10-02 22:18:04 -04:00
958640e5d1
Get rid of glGetError() calls in GLES2 renderer.
Ryan C. Gordon
2013-10-02 22:16:11 -04:00
57e09318dd
Uses SDL_UDEV for Linux joystick hotplugging
Gabriel Jacobo
2013-10-01 08:47:06 -03:00
69a4351eb0
Fixed bug 2121 - GCC throws error on SDL_FORCE_INLINE when compiling with -ansi
Sam Lantinga
2013-09-30 22:35:32 -07:00
889b6bd794
Removes unused property use_egl from internal structure gl_config
Gabriel Jacobo
2013-09-28 19:23:59 -03:00
c691de00c5
Fix: SDL_EVDEV_device_removed does not need UDEV
Gabriel Jacobo
2013-09-28 19:17:27 -03:00
202528a48f
Call AddRef() on the device so it doesn't accidentally get released from underneath the caller.
Sam Lantinga
2013-09-28 14:07:17 -07:00
25f607a3c2
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 -07:00
cf5e5a8360
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 -07:00
803965bcc2
Added platform specific call: SDL_RenderGetD3DDevice()
Sam Lantinga
2013-09-28 14:07:05 -07:00
9f390e7967
Moved SDL_Direct3D9GetAdapterIndex() to SDL_windowsvideo.c since it doesn't belong in the window code.
Sam Lantinga
2013-09-28 14:06:59 -07:00
89c31bb42a
Implemented SDL_UpdateYUVTexture() for Direct3D
Sam Lantinga
2013-09-28 14:06:55 -07:00
17c9ff85e2
Added missing SDL_assert.h
Sam Lantinga
2013-09-28 14:06:51 -07:00
57bd514707
Added optimized YUV texture upload path with SDL_UpdateYUVTexture()
Sam Lantinga
2013-09-28 14:06:47 -07:00
d0a57ea2b5
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 -07:00
dfa53e7e3c
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 -07:00
b6be1435c5
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 -07:00
1ccbad9603
Do not use UDEV references in EVDEV if UDEV has not been detected
Gabriel Jacobo
2013-09-28 15:48:32 -03:00
99789c71c1
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 -07:00
9ceed73db4
Raspberry Pi support (also unified UDEV and EVDEV support)
Gabriel Jacobo
2013-09-28 13:28:19 -03:00
b9a2230806
Fixed doxygen warning.
Philipp Wiesemann
2013-09-28 12:55:32 +02:00
90afb94ec6
Corrected name of SDL_Color field from unused to a.
Philipp Wiesemann
2013-09-28 12:48:26 +02:00
8b6ad7ffba
Fixed bug 2101 - CWBackPixel causes weird window flickering on window resize
Sam Lantinga
2013-09-27 23:47:57 -07:00
b9567776d7
# User Darren Salt <devspam@moreofthesa.me.uk> # Date 1379621782 -3600 # Thu Sep 19 21:16:22 2013 +0100 Work around a false-positive in the X11 mouse wheel code
Sam Lantinga
2013-09-27 23:35:17 -07:00
c95761e00a
Fixed bug 2100 - directfb fails to build
Sam Lantinga
2013-09-27 23:29:05 -07:00
3ef5a97706
Fixed the name of the environment variable to match the name of the hint.
Sam Lantinga
2013-09-27 23:19:22 -07:00
869a707612
add in High DPI support (aka Retina)
Edward Rudd
2013-09-20 13:43:00 -04:00
0103bc0bff
Default to OpenGL ES 2.0 instead of 1.0 when it's available.
Sam Lantinga
2013-09-27 22:09:51 -07:00
d3d6f9ad19
Fixed syntax error in C style block comment.
Sam Lantinga
2013-09-14 11:25:52 -07:00
bfe1b1d066
Don't incorrectly report success for negative swap intervals on Mac OS X.
Ryan C. Gordon
2013-09-14 01:30:57 -04:00
fae4190dca
Added SDL_Direct3D9GetAdapterIndex(), which returns the adapter index you would pass into CreateDevice to get your device on the right monitor in full screen mode. This fixes the default adapter in SDL_render_d3d.c, which means that tests will work fullscreen off the main monitor now.
Sam Lantinga
2013-09-13 17:42:46 -07:00
49d64d52d5
Fix X11_RestoreWindow() and X11_RaiseWindow() to properly do window activation.
Sam Lantinga
2013-09-13 17:42:38 -07:00
67c02a282a
Mac: Translate Ctrl-Left click to right click.
Sam Lantinga
2013-09-13 17:42:31 -07:00
e231d5b450
Mac: Turn off momentum-based scrolling.
Sam Lantinga
2013-09-13 17:41:17 -07:00
37509cf3e3
Mac: Fix cast warning.
Sam Lantinga
2013-09-13 17:40:41 -07:00