Commit graph

2135 commits

Author SHA1 Message Date
Sam Lantinga
74f6381b6c Some thoughts on 1.3 video written down
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402579
2007-08-07 06:04:27 +00:00
Bob Pendleton
c113a55054 changed to use SDL_realloc()
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402576
2007-07-26 17:58:17 +00:00
Bob Pendleton
a2ae281558 make indent
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402575
2007-07-25 21:23:28 +00:00
Bob Pendleton
bec234395c Added gamma table support to X11. Also now supports DirectColor visuals.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402574
2007-07-25 21:22:55 +00:00
Bob Pendleton
7d8af0a113 make indent
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402573
2007-07-24 18:46:45 +00:00
Sam Lantinga
3c6eee13ae Switched afxres.h to winresrc.h
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402571
2007-07-23 18:46:09 +00:00
Bob Pendleton
b6d3eab4b2 Oops, meant PsuedoColor not TrueColor
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402569
2007-07-23 16:55:38 +00:00
Sam Lantinga
87f2e5ee92 indent
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402567
2007-07-23 01:17:38 +00:00
Sam Lantinga
8b728544ee Added support for the --depth command line option
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402566
2007-07-23 01:11:52 +00:00
Sam Lantinga
9524d51857 Fixed bug #467
Remove trailing commas from enums

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402565
2007-07-22 13:22:47 +00:00
Sam Lantinga
316a61731f Unpacked project archives to get individual file history in subversion
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402564
2007-07-21 17:09:01 +00:00
Sam Lantinga
98ce0f8871 Better windres detection
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402554
2007-07-18 04:05:40 +00:00
Sam Lantinga
eba7e38433 Fixed bug #460
Added SDL_VIDEO_OPENGL_CGL to the default Mac OS X config file.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402552
2007-07-16 14:19:47 +00:00
Sam Lantinga
2094bfe8bf Added support for building version.rc in Windows build.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402549
2007-07-16 03:28:48 +00:00
Sam Lantinga
b22dc76535 Fixed bug #428
This fix is overkill, but approved by Doug Lea, and he'll be releasing a
new version of his malloc.c sometime next month.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402547
2007-07-16 00:08:35 +00:00
Sam Lantinga
304c4a50b8 Merged fix for bug #457 from SDL 1.2
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402545
2007-07-15 21:54:16 +00:00
Sam Lantinga
e2898c73af indent
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402544
2007-07-15 21:53:51 +00:00
Ryan C. Gordon
b98b6308d1 Merged r3292:3293 from branches/SDL-1.2: testjoystick verbose info.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402539
2007-07-15 17:25:59 +00:00
Sam Lantinga
6793a28d06 indent
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402537
2007-07-15 16:59:16 +00:00
Sam Lantinga
cfcb0787d2 Split acinclude.m4 into its component parts for easy updating
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402532
2007-07-15 01:51:11 +00:00
Ryan C. Gordon
01b58163f3 Merged r3261:3262 from branches/SDL-1.2: MMX/YUV with __OPTIMIZE__.
"Mac OS X/x86 won't build the MMX/YUV inline assembly without optimizations
 enabled (not enough registers), so for now, we only build it if we see
 the __OPTIMIZE__ #define, which GCC provides when you build at -O1 or higher."

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402528
2007-07-14 07:28:45 +00:00
Ryan C. Gordon
280618d6f5 Reverted r3255:3256. Don't actually need it unless the build is broken. :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402525
2007-07-14 07:05:19 +00:00
Ryan C. Gordon
3a31a8b822 Merged r3257:3258 from branches/SDL-1.2: unused MMX variables.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402524
2007-07-14 07:03:07 +00:00
Ryan C. Gordon
73619c3660 Merged r3255:3256 from branches/SDL-1.2: stdlib problem with SDL_memcpy macro.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402522
2007-07-14 06:46:33 +00:00
Patrice Mandin
f792ff238f Use correct function
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402520
2007-07-14 00:07:37 +00:00
Patrice Mandin
67cbe3bb0d Missing variable declarations
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402519
2007-07-14 00:03:04 +00:00
Patrice Mandin
5eb122882e Rename LockAudio,UnlockAudio to LockDevice,UnlockDevice. Also some small fixes
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402518
2007-07-13 23:58:22 +00:00
Patrice Mandin
39a207a501 Delete old files
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402517
2007-07-13 22:55:54 +00:00
Patrice Mandin
8947676265 Update GEM driver to new API, will have to fill the void later :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402516
2007-07-13 22:55:15 +00:00
Patrice Mandin
ff41113968 Disable video extensions atm
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402515
2007-07-13 22:52:53 +00:00
Patrice Mandin
d53ee909be Missing include file
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402514
2007-07-13 22:51:42 +00:00
Patrice Mandin
864ad7581d Simplify setting window title
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402512
2007-07-13 16:11:58 +00:00
Bob Pendleton
abcafc2125 This code adds support for DirectColor visuals to SDL 1.3. The support uses part of the Xmu library. To ensure that the library is
available and to keep people form having to install yet another library I have added the essential parts of Xmu in
src/video/extensions/XmuStdCmap and an include file in src/video/extensions. The support makes use of standard X11 mechanisms to
create color maps and make sure that an application uses the same color map for each window/visual combination. This should make it
possible for gamma support to be implemented based on a single color map per application.

