Commit graph

1889 commits

Author SHA1 Message Date
Sam Lantinga
c018c14412 Added window resize support for the software renderer
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402018
2006-08-06 04:57:28 +00:00
Sam Lantinga
a1ced0d971 Allow the render context to do necessary work when the video mode changes.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402017
2006-08-06 04:39:13 +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
Sam Lantinga
ade506e8d5 Removed old function
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402013
2006-08-05 17:12:22 +00:00
Sam Lantinga
bfe4f31c0e SDL constants are all uppercase.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402012
2006-08-05 17:09:42 +00:00
Ryan C. Gordon
7bc5cd5763 1.3 API proposals for audio subsystem. Nothing in here is guaranteed to
stay as-is! And none of it is implemented yet!

 Use at own risk!

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402011
2006-08-03 19:34:05 +00:00
Sam Lantinga
7b00c63ef6 Added SDL_GetCurrentVideoDisplay()
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402009
2006-08-02 03:20:52 +00:00
Sam Lantinga
8cff7eb76a Hack to stop the beeping
Fixed keyboard window focus.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402008
2006-07-30 08:09:20 +00:00
Sam Lantinga
3123b3cae3 Removed debug code. :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402007
2006-07-30 06:11:52 +00:00
Sam Lantinga
ef1639f220 Added numlock support
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402006
2006-07-30 06:11:24 +00:00
Sam Lantinga
f5ebc5ae8c Implemented Cocoa key event handling.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402005
2006-07-30 05:18:33 +00:00
Sam Lantinga
032809097b Added right/other drag code for Cocoa windows
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402004
2006-07-29 23:00:15 +00:00
Sam Lantinga
be01a86b9e Implemented Cocoa mouse wheel events
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402003
2006-07-29 22:42:48 +00:00
Sam Lantinga
c8d7322dc6 Simplified driver window creation code.
Implemented several Cocoa window functions

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402002
2006-07-29 21:51:00 +00:00
Sam Lantinga
7f0d36082f --HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402001
2006-07-29 03:57:55 +00:00
Sam Lantinga
89ab980b38 Don't unload the OpenGL library before the X display is closed.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402000
2006-07-29 03:56:35 +00:00
Sam Lantinga
529b4ad049 We're not querying the glX attributes anymore...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401999
2006-07-28 08:46:24 +00:00
Sam Lantinga
931e1c106d Implemented X11 OpenGL support.
Added support for the SDL_VIDEO_OPENGL environment variable.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401998
2006-07-28 08:43:17 +00:00
Sam Lantinga
cc0b655042 Initial work on X11 window code in.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401997
2006-07-27 06:53:23 +00:00
Sam Lantinga
3ec5d40b87 Started work on the new X11 driver.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401996
2006-07-26 06:34:54 +00:00
Sam Lantinga
ed7da31472 Placate versions of ranlib which complain about empty files (Mac OS X 10.4)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401995
2006-07-26 06:34:31 +00:00
Sam Lantinga
532023bd76 Starting fresh with the X11 driver
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401994
2006-07-26 04:22:32 +00:00
Sam Lantinga
fe52e82bd9 Oh yeah, more DGA removal
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401993
2006-07-26 04:20:59 +00:00
Sam Lantinga
e6ecd3dea6 Added the dummy audio driver to instructions
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401992
2006-07-26 03:57:45 +00:00
Sam Lantinga
126d32c582 PicoGUI is no longer maintained by the author.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401991
2006-07-26 03:55:56 +00:00
Sam Lantinga
81cdb586d2 The AAlib driver is fun, but not worth rewriting for SDL 1.3
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401990
2006-07-26 03:24:27 +00:00
Sam Lantinga
dc3126175d The old windows video drivers are superceded by the unified win32 driver.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401989
2006-07-26 03:15:41 +00:00
Sam Lantinga
bd9931afdd Hopefully glSDL has been superceded by the OpenGL render driver.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401988
2006-07-26 03:12:05 +00:00
Sam Lantinga
7a4007d93d More DGA removal
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401987
2006-07-26 03:08:25 +00:00
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