Commit graph

3414 commits

Author SHA1 Message Date
Sam Lantinga
4d435bce47 When querying the display size for a fullscreen window, the display size is the size of the fullscreen video mode. 2010-07-30 00:55:00 -07:00
Sam Lantinga
7685a1892c Documentation updates 2010-07-29 20:24:05 -07:00
Sam Lantinga
4f5f86477a For consistency, swapped line order 2010-07-28 22:24:13 -07:00
Sam Lantinga
dc048bcb73 Added dynamic loading of XFixes and XDamage on Mac OS X 2010-07-28 22:22:08 -07:00
Sunny Sachanandani
dd3e79b2df Oops! 2010-07-28 15:35:18 +05:30
Sunny Sachanandani
09828c4620 Depend on XRender version 0.10 or above and XFixes version 2.0 or above. Moved these dependency checks into CheckXRender() and CheckXFixes(). 2010-07-28 15:33:28 +05:30
Sunny Sachanandani
1771e1fe4a Set the default XRender filter to "fast". testoverlay2 works now. 2010-07-28 15:13:16 +05:30
Sam Lantinga
a57835d4af Added missing pixel format 2010-07-28 01:32:39 -07:00
Sam Lantinga
0a74c700e4 Fixed compiling without XRender enabled 2010-07-28 01:14:48 -07:00
Sam Lantinga
a8d497359f Moved brace to the beginning of the line for the beginning of functions 2010-07-28 01:05:58 -07:00
Sam Lantinga
d8e7cebd11 Merged Sunny's XRender changes from SDL-gsoc2010_xrender 2010-07-28 00:54:23 -07:00
Sunny Sachanandani
b277b530a1 Add some comments. 2010-07-28 13:08:14 +05:30
Sunny Sachanandani
457eb7e007 Add support for texture modulation (both color and alpha). testsprite2 works now with --cyclealpha and --cyclecolor. 2010-07-28 11:56:17 +05:30
Sam Lantinga
8d14ec12cc Andrey A.
I made a video driver GAPI/RAW for WinCE (SDL-1.3).
RAW mode has a priority, and also, GAPI mode works with environment
"SDL_VIDEO_RENDERER=gapi" and for RAW mode "SDL_VIDEO_RENDERER=raw".

I checked the work on the screens of VGA, WVGA, QVGA, WQVGA, HVGA,
 + tested all modes with WindowsMobile Emulator.

Also, correctly draws the pointer position and the scale of the pointer
for VGA/WVGA modes,
correctly draws top left position for DM orientation screen, and
portrait/landscape/square geometry the screen also correct.

Also, I added a small fix for GDI fullscreen mode.

Patch for latest revision SDL-1.3 in an attachment.
Also added small path for mingw32ce build.
2010-07-27 21:31:28 -07:00
Sam Lantinga
4e19d730a1 Couriersud to Sam
I have done some quick changes and at least the code compiles again. It
also works with a number of the test executables with the DFB X11
backend. I hope to find time to get SDLMAME to work with latest SDL1.3
(i.e. rip out multi-keyboard, multi-mice & cursor support) next week to
test it further.

Regards,