Hurm... it looks like "make indent" modified a few extra files. Those are getting committed too.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402509
2007-07-12 20:00:50 +00:00
Sam Lantinga
942236ea2a Merged Ryan's patch from revision 3238 in SDL 1.2
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402507
2007-07-12 08:07:30 +00:00
Sam Lantinga
fc3b506099 Whoops, needed to remove the other version of getlocale()
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402504
2007-07-12 07:55:18 +00:00
Sam Lantinga
fc4cf4c9fc Fixed bug #455
If passed "" for the character set, let iconv_open() interpret it as
locale.

This was merged from revision 3234,3235 from SDL 1.2

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402503
2007-07-12 07:52:50 +00:00
Sam Lantinga
4a00054e18 Updated version to 1.3, added testgl2 test program
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402500
2007-07-12 07:02:44 +00:00
Sam Lantinga
a5ba7573a3 Yes, you need to set the pixel format before creating a context.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402499
2007-07-12 06:59:43 +00:00
Sam Lantinga
a154c5dad2 Visual C++ compiler warning fixes
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402498
2007-07-12 06:53:20 +00:00
Sam Lantinga
a3245a4e7c Creating a context makes it current, per the documentation.
Applied a variant of the multi-card OpenGL fix from SDL 1.2

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402497
2007-07-12 06:31:36 +00:00
Sam Lantinga
463ba0e0a6 Added note about SDL_config.h - merged from revision 3227 on SDL 1.2 branch
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402496
2007-07-12 05:32:07 +00:00
Sam Lantinga
9868189326 Fixed joystick name detection - merged from revision 3226 on SDL 1.2 branch
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402495
2007-07-12 05:31:08 +00:00
Sam Lantinga
53fac91c80 Warn Visual C++ users if they have a stale configure generated SDL_config.h
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402492
2007-07-12 03:14:49 +00:00
Sam Lantinga
bc4e3e95e3 indent
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402490
2007-07-11 14:52:13 +00:00
Sam Lantinga
a65843c05a indent
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402489
2007-07-11 14:51:49 +00:00
Sam Lantinga
e6e24a41f2 Fixed compiling YUV code
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402488
2007-07-11 14:50:21 +00:00
Sam Lantinga
20ec54e649 Fixed compiling the x11 driver
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402487
2007-07-11 14:49:44 +00:00
Sam Lantinga
b9e09cec0b Needed an autorelease pool around the NSText allocation
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402486
2007-07-11 14:44:28 +00:00
Sam Lantinga
f7ff123cf8 Added key composition support, courtesy of Kuon
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402485
2007-07-11 08:09:20 +00:00
Ryan C. Gordon
ffec21f2e4 Merged r3211:3213 from branches/SDL-1.2: YUV MMX inline asm for GCC.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402482
2007-07-11 07:39:01 +00:00