Sam Lantinga
21f724582c
Date: Sat, 06 Dec 2008 15:27:00 +0100
...
From: Couriersud
Subject: SDL: Relative mouse movements
The patch below will reenable processing of relative mouse movements.
The DirectFB drivers generates those in "grabbed" mode. These ensure,
that even in fullscreen mode relative movements are reported. SDLMAME
depends on this for games with trackballs.
Looking at the code I ask myself whether relative movements should be
handled in the drivers (x11, directfb). Both x11 and directfb are able
to report relative movements. This would leave it to the driver to use
the most appropriate method for relative movements when at the border of
a fullscreen window or being "grabbed".
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403303
2008-12-06 17:50:50 +00:00
Sam Lantinga
d8d1c9d630
Date: Sat, 06 Dec 2008 14:54:10 +0100
...
From: Couriersud
Subject: SDL: DirectFB mouse patch
the attached patch (again) properly registers the mouse in the DirectFB
driver.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403302
2008-12-06 17:46:55 +00:00
Sam Lantinga
700f822150
The previous checkin fixes the crash, so at least we're not overrunning
...
the texture pixel data anymore...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403301
2008-12-06 17:43:10 +00:00
Sam Lantinga
2eb5631950
Progress, maybe. :)
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403300
2008-12-06 17:41:01 +00:00
Sam Lantinga
535f3bf809
Fixed SDL_SetAlpha compatibility function to match the documentation
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403299
2008-12-06 05:49:53 +00:00
Sam Lantinga
ffbae1776d
Fixed bug picking blitters
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403298
2008-12-06 05:49:08 +00:00
Sam Lantinga
d929dca890
Rebind the context to the window area and update matrices when the window size changes
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403297
2008-12-06 05:23:35 +00:00
Ryan C. Gordon
b59986d747
Initial pixel shader support for YUV textures in the GL renderer.
...
This work is not complete yet!
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403296
2008-12-06 00:56:47 +00:00
Sam Lantinga
d9bd99d552
minor bug
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403295
2008-12-05 07:01:12 +00:00
Sam Lantinga
b19daa445d
Whoops, can't call glOrtho() repeatedly
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403294
2008-12-05 07:00:58 +00:00
Sam Lantinga
b1b8c20318
The matrices have already been set, so you don't have to re-set them.
...
You always need to reset the viewport when activating the renderer in
case the context had been set to a different window previously.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403293
2008-12-05 06:22:19 +00:00
Sam Lantinga
c0257e7bea
Fixed crashes when resizing video modes
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403292
2008-12-05 06:19:49 +00:00
Sam Lantinga
49119e31d8
fixed formatting
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403291
2008-12-05 06:19:09 +00:00
Sam Lantinga
b8cbb6cd69
Allow resizing of SDL 1.2 compatibility video mode
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403290
2008-12-04 16:54:22 +00:00
Sam Lantinga
4a86bb6ebf
Added very slow software scaling to the X11 renderer
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403289
2008-12-03 12:10:51 +00:00
Sam Lantinga
a403d94807
If scaling isn't supported, do an unscaled copy instead of not showing anything.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403288
2008-12-03 11:09:58 +00:00
Sam Lantinga
a547129012
Fixed crash on 64-bit systems
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403287
2008-12-03 06:32:04 +00:00
Sam Lantinga
a9f8def25b
Date: Tue, 02 Dec 2008 23:38:26 +0100
...
From: Couriersud
Subject: Re: SDL: Keyboard layout unknown
I have attached a diff which will add an additional keyboard layout to
the x11 driver. The issue arose, when I moved to ubuntu intrepid. I was
only able to map the keys available on my keyboard. The differences to
the existing keyboard was the mapping of HOME,UP,DOWN and some other
keys.
Now only one issue remains. Dead keys (e.g. ^, ` ') on european
keyboards do not generate a "scancode" event. Just a text event when the
key is composed (e.g. ?? ?? ??).
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403286
2008-12-03 04:32:24 +00:00
Sam Lantinga
4a696cc335
Added slow but complete blit fallback
...
Don't try to RLE encode surfaces that have alpha channel and alpha modulation
Don't turn on blending when converting an RGB surface to RGBA format
Do turn on blending when converting colorkey to alpha channel
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403285
2008-12-02 17:14:04 +00:00
Sam Lantinga
7e7747ebec
Added missing header
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403284
2008-12-02 17:10:05 +00:00
Sam Lantinga
9648484187
Removed unused function
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403283
2008-12-02 16:10:21 +00:00
Sam Lantinga
49bf0c5792
You can't use memset() on screen formats with an alpha channel
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403282
2008-12-02 16:09:58 +00:00
Sam Lantinga
bb3dd43be0
Make sure that we don't generate floating point code that would cause illegal instruction exceptions on older processors, unless someone passes --enable-ssemath to configure.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403281
2008-12-01 23:09:09 +00:00
Ryan C. Gordon
8160ae0787
Removed newline, to make sure revision control post-commit hook is working.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403280
2008-12-01 09:45:01 +00:00
Ryan C. Gordon
d6c4d17adf
Added a newline, to verify that revision control is functioning.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403279
2008-12-01 09:09:31 +00:00
Sam Lantinga
76d2dbd21b
Save opaque alpha in the destination, fixes white spotlight in testalpha on Mac OS X.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403278
2008-12-01 00:41:19 +00:00
Ryan C. Gordon
8820fed841
Added *.dSYM to the ignore properties.
...
(these are external debug symbols in Mac OS X.)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403277
2008-12-01 00:41:15 +00:00
Sam Lantinga
1709286e00
Date: Mon, 01 Dec 2008 00:57:15 +0100
...
From: Couriersud
Subject: SDL : Diff for directfb driver
please find attached a diff against SVN containing the following:
- Updated README.DirectFB a bit
- Fix compile issue with debug output
- Fix display mode setting/switching for directfb >= 1.2.2
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403276
2008-12-01 00:10:49 +00:00
Sam Lantinga
7356f7336e
indent
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403275
2008-12-01 00:07:45 +00:00
Sam Lantinga
be3717c64e
Removed the hacky stuff for YUV OpenGL textures, since Ryan's pixel shader code
...
will be far superior. :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403274
2008-12-01 00:05:31 +00:00
Sam Lantinga
02f6a8797c
Finally got the right mojo for Apple's YUV texture format.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403273
2008-12-01 00:03:51 +00:00
Sam Lantinga
0f0dfe230b
Fixed the list of supported YUV formats
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403272
2008-11-30 23:42:33 +00:00
Sam Lantinga
ace68e0a7c
Implemented the X11 (non-OpenGL) renderer, no alpha or scaling available.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403271
2008-11-30 21:58:23 +00:00
Sam Lantinga
5632821dd0
Temporary fix for Mac OS X crash in textoverlay
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403270
2008-11-29 21:48:14 +00:00
Sam Lantinga
8e1f968f50
Whoops, we need this for subrect updates (testsprite)
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403269
2008-11-29 15:32:14 +00:00
Sam Lantinga
fb253660b5
The SDL_RLEACCEL flag is respected in SDL_ConvertSurface(), per the docs.
...
Fixed saving BMP files of surfaces with an alpha channel.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403268
2008-11-29 11:26:01 +00:00
Sam Lantinga
7a4a712978
Fixed testalpha screen clear for screen formats with an alpha channel
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403267
2008-11-29 11:24:18 +00:00
Sam Lantinga
b64cf8229c
Preserve the desire for RLE acceleration
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403266
2008-11-29 10:43:50 +00:00
Sam Lantinga
c81d1708ba
Fixed crash in glTexSubImage2D() with testoverlay on Mac OS X.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403265
2008-11-29 06:29:33 +00:00
Sam Lantinga
f6ac2f5c20
Fixed the texture format for the software fallback
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403264
2008-11-29 06:27:26 +00:00
Sam Lantinga
4dd90ea023
Fixed SW_SetTextureScaleMode()
...
Use RLE acceleration for static textures in the software renderer.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403263
2008-11-29 00:11:35 +00:00
Sam Lantinga
966af920a2
Fixed copy blit detection
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403262
2008-11-29 00:10:59 +00:00
Sam Lantinga
9c7eee3fc0
Added ARGB8888 destination format (used on Mac OS X)
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403261
2008-11-29 00:08:29 +00:00
Sam Lantinga
79a929ff00
Again, map the color with the alpha channel filled in.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403260
2008-11-28 20:09:32 +00:00
Sam Lantinga
3446f888c5
Fixed crash in testalpha. I think this was supposed to clear those bits. :)
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403259
2008-11-28 19:59:46 +00:00
Sam Lantinga
843bc58619
Map to black, not necessarily 0
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403258
2008-11-28 17:44:28 +00:00
Sam Lantinga
30d4fc124c
Clear the screen to actual black based on the format of the screen.
...
Use a better texture format for YUV overlay software fallbacks
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403257
2008-11-28 17:42:40 +00:00
Sam Lantinga
8ae88d7987
Set the alpha mask fixing software rendering in OpenGL
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403256
2008-11-27 22:11:01 +00:00
Sam Lantinga
ad090cd0f8
Fixed mouse coordinate range on Mac OS X
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403255
2008-11-27 21:53:18 +00:00
Sam Lantinga
be449ce8ef
RemDisabled some video drivers which are not converted to 1.3 yet
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403254
2008-11-27 05:29:12 +00:00