Commit graph

2560 commits

Author SHA1 Message Date
Sam Lantinga
0f0dfe230b Fixed the list of supported YUV formats
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403272
2008-11-30 23:42:33 +00:00
Sam Lantinga
ace68e0a7c Implemented the X11 (non-OpenGL) renderer, no alpha or scaling available.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403271
2008-11-30 21:58:23 +00:00
Sam Lantinga
5632821dd0 Temporary fix for Mac OS X crash in textoverlay
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403270
2008-11-29 21:48:14 +00:00
Sam Lantinga
8e1f968f50 Whoops, we need this for subrect updates (testsprite)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403269
2008-11-29 15:32:14 +00:00
Sam Lantinga
fb253660b5 The SDL_RLEACCEL flag is respected in SDL_ConvertSurface(), per the docs.
Fixed saving BMP files of surfaces with an alpha channel.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403268
2008-11-29 11:26:01 +00:00
Sam Lantinga
7a4a712978 Fixed testalpha screen clear for screen formats with an alpha channel
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403267
2008-11-29 11:24:18 +00:00
Sam Lantinga
b64cf8229c Preserve the desire for RLE acceleration
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403266
2008-11-29 10:43:50 +00:00
Sam Lantinga
c81d1708ba Fixed crash in glTexSubImage2D() with testoverlay on Mac OS X.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403265
2008-11-29 06:29:33 +00:00
Sam Lantinga
f6ac2f5c20 Fixed the texture format for the software fallback
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403264
2008-11-29 06:27:26 +00:00
Sam Lantinga
4dd90ea023 Fixed SW_SetTextureScaleMode()
Use RLE acceleration for static textures in the software renderer.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403263
2008-11-29 00:11:35 +00:00
Sam Lantinga
966af920a2 Fixed copy blit detection
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403262
2008-11-29 00:10:59 +00:00
Sam Lantinga
9c7eee3fc0 Added ARGB8888 destination format (used on Mac OS X)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403261
2008-11-29 00:08:29 +00:00
Sam Lantinga
79a929ff00 Again, map the color with the alpha channel filled in.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403260
2008-11-28 20:09:32 +00:00
Sam Lantinga
3446f888c5 Fixed crash in testalpha. I think this was supposed to clear those bits. :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403259
2008-11-28 19:59:46 +00:00
Sam Lantinga
843bc58619 Map to black, not necessarily 0
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403258
2008-11-28 17:44:28 +00:00
Sam Lantinga
30d4fc124c Clear the screen to actual black based on the format of the screen.
Use a better texture format for YUV overlay software fallbacks

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403257
2008-11-28 17:42:40 +00:00
Sam Lantinga
8ae88d7987 Set the alpha mask fixing software rendering in OpenGL
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403256
2008-11-27 22:11:01 +00:00
Sam Lantinga
ad090cd0f8 Fixed mouse coordinate range on Mac OS X
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403255
2008-11-27 21:53:18 +00:00
Sam Lantinga
be449ce8ef RemDisabled some video drivers which are not converted to 1.3 yet
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403254
2008-11-27 05:29:12 +00:00
Sam Lantinga
cba90d1ff7 Show the grey background first before starting to blit sprites
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403253
2008-11-27 04:51:34 +00:00
Sam Lantinga
84ebed84ce 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

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403252
2008-11-26 21:59:35 +00:00
Sam Lantinga
4757b1339c Both testsprite and testsprite2 use a grey background
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403251
2008-11-26 15:52:00 +00:00
Sam Lantinga
39969245f8 Fixed bug #605, per Martin's suggestion
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403250
2008-11-25 20:06:27 +00:00
Sam Lantinga
22598bbc06 Updated with latest glext.h
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403249
2008-11-25 08:40:52 +00:00
Sam Lantinga
228035d0f3 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403248
2008-11-25 05:29:14 +00:00
Sam Lantinga
a733eee1b8 indent
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403247
2008-11-25 02:21:53 +00:00
Sam Lantinga
de690ebe5d Fixed bug with converting colorkey surface to texture
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403246
2008-11-25 02:12:19 +00:00
Sam Lantinga
f341bd32dd --HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403245
2008-11-25 00:48:25 +00:00
Sam Lantinga
32593c2bac Fixed Direct3D rendering
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403244
2008-11-25 00:29:44 +00:00
Sam Lantinga
4123b08dad Added testsprite test projects for Visual Studio
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403243
2008-11-24 23:55:18 +00:00
Sam Lantinga
4bab1880be Added software fallback for YUV overlay code when YUV textures aren't available.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403242
2008-11-24 23:25:36 +00:00
Sam Lantinga
de5363f399 Disable spurious warning
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403241
2008-11-24 21:43:02 +00:00
Sam Lantinga
ad347d4a12 Fixed Bugzilla bug #205
Removed SDL_KillThread() from the API, as it isn't safe on many platforms.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403240
2008-11-24 00:18:42 +00:00
Sam Lantinga
35c71403d7 Preliminary support for YUV textures
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403239
2008-11-22 06:59:22 +00:00
Sam Lantinga
6968453f53 Adding SDL 1.3 release checklist, so we start getting a list of must-have features and bug fixes for a 1.3 release
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403238
2008-11-17 18:50:50 +00:00
Sam Lantinga
eb0b9dc85d Sort by HID usage, which makes more sense and is more cross-platform
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403236
2008-11-08 07:34:21 +00:00
Sam Lantinga
2b777b84e2 We'd never port SDL to Minix... would we? :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403233
2008-10-29 05:56:23 +00:00
Sam Lantinga
d038317146 Added dummy shared object files, fixing linker errors
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403232
2008-10-18 04:03:41 +00:00
Sam Lantinga
718be08c8d --HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403231
2008-10-18 03:21:32 +00:00
Sam Lantinga
bee883691b Added the SDL_haptic files to the project
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403230
2008-10-16 12:35:28 +00:00
Sam Lantinga
fcad6b2cef Disabled the Haptic API on iPhone, changed the order of the header to match
the other config headers.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403229
2008-10-16 12:22:56 +00:00
Edgar Simo
3f60e7f826 Fixed compilation on mingw32.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403228
2008-10-14 18:28:28 +00:00
Sam Lantinga
105093d7b7 Added missing math.h functionality for SDL_audiocvt.c
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403226
2008-10-12 16:30:42 +00:00
Sam Lantinga
a3c6362a20 Don't include <math.h> when HAVE_MATH_H isn't defined
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403225
2008-10-12 16:21:36 +00:00
Sam Lantinga
55650e4354 This can be static
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403224
2008-10-12 16:15:43 +00:00
Sam Lantinga
6aff304ce5 Fixed memory leak in raw mouse input processing.
Corrected the mouse button indices.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403223
2008-10-12 16:05:34 +00:00
Sam Lantinga
c6ac35a2bb Final merge of Google Summer of Code 2008 work...
Bring SDL to iPhone and iPod Touch
by Holmes Futrell, mentored by Sam Lantinga

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403222
2008-10-04 06:46:59 +00:00
Ryan C. Gordon
338ff54f1e Add XInput support to Xcode project (untested!).
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403221
2008-09-17 08:24:51 +00:00
Ryan C. Gordon
c0f52b1262 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403220
2008-09-17 08:20:57 +00:00
Ryan C. Gordon
0d38b678ae Removed zap_ptr hack from Bugzilla #602...it was incorrect.
(The actual bug was in SDL code removed from the 1.3 codebase.)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403219
2008-09-15 20:48:51 +00:00