Sam Lantinga
bc98ea3151
Added support for saving 32-bit BMP with alpha channel (disabled by default)
2009-01-03 01:00:38 +00:00
Sam Lantinga
f45614d34f
Date: Fri, 02 Jan 2009 23:22:39 +0100
...
From: Couriersud
Subject: SDL1.3 Win32 Resize bug
the attached diff fixes a bug where width and height were exchanged when
resizing a window.
2009-01-02 23:47:16 +00:00
Sam Lantinga
7f3d6deffd
Implemented SDL_SetWindowIcon(), with translucent icon support under X11.
2009-01-02 17:39:48 +00:00
Sam Lantinga
cfd90d010a
indent
2009-01-02 16:03:37 +00:00
Sam Lantinga
94d337a41c
Don't use DirectColor visuals until we implement DirectColor colormap support
2009-01-02 15:47:49 +00:00
Sam Lantinga
a73ce044b0
Hopefully fixed crash when there are no input devices
2009-01-02 10:30:53 +00:00
Ryan C. Gordon
f39707fb6c
Fixed off-by-one in audio converters, when growing a data type's size.
2009-01-02 08:12:14 +00:00
Ryan C. Gordon
b0a587ce40
Avoid unnecessary assignment in generated audio type converters.
2009-01-02 07:34:01 +00:00
Sam Lantinga
8ecf1a6211
Whoops, we need to actually fill the colormap on DirectColor visuals.
...
Temporarily disable them for now.
2009-01-02 04:35:52 +00:00
Sam Lantinga
b3d92749cf
Date: Fri, 02 Jan 2009 00:54:48 +0100
...
From: Couriersud
Subject: SDL1.3 Two small bugs ...
The first bug is rather straight forward; XCloseDevice needs a device,
not an ID.
2009-01-02 01:34:52 +00:00
Holmes Futrell
2cdf038df9
Modified OpenGL ES render driver to support new SDL_RenderFill, SDL_RenderLine, and SDL_RenderPoint.
2009-01-01 23:47:33 +00:00
Sam Lantinga
f4135a38db
Date: Thu, 01 Jan 2009 21:32:12 +0100
...
From: Couriersud
Subject: Fusionsound audio driver
attached is a diff containing a audio driver for the FusionSound
library. This sound library is closely related to DirectFB and uses the
same transport (fusion) as DirectFB when running applications "remote",
i.e. over the network. As such, it natively redirects sound where
DirectFB redirects video. This may be handy for everyone using SDL over
DirectFB.
2009-01-01 21:34:22 +00:00
Sam Lantinga
9f35181036
Fixed DirectColor visual window creation problem
2009-01-01 18:58:26 +00:00
Sam Lantinga
9542fd900a
Oh yeah, it's an XInput symbol
2009-01-01 08:22:20 +00:00
Sam Lantinga
6c7b800444
indent
2009-01-01 08:21:19 +00:00
Sam Lantinga
90f2b208dc
Added missing symbol
2009-01-01 08:19:56 +00:00
Sam Lantinga
bda23d98c9
Fixed X11 mouse motion/button events - it's not actually safe to cast mouse events to device events.
...
Fixed building SDL without XInput support
Simplified the process of registering a mouse device
2009-01-01 07:59:08 +00:00
Ryan C. Gordon
b0ba20156b
Audio driver priority: favor PulseAudio and ALSA over OSS.
2009-01-01 07:58:20 +00:00
Ryan C. Gordon
0f0a6bb19c
Adjusted default choice of audio driver.
...
If a driver can definitely see available devices, it is chosen. Otherwise,
we'll take the first driver that initializes but saw no devices...this might
be because it can't enumerate them, or there really aren't any available.
This prevents the dsp driver from hogging control when there are no /dev/dsp*
nodes (for example, on a Linux box with ALSA and no OSS emulation).
2009-01-01 07:54:58 +00:00
Sam Lantinga
82caf7fc13
Removed unused variable
2008-12-31 08:05:21 +00:00
Sam Lantinga
6d620a9d5b
iPhone build compiles again (drawing routines need to be implemented)
2008-12-31 07:56:56 +00:00
Sam Lantinga
c0df526c40
Fixed logic problem with SDL_RestoreWindow()
2008-12-31 07:11:53 +00:00
Sam Lantinga
404dfdff05
indent
2008-12-31 06:18:33 +00:00
Sam Lantinga
8011c2c571
Implemented Direct3D line and point drawing
2008-12-31 06:17:24 +00:00
Sam Lantinga
f4819de2bd
Date: Mon, 29 Dec 2008 23:29:52 +0100
...
From: Couriersud
Subject: SDL1.3: Some X11 diffs
The attached diff fixes the following issues in the X11 backend:
a) When calling resize, actually a move was performed. This has been
corrected.
b) DisplayHeight and DisplayWidth do not return up-to-date information
after a modeswitch using the xrandr code, which I enabled in
x11_modes.c
Height and width are now queried from the root window and all
occurrences of DisplayHeight and DisplayWidth changed.
2008-12-30 17:09:42 +00:00
Sam Lantinga
b6a4db1954
Date: Mon, 29 Dec 2008 23:29:52 +0100
...
From: Couriersud
I have attached the latest DirectFB changes.
2008-12-30 17:02:53 +00:00
Sam Lantinga
e9caf73b61
indent
2008-12-30 17:02:06 +00:00
Sam Lantinga
1e89c90c36
Fixed missing return value
2008-12-30 07:15:46 +00:00
Sam Lantinga
605db668a8
SetDrawColor() and SetDrawBlendMode() are optional
2008-12-30 07:14:11 +00:00
Sam Lantinga
9f7980aedc
In theory this implements GDI rendering, but it doesn't work for some reason.
...
Also removed blending support from the advertised interface, since it's not
actually supported.
2008-12-30 04:38:39 +00:00
Sam Lantinga
333d23bb58
Swapped functions to match the other renderer files
2008-12-30 04:22:24 +00:00
Sam Lantinga
c02482e990
Significant performance boost with blend mode none
2008-12-29 19:48:01 +00:00
Sam Lantinga
a3f8129028
indent
2008-12-25 05:26:29 +00:00
Sam Lantinga
6883e72fe9
Fixed compiling Windows renderers. Lines and points will be implemented later.
2008-12-25 05:16:18 +00:00
Sam Lantinga
0465595d39
Updated to build on Windows
2008-12-25 05:11:29 +00:00
Sam Lantinga
70cb1363d0
Fixed pitch alignment problem causing MITSHM error on 16-bit displays
2008-12-25 04:42:28 +00:00
Sam Lantinga
d426540e62
Fixed CPU feature detection on x86_64 platform
...
(registers were being corrupted, causing crashes)
2008-12-24 13:13:38 +00:00
Sam Lantinga
e53beea887
Don't unlock a surface we didn't lock
2008-12-24 12:17:25 +00:00
Sam Lantinga
6bd5c458f4
Fixed clipping source rect to match destination rect clipping
2008-12-23 04:51:36 +00:00
Sam Lantinga
6763fa8275
Fixed argument order to the line clipping routine
2008-12-23 02:38:28 +00:00
Sam Lantinga
de843c65d6
Added line clipping
2008-12-23 02:23:18 +00:00
Sam Lantinga
a2258f8fb8
Added clipping for render copy
2008-12-23 01:28:06 +00:00
Sam Lantinga
7ba47374bc
/* FIXME FIXME FIXME
...
* Window creation fails in the colormap code on DirectColor visuals:
* XA_RGB_BEST_MAP not found and could not be created
* I'm disabling this for now until Bob can look at it. We don't need
* it until we implement the gamma fading using DirectColor RGB ramps
*/
2008-12-22 04:58:35 +00:00
Sam Lantinga
6000a35a70
Fixed crash when resizing the window with the software renderer.
...
This is similar to the crash fix in the OpenGL renderer in revision 4187
2008-12-22 04:52:43 +00:00
Sam Lantinga
8adb14536f
Fixed clip_rect when drawing points and lines with software renderer.
...
Lock the minimal rect to minimize texture uploads
2008-12-21 20:17:41 +00:00
Sam Lantinga
77fa0d11ee
Working Bresenham line drawing algorithm. We can optimize later, if needed.
2008-12-21 20:16:21 +00:00
Sam Lantinga
8318ef98b6
Added RenderPiont() API
...
Merged the drawing tests into a single test program
2008-12-21 17:39:41 +00:00
Sam Lantinga
4890f640e1
Make it possible to switch algorithms in the future
2008-12-21 08:59:56 +00:00
Sam Lantinga
5f5a1e9537
Added ARGB optimized case for Mac OS X
2008-12-21 08:55:06 +00:00
Sam Lantinga
32cdac94f1
Share code between fill and line drawing
...
Added general RGB surface format fallbacks to drawing code
Fixed issues with destination surface alpha channel
2008-12-21 08:28:25 +00:00