André
2010-07-23 21:33:00 -07:00
Sam Lantinga
b0a24ac840 Daniel Wyatt to slouken
I also found a bug in the non-printable character fix.
In SDL_keyboard.c:SDL_SendKeyboardText:
    if (*text < ' ' || *text == 127) {
needs to be:
    if ((unsigned char)*text < ' ' || *text == 127) {

Otherwise bytes >= 128 will be considered non-printable.
2010-07-22 22:09:04 -07:00
Sunny Sachanandani
fc86a602cf Fixed drawing rectangles. X is evil! 2010-07-22 16:00:18 +05:30
Sunny Sachanandani
d0ac065342 Code cleanup. 2010-07-22 12:08:33 +05:30
Sunny Sachanandani
30e8d22c80 Remove debugging code. 2010-07-22 11:55:32 +05:30
Sunny Sachanandani
f517fdfa39 Advertise support for all supported texture formats. 2010-07-22 10:53:41 +05:30
Sam Lantinga
106aea6ed1 Fixed memory corruption on AMD64 2010-07-21 21:53:41 -07:00
Sam Lantinga
5d2b7ba68b Fixed key repeat detection on X11, and simplified the code for everyone else. 2010-07-21 21:47:12 -07:00
Sunny Sachanandani
5bb07d5c28 Advertise support for blending modes and scaling modes in the render driver. 2010-07-21 23:18:53 +05:30
Sunny Sachanandani
4915ca0980 Make the SW renderer work properly by fixing support for textures with no alpha channels. 2010-07-21 23:08:09 +05:30
Sunny Sachanandani
9684366030 Fix cleanup functions. 2010-07-21 18:38:40 +05:30
Sunny Sachanandani
23d259b82e Fix X11_DisplayModeChanged. 2010-07-21 18:33:13 +05:30
Sunny Sachanandani
6ec0ef31c7 Get SDL_BLENDMODE_MOD to work! Tested on nvidia only ATM. 2010-07-21 17:54:31 +05:30
Sam Lantinga
6f5bba2745 Fixed multimedia keys 2010-07-21 00:11:56 -07:00
Sam Lantinga
b520d61908 Delete is indeed an unprintable character. 2010-07-21 00:00:05 -07:00
Sam Lantinga
3a9c617ff8 Fixed remapping the Delete key and detecting the keypad Delete key. 2010-07-20 23:59:16 -07:00
Sam Lantinga
0e59ffc802 Added support for keyboard repeat (only tested on Windows so far) 2010-07-20 23:25:24 -07:00
Sam Lantinga
871f32561d Fixed X11 error when running under window managers that don't support the _NET_SUPPORTING_WM_CHECK protocol. 2010-07-20 00:57:01 -07:00
Sam Lantinga
cd1d53f11c Applied the same logic as the fix for bug 894.
Anytime we enter the window, we gain the mouse focus.  If we leave the window because of a normal LeaveNotify, then we lose mouse focus.
2010-07-20 00:05:32 -07:00
Sam Lantinga
658b2fec59 Fixed X error when showing debug info about a deleted property 2010-07-19 23:29:45 -07:00
Sunny Sachanandani
69847c86ef Implement support for setting texture scale mode. 2010-07-20 11:43:13 +05:30
Sunny Sachanandani
a2983659fb Respect environment variables. 2010-07-19 21:02:49 +05:30
Sunny Sachanandani
4ded0f623c Integrate XFixes and XDamage into the build system. 2010-07-19 20:05:53 +05:30
Sunny Sachanandani
7739189255 Massive speed-up. Fixed the format that is set for the renderer. Included runtime checks for XDamage. 2010-07-19 18:57:02 +05:30
Sunny Sachanandani
84a58d8f7c Use XDamage to optimise drawing operations. 2010-07-19 17:46:37 +05:30
Sam Lantinga
e0676bd4c4 Fixed bug 1015
Don't set the WM_TRANSIENT_FOR property to an invalid value - delete it instead.
2010-07-18 11:37:26 -07:00
Sam Lantinga
21760bc6b2 RedHat patch: SDL-1.2.14-byteorder.patch 2010-07-18 11:23:34 -07:00
Sam Lantinga
5ae90a3bef Fixed bug 1006
Get the GLX functions with glXGetProcAddress() when available.
2010-07-18 11:18:36 -07:00
Sam Lantinga
83d6407648 Fixed bug 993
GCC supports unnamed unions now. :)
2010-07-18 11:15:02 -07:00
Sam Lantinga
b93cbf4cbb RedHat patch: SDL-1.2.14-audiodriver.patch 2010-07-18 11:13:12 -07:00
Sam Lantinga
bbf7027004 Better fix for bug 936
Check to for overruns before they happen instead of afterwards.
2010-07-18 10:26:46 -07:00
Sam Lantinga
ce200fdf85 Debian patch: 215_kfreebsd_gnu.diff 2010-07-18 08:12:28 -07:00
Sunny Sachanandani
e3cf0eb042 Resync tip to default. Using named branches is a bad idea. 2010-07-18 19:03:39 +05:30
Sunny Sachanandani
cddeec5ffa Remove experimental cruft. 2010-07-18 18:45:30 +05:30
Sunny Sachanandani
c054518301 Major changes to drawing. Reverted back to core X11 functions due to regressions. 2010-07-18 18:27:38 +05:30
Sam Lantinga
8c93eb3a9f Double-confirmed, that's not the pause scancode 2010-07-18 01:04:18 -07:00