Sam Lantinga
076b869c51
Rebind the context to the window area and update matrices when the window size changes
2008-12-06 05:23:35 +00:00
Ryan C. Gordon
30e93bfd64
Initial pixel shader support for YUV textures in the GL renderer.
...
This work is not complete yet!
2008-12-06 00:56:47 +00:00
Sam Lantinga
03719ab259
minor bug
2008-12-05 07:01:12 +00:00
Sam Lantinga
438661db5e
Whoops, can't call glOrtho() repeatedly
2008-12-05 07:00:58 +00:00
Sam Lantinga
2e83d0061e
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.
2008-12-05 06:22:19 +00:00
Sam Lantinga
40c1f1f0df
Fixed crashes when resizing video modes
2008-12-05 06:19:49 +00:00
Sam Lantinga
70b01e3704
fixed formatting
2008-12-05 06:19:09 +00:00
Sam Lantinga
18d317f4bf
Allow resizing of SDL 1.2 compatibility video mode
2008-12-04 16:54:22 +00:00
Sam Lantinga
766c1e1e93
Added very slow software scaling to the X11 renderer
2008-12-03 12:10:51 +00:00
Sam Lantinga
4888e23002
If scaling isn't supported, do an unscaled copy instead of not showing anything.
2008-12-03 11:09:58 +00:00
Sam Lantinga
36bf69e934
Fixed crash on 64-bit systems
2008-12-03 06:32:04 +00:00
Sam Lantinga
e2acc39b94
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. ?? ?? ??).
2008-12-03 04:32:24 +00:00
Sam Lantinga
f3e580a6f1
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
2008-12-02 17:14:04 +00:00
Sam Lantinga
d100725b2c
Added missing header
2008-12-02 17:10:05 +00:00
Sam Lantinga
b19a33def3
Removed unused function
2008-12-02 16:10:21 +00:00
Sam Lantinga
a042a1ebc0
You can't use memset() on screen formats with an alpha channel
2008-12-02 16:09:58 +00:00
Sam Lantinga
b05087fb96
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.
2008-12-01 23:09:09 +00:00
Ryan C. Gordon
a434b6e0a8
Removed newline, to make sure revision control post-commit hook is working.
2008-12-01 09:45:01 +00:00
Ryan C. Gordon
e7d18ee499
Added a newline, to verify that revision control is functioning.
2008-12-01 09:09:31 +00:00
Sam Lantinga
8b0834d09f
Save opaque alpha in the destination, fixes white spotlight in testalpha on Mac OS X.
2008-12-01 00:41:19 +00:00
Ryan C. Gordon
3625e27c7f
Added *.dSYM to the ignore properties.
...
(these are external debug symbols in Mac OS X.)
2008-12-01 00:41:15 +00:00
Sam Lantinga
a4640955b9
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
2008-12-01 00:10:49 +00:00
Sam Lantinga
fc797e6326
indent
2008-12-01 00:07:45 +00:00
Sam Lantinga
a39d3dd3dc
Removed the hacky stuff for YUV OpenGL textures, since Ryan's pixel shader code
...
will be far superior. :)
2008-12-01 00:05:31 +00:00
Sam Lantinga
785842dc11
Finally got the right mojo for Apple's YUV texture format.
2008-12-01 00:03:51 +00:00
Sam Lantinga
2e620cd578
Fixed the list of supported YUV formats
2008-11-30 23:42:33 +00:00
Sam Lantinga
106af10068
Implemented the X11 (non-OpenGL) renderer, no alpha or scaling available.
2008-11-30 21:58:23 +00:00
Sam Lantinga
e2c90af939
Temporary fix for Mac OS X crash in textoverlay
2008-11-29 21:48:14 +00:00
Sam Lantinga
f374de5ac9
Whoops, we need this for subrect updates (testsprite)
2008-11-29 15:32:14 +00:00
Sam Lantinga
69c1e59e91
The SDL_RLEACCEL flag is respected in SDL_ConvertSurface(), per the docs.
...
Fixed saving BMP files of surfaces with an alpha channel.
2008-11-29 11:26:01 +00:00
Sam Lantinga
420db1dc91
Fixed testalpha screen clear for screen formats with an alpha channel
2008-11-29 11:24:18 +00:00
Sam Lantinga
48b5552ec0
Preserve the desire for RLE acceleration
2008-11-29 10:43:50 +00:00
Sam Lantinga
09a0bb1e39
Fixed crash in glTexSubImage2D() with testoverlay on Mac OS X.
2008-11-29 06:29:33 +00:00
Sam Lantinga
3b8ca814f6
Fixed the texture format for the software fallback
2008-11-29 06:27:26 +00:00
Sam Lantinga
3d494863ce
Fixed SW_SetTextureScaleMode()
...
Use RLE acceleration for static textures in the software renderer.
2008-11-29 00:11:35 +00:00
Sam Lantinga
83837765bd
Fixed copy blit detection
2008-11-29 00:10:59 +00:00
Sam Lantinga
5dbc9e73be
Added ARGB8888 destination format (used on Mac OS X)
2008-11-29 00:08:29 +00:00
Sam Lantinga
225831e41c
Again, map the color with the alpha channel filled in.
2008-11-28 20:09:32 +00:00
Sam Lantinga
d00a2380b8
Fixed crash in testalpha. I think this was supposed to clear those bits. :)
2008-11-28 19:59:46 +00:00
Sam Lantinga
6692a9cb93
Map to black, not necessarily 0
2008-11-28 17:44:28 +00:00
Sam Lantinga
8164eb0e82
Clear the screen to actual black based on the format of the screen.
...
Use a better texture format for YUV overlay software fallbacks
2008-11-28 17:42:40 +00:00
Sam Lantinga
7ace780a57
Set the alpha mask fixing software rendering in OpenGL
2008-11-27 22:11:01 +00:00
Sam Lantinga
a3207b851b
Fixed mouse coordinate range on Mac OS X
2008-11-27 21:53:18 +00:00
Sam Lantinga
0c7f548799
RemDisabled some video drivers which are not converted to 1.3 yet
2008-11-27 05:29:12 +00:00
Sam Lantinga
1a2a7e3b1d
Show the grey background first before starting to blit sprites
2008-11-27 04:51:34 +00:00
Sam Lantinga
74a727cda7
Date: Wed, 26 Nov 2008 19:50:31 +0100
...
From: Couriersud
Subject: LPGL and closed-source license / Re: [Bug 607] Texture palette not up
Permission granted to release code under both LPGL and closed-source
commercial license.
Please find attached a minor patch fixing vsync handling in the directfb
driver and containing a small update to README.directfb
2008-11-26 21:59:35 +00:00
Sam Lantinga
7c8033930d
Both testsprite and testsprite2 use a grey background
2008-11-26 15:52:00 +00:00
Sam Lantinga
ef12a03dba
Fixed bug #605 , per Martin's suggestion
2008-11-25 20:06:27 +00:00
Sam Lantinga
eb7a0d4ec7
Updated with latest glext.h
2008-11-25 08:40:52 +00:00
Sam Lantinga
868d2ced9e
It turns out both the software and the OpenGL renderer had the same problem.
...
According to the spec, when SDL_SRCALPHA is set, the colorkey is ignored, so
we just need to convert the colorkey into the alpha channel.
2008-11-25 05:29:14 +00:00