Commit Graph

2513 Commits

Author SHA1 Message Date
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
Sam Lantinga
7a39366cbb The _NET_WM_ICON protocol doesn't require the icon to be set before the window is shown. 2009-01-02 09:50:25 +00:00
Sam Lantinga
02ae0f6a07 It's probably not worth pushing palettized textures. The memory optimization
isn't worth the effort on modern hardware with the sorts of games that would
be using the SDL 1.3 texture API.
2009-01-02 09:27:36 +00:00
Sam Lantinga
857d7ff338 Now that we don't have to worry about 8-bit displays, maybe we can add alpha
to the palette entries?
2009-01-02 09:14:55 +00:00
Sam Lantinga
caa1ee30ac Bye bye PseudoColor! :) 2009-01-02 09:12:21 +00:00
Sam Lantinga
c90a814d48 Ryan doesn't like hung programs to lock up his system. Silly, huh? 2009-01-02 09:04:31 +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
55b8779b0e Added Couriersud to credits for finding bugs 2009-01-02 01:37:07 +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
Sam Lantinga
91225b5f6f Don't check in personal files 2009-01-02 01:32:51 +00:00
Holmes Futrell
44019a0d2e Added target testdraw2 for running the test/testdraw2.c test. 2009-01-01 23:49:28 +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
Holmes Futrell
7375c9648c Re-enabled joystick support during compilation. 2009-01-01 23:01:05 +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
4037dfb340 Kicking off the great SDL Bug Hunt for January 2009 2009-01-01 19:42:48 +00:00
Sam Lantinga
9f35181036 Fixed DirectColor visual window creation problem 2009-01-01 18:58:26 +00:00
Sam Lantinga
2bf6c05665 Windows line drawing support is implemented 2009-01-01 18:49:43 +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
2b662375d6 Added testdraw2 to Visual C++ tests 2008-12-31 07:35:55 +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
b549312e0d Added project for testdraw2 2008-12-30 03:54:34 +00:00
Sam Lantinga
792319a9e6 Visual C++ 5 and 6 are no longer supported. You can use Visual C++ Express Edition to build SDL. 2008-12-30 03:51:20 +00:00
Sam Lantinga
c02482e990 Significant performance boost with blend mode none 2008-12-29 19:48:01 +00:00
Sam Lantinga
9d38eab29a Don't forget OpenGL 3.0 support 2008-12-25 05:39:54 +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
b34845333f Updated project with new source files 2008-12-25 04:56:44 +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