Sam Lantinga
46ad1ad5d6
Bug fixes to the OpenGL renderer
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401966
2006-07-22 18:01:56 +00:00
Sam Lantinga
2fe561616a
Convert SDL_malloc to SDL_calloc if appropriate, slightly faster on operating systems which map the zero page for memory allocations.
...
OpenGL renderer in progress
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401965
2006-07-22 08:33:18 +00:00
Sam Lantinga
2b538200ba
Fixed to compile while the OpenGL renderer is under construction
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401964
2006-07-19 08:46:57 +00:00
Sam Lantinga
397be19fd2
Starting on the OpenGL renderer...
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401963
2006-07-19 07:18:45 +00:00
Sam Lantinga
cfe0a80302
Implemented scaling in the D3D renderer
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401962
2006-07-19 05:45:42 +00:00
Sam Lantinga
9eea51e280
Implemented blend modes in the D3D renderer
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401961
2006-07-19 05:03:21 +00:00
Sam Lantinga
f2c829616b
Implemented multi-window OpenGL program with test framework.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401960
2006-07-19 04:24:41 +00:00
Sam Lantinga
e0a8c14a39
Implemented Windows OpenGL support
...
Fixed slowdown enumerating display modes, which was hosing OpenGL as well...
Removed SDL_ from the render driver prefixes
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401958
2006-07-17 06:47:33 +00:00
Sam Lantinga
2eed452d04
Setting up the OpenGL support
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401957
2006-07-16 09:34:01 +00:00
Sam Lantinga
89484fea07
Create a fake desktop mode for windowed mode apps
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401956
2006-07-16 03:35:44 +00:00
Sam Lantinga
0bd0f1331b
Look at environment variables in SDL_VideoInit() and SDL_AudioInit()
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401954
2006-07-15 19:30:18 +00:00
Sam Lantinga
a73c49024f
Implemented fully featured dummy renderer
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401953
2006-07-15 19:29:42 +00:00
Sam Lantinga
d5d8761b60
Streamlined the API a bit and optimized the software renderer.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401952
2006-07-15 09:46:36 +00:00
Sam Lantinga
dfe1ea2171
Changed the name of the dummy renderer
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401951
2006-07-14 08:24:43 +00:00
Sam Lantinga
0212981bc2
Prefer the D3D renderer over GDI, at least for testing.
...
Added support for the SDL_VIDEO_RENDERER environment variable to pick the desired render driver.
Implemented WritePixels support for the D3D renderer.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401950
2006-07-14 08:22:45 +00:00
Sam Lantinga
e920af3d1b
Yay! D3D renderer works!
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401949
2006-07-14 07:41:16 +00:00
Sam Lantinga
5877021286
More of the Direct3D renderer is implemented, I'm not sure why it's not showing texture copies yet...
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401948
2006-07-14 06:40:53 +00:00
Sam Lantinga
9cbad57c92
Removed libc dependency on Windows again, to fix building with Visual C++ 2005 Express Edition.
...
Fixed performance problem with testsprite2 on the D3D driver.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401946
2006-07-13 08:13:02 +00:00
Sam Lantinga
ddce62b162
First stab at a D3D renderer, only 30FPS so far... ?
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401945
2006-07-12 09:25:17 +00:00
Sam Lantinga
8b10359107
debug cleanup
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401944
2006-07-12 08:09:57 +00:00
Sam Lantinga
4beaa4e63c
Playing around, trying to find a fast path with GDI
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401943
2006-07-12 07:01:35 +00:00
Sam Lantinga
d1be2d9e1c
Solved the performance problems by introducing the concept of a single-buffered
...
display, which is a fast path used for the whole-surface SDL 1.2 API.
Solved the flicker problems by implementing a backbuffer in the GDI renderer.
Unfortunately, now using the GDI renderer with a backbuffer and HBITMAPs is
significantly slower than SDL's surface code. *sigh*
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401942
2006-07-12 06:39:26 +00:00
Sam Lantinga
0f030a1802
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401938
2006-07-10 21:04:37 +00:00
Sam Lantinga
d856d38658
Fix for bug #240
...
Christian Walther contributed Cocoa cursor code.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401897
2006-06-24 17:36:55 +00:00
Sam Lantinga
642baf6edb
Fixed bug #258
...
Account for the menu height in AdjustWindowRectEx()
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401892
2006-06-24 04:30:01 +00:00
Sam Lantinga
684d11f9fd
Fixed bug #255
...
Fixed memory leaks in the windib driver.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401890
2006-06-24 03:41:14 +00:00
Sam Lantinga
9f57178bfb
Fixed bug #260
...
Fixed SDL_GL_SWAP_CONTROL on Windows, and the query on Linux
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401888
2006-06-24 01:59:43 +00:00
Ryan C. Gordon
90b3fbb429
Swizzle ALSA channels for 5.1 output to match DirectSound and CoreAudio.
...
Untested, but potentially fixes Bugzilla #110 .
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401883
2006-06-23 08:35:48 +00:00
Sam Lantinga
d9c54aecc1
Fixed bug #69
...
Hopefully this takes care of most of the audio dropouts in Windows
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401882
2006-06-23 08:15:47 +00:00
Sam Lantinga
f955c92364
Fixed bug #147
...
Only enable Unicode key events if Unicode translation is enabled.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401881
2006-06-23 04:27:55 +00:00
Ryan C. Gordon
6ba30e1368
Minor bit of sanity-checking debug info in dynamic X11 code.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401879
2006-06-23 02:16:49 +00:00
Sam Lantinga
65be12979c
Renamed, per Mike's comment on bug #157
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401877
2006-06-21 08:26:05 +00:00
Sam Lantinga
06d61220cc
Renamed, per Mike's comment on bug #157
...
--HG--
rename : src/hermes/common.asm => src/hermes/common.inc
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401876
2006-06-21 08:25:28 +00:00
Sam Lantinga
d94573621a
Fixed bug #157
...
[patch tweaked to handle older nasm, which doesn't support :function syntax]
------- Comment #5 From Mike Frysinger 2006-05-22 01:24 [reply] -------
Created an attachment (id=132) [edit]
libsdl-hidden-nasm.patch
here's the patch i posted here:
http://www.libsdl.org/pipermail/sdl/2006-March/073618.html
this will hide the symbols dynamically if the build nasm/yasm supports the
hidden stuff ... in other words, this patch should be safe with both older and
new versions of nasm/yasm
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401873
2006-06-21 07:57:34 +00:00
Sam Lantinga
fdfcc79761
Date: Fri, 9 Jun 2006 11:35:23 +0300
...
From: "Janne Junnila"
Subject: [SDL] SDL_SetGamma bug
You can't set the the gamma 'brighter' than 1.0. There's a patch attached.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401869
2006-06-20 06:50:42 +00:00
Sam Lantinga
e64b9862f0
Fixed bug #251
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401865
2006-06-20 05:55:23 +00:00
Sam Lantinga
e3993a9c60
I think this fixes bug #244
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401860
2006-06-20 05:35:44 +00:00
Sam Lantinga
d565a14593
Fixed bug #241
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401858
2006-06-20 05:25:04 +00:00
Sam Lantinga
f9881b12fa
Fixed bug #232
...
------- Comment #2 From Matthias Geissert 2006-05-24 07:54 [reply] -------
See http://dri.sourceforge.net/doc/DRIuserguide.html , section 11.5. There is
written that you need to use RTLD_GLOBAL, since, otherwise, nested open of
dynamic libraries doesn't work. However, This is necassary in this case, since
libGL opens the hardware-specific driver/library. I hope this helps you.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401855
2006-06-20 03:52:41 +00:00
Patrice Mandin
4e4aa03a8c
Fix mouse cursor change
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401843
2006-06-14 18:57:58 +00:00
Sam Lantinga
f2d67baf34
Moved DirectInput joystick code to 1.3 branch
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401821
2006-05-21 17:26:40 +00:00
Sam Lantinga
fe915b7a0a
Closed bug #74
...
Added DirectInput joystick code, contributed by Glenn Maynard.
This fixes a problem with the Windows Multimedia joystick driver
not showing all 6 axes on a GameCube controller converter, which
was donated by Jacob Kolding.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401820
2006-05-21 16:47:41 +00:00
Ryan C. Gordon
722e73af32
Removed unused variable with undefined type. Fixes Bugzilla #234 .
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401819
2006-05-21 02:50:05 +00:00
Ryan C. Gordon
1e7ce9a960
Try to keep SDL keysyms sane regardless of keyboard layout in windib target.
...
Fixes Bugzilla #164 .
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401817
2006-05-18 03:24:10 +00:00
Ryan C. Gordon
f60db1758a
Make sure sem_wait didn't return early with EINTR. Fixes Bugzilla #231 .
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401816
2006-05-17 23:42:48 +00:00
Sam Lantinga
90a334ec54
Fixed thread callback calling conventions, updated OS/2 DLL name to SDL12.dll
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401815
2006-05-17 18:57:04 +00:00
Sam Lantinga
dc00237efc
Fixed uninitialized variable warnings
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401813
2006-05-17 15:08:46 +00:00
Sam Lantinga
c1d479762f
Updated RPM spec file with License keyword
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401808
2006-05-17 06:09:27 +00:00
Sam Lantinga
38fd0dc83a
Patch from Ryan to fix compiler warnings
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401803
2006-05-17 04:01:53 +00:00
Sam Lantinga
15bcc2d457
Use the correct parameter for GLX_VISUAL_CAVEAT_EXT
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401802
2006-05-16 16:25:22 +00:00