Sam Lantinga
40a17f8980
Couriersud to Sam
...
Hi Sam,
20100815_1.diff contains updates for the directfb driver:
- more documentation, mainly on software OpenGL in README.directfb
- Revised error handling leading to leaner code
- Improved/fixed OpenGL handling of multiple contexts.
- Made the built-in simple window manager handle OpenGL windows.
- Rewrote pixelformat mapping - this was quite ugly before.
Well, all software GL, but working :-)
2010-08-16 09:04:55 -07:00
Sam Lantinga
0f67a475f9
Fixed documentation error
2010-08-14 12:28:43 -07:00
Sam Lantinga
8ed311fcbf
Updated with the latest version of glext.h
2010-08-14 12:22:06 -07:00
Sunny Sachanandani
9aa3fcfe91
Documentation and code safety updates. (x11 renderer)
2010-08-08 19:26:30 +05:30
Sunny Sachanandani
49c44d1baa
Fixed the code to use the correct scaling transformation matrix with XRender.
2010-08-03 08:53:20 +05:30
Sunny Sachanandani
d73650fe60
Merge.
2010-08-03 08:05:53 +05:30
Sunny Sachanandani
8b6f49c03b
Added some comments.
2010-08-02 17:14:09 +05:30
Sunny Sachanandani
99444c9c81
Fixed a huge bug with texture scaling.
2010-08-02 11:13:40 +05:30
Sam Lantinga
5820c8d5fd
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
b8b0d2faaa
Documentation updates
2010-07-29 20:24:05 -07:00
Sam Lantinga
4b3a7e0386
For consistency, swapped line order
2010-07-28 22:24:13 -07:00
Sam Lantinga
f22109ed40
Added dynamic loading of XFixes and XDamage on Mac OS X
2010-07-28 22:22:08 -07:00
Sunny Sachanandani
e04609dd3a
Oops!
2010-07-28 15:35:18 +05:30
Sunny Sachanandani
c2baeb311e
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
ad5bb9b296
Set the default XRender filter to "fast". testoverlay2 works now.
2010-07-28 15:13:16 +05:30
Sam Lantinga
17fd339bb6
Added missing pixel format
2010-07-28 01:32:39 -07:00
Sam Lantinga
dbc95711f2
Fixed compiling without XRender enabled
2010-07-28 01:14:48 -07:00
Sam Lantinga
dee37ad73f
Moved brace to the beginning of the line for the beginning of functions
2010-07-28 01:05:58 -07:00
Sam Lantinga
617542daf6
Merged Sunny's XRender changes from SDL-gsoc2010_xrender
2010-07-28 00:54:23 -07:00
Sunny Sachanandani
f8e9cd32ad
Add some comments.
2010-07-28 13:08:14 +05:30
Sunny Sachanandani
2e3071de90
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
6e04d3f626
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
823150217e
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
1aea85be53
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
1d826dcfad
Fixed drawing rectangles. X is evil!
2010-07-22 16:00:18 +05:30
Sunny Sachanandani
29c1c990d1
Code cleanup.
2010-07-22 12:08:33 +05:30
Sunny Sachanandani
5e60ceaa97
Remove debugging code.
2010-07-22 11:55:32 +05:30
Sunny Sachanandani
2fcfc81241
Advertise support for all supported texture formats.
2010-07-22 10:53:41 +05:30
Sam Lantinga
0d26fd147e
Fixed memory corruption on AMD64
2010-07-21 21:53:41 -07:00
Sam Lantinga
bb3f9614ec
Fixed key repeat detection on X11, and simplified the code for everyone else.
2010-07-21 21:47:12 -07:00
Sunny Sachanandani
47341645ba
Advertise support for blending modes and scaling modes in the render driver.
2010-07-21 23:18:53 +05:30
Sunny Sachanandani
1b6afb3701
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
96abad3e25
Fix cleanup functions.
2010-07-21 18:38:40 +05:30
Sunny Sachanandani
74aebea86f
Fix X11_DisplayModeChanged.
2010-07-21 18:33:13 +05:30
Sunny Sachanandani
b478f42ed4
Get SDL_BLENDMODE_MOD to work! Tested on nvidia only ATM.
2010-07-21 17:54:31 +05:30
Sam Lantinga
d364ea2300
Fixed multimedia keys
2010-07-21 00:11:56 -07:00
Sam Lantinga
ab0eee8569
Delete is indeed an unprintable character.
2010-07-21 00:00:05 -07:00
Sam Lantinga
7d2743e5f6
Fixed remapping the Delete key and detecting the keypad Delete key.
2010-07-20 23:59:16 -07:00
Sam Lantinga
741880b4dc
Added support for keyboard repeat (only tested on Windows so far)
2010-07-20 23:25:24 -07:00
Sam Lantinga
2e7d9d5086
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
eee5db77ce
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
b5005f3776
Fixed X error when showing debug info about a deleted property
2010-07-19 23:29:45 -07:00
Sunny Sachanandani
bed6ddfa00
Implement support for setting texture scale mode.
2010-07-20 11:43:13 +05:30
Sunny Sachanandani
b496cf6550
Respect environment variables.
2010-07-19 21:02:49 +05:30
Sunny Sachanandani
51b997ebad
Integrate XFixes and XDamage into the build system.
2010-07-19 20:05:53 +05:30
Sunny Sachanandani
c19650cfdf
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
93948935c4
Use XDamage to optimise drawing operations.
2010-07-19 17:46:37 +05:30
Sam Lantinga
4eb171d972
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
d6cb212829
RedHat patch: SDL-1.2.14-byteorder.patch
2010-07-18 11:23:34 -07:00
Sam Lantinga
21a2822b79
Fixed bug 1006
...
Get the GLX functions with glXGetProcAddress() when available.
2010-07-18 11:18:36 -07:00