Sam Lantinga
2e91636dda
More work in progress integrating SDL_Surface and the new SDL_Texture API
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402628
2007-08-18 01:44:21 +00:00
Sam Lantinga
79f25b0b9e
Moved the colorkey and per-surface alpha into the blit info,
...
in preparation for support for general color channel modulation.
Removed and consolidated some data in the blit info.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402619
2007-08-17 00:54:53 +00:00
Sam Lantinga
37fe3a93e6
Removed hermes since it's LGPL and not compatible with a commercial license.
...
Prepping for using MMX and SSE intrinsics instead of inline assembly.
.. except for memcpy equivalents which only get faster if they can
exploit the parallelism of loading into multiple SIMD registers. :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402609
2007-08-15 08:21:10 +00:00
Sam Lantinga
bb3b316228
Date: Wed, 15 Aug 2007 01:08:38 +0200
...
From: Couriersud
Subject: Some SDL1.3 patches
fixed a compiler warning
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402604
2007-08-15 03:20:55 +00:00
Sam Lantinga
6b348f07c7
Emphasized the separation between SDL_Surface and SDL_Texture
...
- SDL_Surface is a system memory representation of pixel data
- SDL_Texture is a video memory representation of pixel data
The concept of SDL_Surface with SDL_HWSURFACE is no longer used.
Separated SDL_Texture types by usage rather than memory type
- SDL_TEXTUREACCESS_STATIC is for rarely changed pixel data,
can be placed in video memory.
- SDL_TEXTUREACCESS_STREAMING is for frequently changing pixel
data, usually placed in system memory or AGP memory.
Optimized the SDL_compat usage of the OpenGL renderer by only
using one copy of the framebuffer instead of two.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402584
2007-08-11 20:54:31 +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
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
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
e7c690e52e
Oh yeah, they're boolean values...
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402458
2007-07-10 05:29:56 +00:00
Sam Lantinga
1330dc92d3
Updated to use size_t instead of int for amounts of data.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402457
2007-07-10 05:25:19 +00:00
Sam Lantinga
8daaa10d40
Merged read-ahead support for Win32 file I/O from SDL 1.2 revision 3183
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402456
2007-07-10 05:01:22 +00:00
Sam Lantinga
203416ced2
Fixed bug #451
...
SDL_memset4 copies a 32-bit value, not an 8-bit value.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402444
2007-07-08 14:24:55 +00:00
Sam Lantinga
82e02091bc
Reverted mousewheel support in 1.2, since it breaks binary compatibility.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402431
2007-07-06 13:45:10 +00:00
Sam Lantinga
43e5d2b938
Fixed bug #382
...
Added horizontal scrolling support
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402428
2007-07-06 09:22:18 +00:00
Sam Lantinga
1066adb528
Fix for bug #447 merged from SDL 1.2
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402408
2007-07-04 08:01:04 +00:00
Sam Lantinga
5d2577791f
Fixed bug #349
...
Solaris doesn't support the LATIN1 character set alias.
Merged from 1.2 svn revision 3133f
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402406
2007-07-04 07:08:16 +00:00
Ryan C. Gordon
0bc6c747b8
Patched to compile (missing #endif from a mismerge). Thanks to Peter Mackay
...
for pointing it out.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402392
2007-06-29 11:08:53 +00:00
Sam Lantinga
d3a9b053cd
Merge iconv const changes from 1.2
...
I'm not entirely happy with them. Maybe the right way to go is to leave
SDL_iconv() taking a non-const inbuf? How often are we converting const
strings anyway?
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402388
2007-06-28 06:57:08 +00:00
Ryan C. Gordon
29fe04615f
Fixed previous VC6 patch.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402374
2007-06-21 18:50:00 +00:00
Ryan C. Gordon
04255e0015
Merged r3094:3095 from branches/SDL-1.2: Visual C++ 6.0 fixes.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402372
2007-06-21 18:21:49 +00:00
Bob Pendleton
5bb1d2ceb7
Added a WindowID to the user event and cleaned up a little bit of formating
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402370
2007-06-20 00:01:04 +00:00
Sam Lantinga
80dcd123dc
Key repeat is handled by the OS, since text input is now decoupled from physical key events.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402368
2007-06-16 15:32:04 +00:00
Ryan C. Gordon
cbe1b1f5e0
Removed EPOC port from the 1.3 branch.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402362
2007-06-15 15:54:07 +00:00
Ryan C. Gordon
dd54d0a607
Merged r3075:3076 from branches/SDL-1.2: Careful with __inline__ #define.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402355
2007-06-15 07:21:01 +00:00
Sam Lantinga
554147b6c7
make indent
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402345
2007-06-14 13:21:29 +00:00
Ryan C. Gordon
152b74331d
Merged r3037:3038 from branches/SDL-1.2: Mac OS X memcpy/memset selection.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402325
2007-06-03 08:39:23 +00:00
Ryan C. Gordon
dfd9387039
Merged r3007:3008 from branches/SDL-1.2: MapRGB/MapRGBA const correctness.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402299
2007-04-04 09:43:53 +00:00
Ryan C. Gordon
a71b4bf05d
Merge of r2554:2995 from branches/SDL-1.2: AvailabilityMacros.h for Mac OS X.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402287
2007-03-27 00:39:03 +00:00
Ryan C. Gordon
aa48694b67
Merged r2981:2982 from branches/SDL-1.2: fbcon getpagesize() compile fix.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402274
2007-02-15 23:57:07 +00:00
Ryan C. Gordon
d4e3fdd999
Merged r2956:2957 from branches/SDL-1.2: Digital Mars stdint.h usage.
...
Fixes Bugzilla #376 .
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402262
2007-02-12 11:46:08 +00:00
Ryan C. Gordon
84c4a54d7a
Merge r2918:2919 from 1.2 branch: alloca macro params in parentheses.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402241
2006-11-29 10:34:05 +00:00
Ryan C. Gordon
2a14d5cdca
Fixed building of Windows waveout audio.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402228
2006-11-11 06:48:57 +00:00
Ryan C. Gordon
28c9fb92a1
Removed AmigaOS code for 1.3 branch.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402215
2006-10-29 04:09:17 +00:00
Sam Lantinga
05a29201de
indent is evil
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402208
2006-10-28 16:48:03 +00:00
Ryan C. Gordon
0089ba6cbe
Merged SDL-ryan-multiple-audio-device branch r2803:2871 into the trunk.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402195
2006-10-17 09:15:21 +00:00
Ryan C. Gordon
c500a06379
Double Whoops. :P
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402132
2006-10-01 16:10:41 +00:00
Sam Lantinga
e870669bee
Whoops. :)
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402131
2006-10-01 16:07:32 +00:00
Sam Lantinga
4ecb44b166
Formatting update
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402120
2006-09-24 15:56:55 +00:00
Sam Lantinga
c18cc10c08
Fixed bug #329
...
On tracing it turns out to fail from SDL_WM_SetCaption()
On going through the function it looks like the SDL_free() function is called
every alternate time with an invalid pointer that has already been freed.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402101
2006-09-23 22:51:37 +00:00
Sam Lantinga
2dc5a97f17
Cleanup for the last checkin
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402033
2006-08-28 03:27:59 +00:00
Sam Lantinga
fdafca64b3
Added source color and alpha modulation support.
...
Added perl script to generate optimized render copy functions.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402032
2006-08-28 03:17:39 +00:00
Ryan C. Gordon
aebbf8cb6e
Added SDL_SwapFloat* function/macros. Reference Bugzilla #293 .
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402031
2006-08-24 12:49:59 +00:00
Ryan C. Gordon
3c0e34ea51
Forgot to check in updated SDL_audio.h ...
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402030
2006-08-24 12:48:16 +00:00
Sam Lantinga
03794d9be1
The GGI driver hasn't been maintained in 8 years. It's probably safe to remove. :)
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402028
2006-08-10 15:15:06 +00:00
Sam Lantinga
d5f1b58e5d
Missed a Qtopia change.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402027
2006-08-10 14:55:45 +00:00
Sam Lantinga
d942ec3207
MacOS Classic is no longer supported.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402025
2006-08-10 14:54:23 +00:00
Sam Lantinga
f63cb9f282
David Hedbor is no longer maintaining the Qtopia code.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402024
2006-08-10 14:35:42 +00:00
Sam Lantinga
461c8e2db4
Clarified the difference between render drivers and render contexts
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402016
2006-08-06 00:09:04 +00:00
Sam Lantinga
e36015a36c
Updated header documentation
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402015
2006-08-05 22:41:33 +00:00
Sam Lantinga
a90680c736
In general, fill in pointers to structures, rather than return them.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402014
2006-08-05 22:34:23 +00:00