Commit Graph

2359 Commits

Author SHA1 Message Date
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
Sam Lantinga
8f182d2156 indent 2008-11-25 02:21:53 +00:00
Sam Lantinga
5445c3f318 Fixed bug with converting colorkey surface to texture 2008-11-25 02:12:19 +00:00
Sam Lantinga
cb6c4de7d8 2008-11-25 00:48:25 +00:00
Sam Lantinga
b0b75884f3 Fixed Direct3D rendering 2008-11-25 00:29:44 +00:00
Sam Lantinga
1394a9a4dc Added testsprite test projects for Visual Studio 2008-11-24 23:55:18 +00:00
Sam Lantinga
6a2047e7ea Added software fallback for YUV overlay code when YUV textures aren't available. 2008-11-24 23:25:36 +00:00
Sam Lantinga
1e813b5f4d Disable spurious warning 2008-11-24 21:43:02 +00:00
Sam Lantinga
825b0b08f1 Fixed Bugzilla bug #205
Removed SDL_KillThread() from the API, as it isn't safe on many platforms.
2008-11-24 00:18:42 +00:00
Sam Lantinga
93b7d9e6f8 Preliminary support for YUV textures 2008-11-22 06:59:22 +00:00
Sam Lantinga
21695e01dc Adding SDL 1.3 release checklist, so we start getting a list of must-have features and bug fixes for a 1.3 release 2008-11-17 18:50:50 +00:00
Sam Lantinga
5ea99603f1 Sort by HID usage, which makes more sense and is more cross-platform 2008-11-08 07:34:21 +00:00
Sam Lantinga
94a87d0813 We'd never port SDL to Minix... would we? :) 2008-10-29 05:56:23 +00:00
Sam Lantinga
1d7c497a17 Added dummy shared object files, fixing linker errors 2008-10-18 04:03:41 +00:00
Sam Lantinga
3cd42cfe35 2008-10-18 03:21:32 +00:00
Sam Lantinga
ffeaf1e896 Added the SDL_haptic files to the project 2008-10-16 12:35:28 +00:00
Sam Lantinga
c1dc5d87c3 Disabled the Haptic API on iPhone, changed the order of the header to match
the other config headers.
2008-10-16 12:22:56 +00:00
Edgar Simo
ada44e87d4 Fixed compilation on mingw32. 2008-10-14 18:28:28 +00:00
Sam Lantinga
ab3c4fb876 Added missing math.h functionality for SDL_audiocvt.c 2008-10-12 16:30:42 +00:00
Sam Lantinga
24fa5e3a47 Don't include <math.h> when HAVE_MATH_H isn't defined 2008-10-12 16:21:36 +00:00
Sam Lantinga
45df39c52c This can be static 2008-10-12 16:15:43 +00:00
Sam Lantinga
94879f84f3 Fixed memory leak in raw mouse input processing.
Corrected the mouse button indices.
2008-10-12 16:05:34 +00:00
Sam Lantinga
92c3984118 Final merge of Google Summer of Code 2008 work...
Bring SDL to iPhone and iPod Touch
by Holmes Futrell, mentored by Sam Lantinga
2008-10-04 06:46:59 +00:00
Ryan C. Gordon
c8c0e07da9 Add XInput support to Xcode project (untested!). 2008-09-17 08:24:51 +00:00
Ryan C. Gordon
5b27f96366 Some cleanups on the new XInput code.
One or two things got moved around, but largely this is hooked up correctly
 in the Unix configure system now: it can be dynamically loaded and fallback
 gracefully if not available, or libXi can be directly linked to libSDL.

XInput support can be --disable'd from the configure script, too (defaults to
 enabled).

Please note that while the framework is in place to gracefully fallback, the
 current state of the source requires XInput. We'll need to adjust a few
 things still to correct this.
2008-09-17 08:20:57 +00:00
Ryan C. Gordon
83e289b238 Removed zap_ptr hack from Bugzilla #602...it was incorrect.
(The actual bug was in SDL code removed from the 1.3 codebase.)
2008-09-15 20:48:51 +00:00
Sam Lantinga
258a2014c7 Almost got this compiling on Cygwin32, just needs DirectInput 7 2008-09-15 08:41:03 +00:00