Sam Lantinga
da98d71bff
Removing DGA support for SDL 1.3 - it's still buggy years later, and now
...
it's deprecated by the developers in favor of the render APIs.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401986
2006-07-26 03:06:07 +00:00
Sam Lantinga
695c12d655
SDL applications no longer need to link with Cocoa (unless they want to)
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401985
2006-07-25 07:25:51 +00:00
Sam Lantinga
c5da9eeff1
Actually use the function we took the trouble to get the pointer for.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401984
2006-07-25 07:14:40 +00:00
Sam Lantinga
7c4bd5839a
Fixed Objective-C memory leaks
...
Send an SDL quit event when Command-Q is pressed.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401983
2006-07-25 06:59:14 +00:00
Sam Lantinga
79452369ef
Implemented OpenGL support on Mac OS X
...
The OpenGL renderer works without changes, yay! :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401982
2006-07-25 06:22:42 +00:00
Ryan C. Gordon
941ef5db91
Patch from 1.2 branch...fix compilation on Qtopia video target (reference
...
Bugzilla #285 ).
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401981
2006-07-24 23:30:14 +00:00
Sam Lantinga
1474493514
Implemented Mac OS X video mode selection.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401979
2006-07-24 07:21:16 +00:00
Sam Lantinga
56c1ba8073
Implemented Cocoa window support
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401978
2006-07-24 05:03:02 +00:00
Sam Lantinga
44f7f92b8a
Whoops, that's a while loop. :)
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401977
2006-07-23 09:16:14 +00:00
Sam Lantinga
6822a805b4
The Mac OS X Cocoa video driver is under construction...
...
Note that SDLmain is no longer necessary on Mac OS X. :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401976
2006-07-23 09:11:10 +00:00
Sam Lantinga
d4e887aa04
Fixed compiler warnings
...
Updated Visual C++ 2005 project
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401975
2006-07-23 00:55:25 +00:00
Sam Lantinga
74b85ef7fe
Added an environment variable to select which driver the software renderer will use.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401974
2006-07-23 00:48:12 +00:00
Sam Lantinga
1d8a5a2349
Fixed crash with multiple windows
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401973
2006-07-23 00:19:12 +00:00
Sam Lantinga
e06b514882
OpenGL renderer is feature complete!
...
Dynamically load GL functions in the OpenGL renderer.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401972
2006-07-22 23:04:41 +00:00
Sam Lantinga
c05ca3687f
Added SDL_GL_ExtensionSupported()
...
Use GL_ARB_texture_rectangle in the OpenGL renderer, if supported.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401971
2006-07-22 21:58:17 +00:00
Sam Lantinga
f4ac9ed70c
Query the maximum texture size for the D3D renderer.
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401970
2006-07-22 21:17:37 +00:00
Sam Lantinga
75ff5f31f2
If the OpenGL renderer is selected for a non-OpenGL window, recreate the window with OpenGL enabled.
...
Added OpenGL renderer error checking.
Use fast-path texture formats in the OpenGL renderer.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401969
2006-07-22 21:02:57 +00:00
Sam Lantinga
68df2209ba
Switch OpenGL contexts when switching render contexts.
...
Query the maximum texture size and show the current render parameters.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401968
2006-07-22 19:51:48 +00:00
Sam Lantinga
5c1901a93d
Fixed OpenGL blend modes, added power of 2 texture code
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401967
2006-07-22 19:03:31 +00:00
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
3b997f233d
Added a test program framework for easy initialization.
...
Started work on multi-window OpenGL demo
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401959
2006-07-18 07:49:51 +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
104c5abf24
Fixed building on Mac OS X without the Carbon and Cocoa video drivers
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401955
2006-07-16 03:32:06 +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
38e7a926a2
Updated Visual C++ 2005 project
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401947
2006-07-13 08:15:35 +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
58d76aea10
Updated the snapshot build target to reflect the new source location
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401940
2006-07-10 21:23:51 +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
Patrice Mandin
91a32b77a2
sdl.pc is in build directory, not source
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401925
2006-07-06 18:01:37 +00:00
Sam Lantinga
bcc7227e38
Include sdl.pc in the development RPM
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401915
2006-06-27 04:58:26 +00:00
Sam Lantinga
650269aca5
Added 1.2.11 patch notes
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401914
2006-06-27 04:33:31 +00:00
Sam Lantinga
862de2d82b
Fixed libiconv detection
...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401911
2006-06-26 16:20:51 +00:00