Commit graph

2560 commits

Author SHA1 Message Date
Sam Lantinga
382a1fe6c7 The _NET_WM_ICON protocol doesn't require the icon to be set before the window is shown.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403423
2009-01-02 09:50:25 +00:00
Sam Lantinga
0fc4da0d04 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403422
2009-01-02 09:27:36 +00:00
Sam Lantinga
5a4880543e Now that we don't have to worry about 8-bit displays, maybe we can add alpha
to the palette entries?

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403421
2009-01-02 09:14:55 +00:00
Sam Lantinga
ce0bbf9237 Bye bye PseudoColor! :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403420
2009-01-02 09:12:21 +00:00
Sam Lantinga
74d652da9a Ryan doesn't like hung programs to lock up his system. Silly, huh?
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403419
2009-01-02 09:04:31 +00:00
Ryan C. Gordon
f62d6c171b Fixed off-by-one in audio converters, when growing a data type's size.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403418
2009-01-02 08:12:14 +00:00
Ryan C. Gordon
b96a3090e0 Avoid unnecessary assignment in generated audio type converters.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403417
2009-01-02 07:34:01 +00:00
Sam Lantinga
c16d0bb0ee Whoops, we need to actually fill the colormap on DirectColor visuals.
Temporarily disable them for now.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403416
2009-01-02 04:35:52 +00:00
Sam Lantinga
e7cc8150fd Added Couriersud to credits for finding bugs
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403415
2009-01-02 01:37:07 +00:00
Sam Lantinga
f2fc43acdc 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403414
2009-01-02 01:34:52 +00:00
Sam Lantinga
846fd2c0b9 Don't check in personal files
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403413
2009-01-02 01:32:51 +00:00
Holmes Futrell
222a45cb45 Added target testdraw2 for running the test/testdraw2.c test.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403412
2009-01-01 23:49:28 +00:00
Holmes Futrell
6b02e2aeb6 Modified OpenGL ES render driver to support new SDL_RenderFill, SDL_RenderLine, and SDL_RenderPoint.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403411
2009-01-01 23:47:33 +00:00
Holmes Futrell
bfa8620949 Re-enabled joystick support during compilation.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403410
2009-01-01 23:01:05 +00:00
Sam Lantinga
9e2744e7fa 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403409
2009-01-01 21:34:22 +00:00
Sam Lantinga
9e1365dbe8 Kicking off the great SDL Bug Hunt for January 2009
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403408
2009-01-01 19:42:48 +00:00
Sam Lantinga
2184f43b1c Fixed DirectColor visual window creation problem
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403407
2009-01-01 18:58:26 +00:00
Sam Lantinga
1b7ca906c0 Windows line drawing support is implemented
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403406
2009-01-01 18:49:43 +00:00
Sam Lantinga
6891f04606 Oh yeah, it's an XInput symbol
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403405
2009-01-01 08:22:20 +00:00
Sam Lantinga
2191586507 indent
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403404
2009-01-01 08:21:19 +00:00
Sam Lantinga
4bc10ea08f Added missing symbol
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403403
2009-01-01 08:19:56 +00:00
Sam Lantinga
57fa80fc86 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

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403402
2009-01-01 07:59:08 +00:00
Ryan C. Gordon
30768ab2aa Audio driver priority: favor PulseAudio and ALSA over OSS.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403401
2009-01-01 07:58:20 +00:00
Ryan C. Gordon
0e24b20c3b 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).

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403400
2009-01-01 07:54:58 +00:00
Sam Lantinga
6611747b8f Removed unused variable
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403399
2008-12-31 08:05:21 +00:00
Sam Lantinga
599fb25b17 iPhone build compiles again (drawing routines need to be implemented)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403398
2008-12-31 07:56:56 +00:00
Sam Lantinga
42a2b85bc5 Added testdraw2 to Visual C++ tests
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403397
2008-12-31 07:35:55 +00:00
Sam Lantinga
61268c787d Fixed logic problem with SDL_RestoreWindow()
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403396
2008-12-31 07:11:53 +00:00
Sam Lantinga
32abe02338 indent
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403395
2008-12-31 06:18:33 +00:00
Sam Lantinga
1b875a5a28 Implemented Direct3D line and point drawing
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403394
2008-12-31 06:17:24 +00:00
Sam Lantinga
bfbe8d8488 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403393
2008-12-30 17:09:42 +00:00
Sam Lantinga
14ddac6468 Date: Mon, 29 Dec 2008 23:29:52 +0100
From: Couriersud

I have attached the latest DirectFB changes.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403392
2008-12-30 17:02:53 +00:00
Sam Lantinga
f49c8bb557 indent
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403391
2008-12-30 17:02:06 +00:00
Sam Lantinga
a6a8062f6c Fixed missing return value
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403390
2008-12-30 07:15:46 +00:00
Sam Lantinga
3fc02a176b SetDrawColor() and SetDrawBlendMode() are optional
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403389
2008-12-30 07:14:11 +00:00
Sam Lantinga
b876226c2f 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403388
2008-12-30 04:38:39 +00:00
Sam Lantinga
2b206b6e63 Swapped functions to match the other renderer files
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403387
2008-12-30 04:22:24 +00:00
Sam Lantinga
a3c4791761 Added project for testdraw2
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403386
2008-12-30 03:54:34 +00:00
Sam Lantinga
8312eae257 Visual C++ 5 and 6 are no longer supported. You can use Visual C++ Express Edition to build SDL.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403385
2008-12-30 03:51:20 +00:00
Sam Lantinga
63191e7a8b Significant performance boost with blend mode none
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403384
2008-12-29 19:48:01 +00:00
Sam Lantinga
5ab1d77623 Don't forget OpenGL 3.0 support
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403383
2008-12-25 05:39:54 +00:00
Sam Lantinga
08e0277512 indent
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403382
2008-12-25 05:26:29 +00:00
Sam Lantinga
c553683086 Fixed compiling Windows renderers. Lines and points will be implemented later.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403381
2008-12-25 05:16:18 +00:00
Sam Lantinga
c53a7c6ca2 Updated to build on Windows
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403380
2008-12-25 05:11:29 +00:00
Sam Lantinga
30af8c9442 Updated project with new source files
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403379
2008-12-25 04:56:44 +00:00
Sam Lantinga
6a3665cb25 Fixed pitch alignment problem causing MITSHM error on 16-bit displays
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403378
2008-12-25 04:42:28 +00:00
Sam Lantinga
92f0abc075 Fixed CPU feature detection on x86_64 platform
(registers were being corrupted, causing crashes)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403377
2008-12-24 13:13:38 +00:00
Sam Lantinga
4f65eb9602 Correct the test program
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403376
2008-12-24 13:04:18 +00:00
Sam Lantinga
f17910095b Don't unlock a surface we didn't lock
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403375
2008-12-24 12:17:25 +00:00
Sam Lantinga
03955f8e47 Fixed clipping source rect to match destination rect clipping
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403374
2008-12-23 04:51:36 +00:00