Commit Graph

1881 Commits

Author SHA1 Message Date
Sam Lantinga
c6ca286be1 Added SDL_GetCurrentVideoDisplay() 2006-08-02 03:20:52 +00:00
Sam Lantinga
d20c00db5b Hack to stop the beeping
Fixed keyboard window focus.
2006-07-30 08:09:20 +00:00
Sam Lantinga
9c2e46d4f2 Removed debug code. :) 2006-07-30 06:11:52 +00:00
Sam Lantinga
6387686fed Added numlock support 2006-07-30 06:11:24 +00:00
Sam Lantinga
30ee864ff5 Implemented Cocoa key event handling. 2006-07-30 05:18:33 +00:00
Sam Lantinga
b8c0a0e2ba Added right/other drag code for Cocoa windows 2006-07-29 23:00:15 +00:00
Sam Lantinga
9617df5b60 Implemented Cocoa mouse wheel events 2006-07-29 22:42:48 +00:00
Sam Lantinga
453f45eaca Simplified driver window creation code.
Implemented several Cocoa window functions
2006-07-29 21:51:00 +00:00
Sam Lantinga
4c17a4b19c 2006-07-29 03:57:55 +00:00
Sam Lantinga
a889de3fea Don't unload the OpenGL library before the X display is closed. 2006-07-29 03:56:35 +00:00
Sam Lantinga
8b676b9b28 We're not querying the glX attributes anymore... 2006-07-28 08:46:24 +00:00
Sam Lantinga
b27343c5db Implemented X11 OpenGL support.
Added support for the SDL_VIDEO_OPENGL environment variable.
2006-07-28 08:43:17 +00:00
Sam Lantinga
069c86ace4 Initial work on X11 window code in. 2006-07-27 06:53:23 +00:00
Sam Lantinga
cd7e54862e Started work on the new X11 driver. 2006-07-26 06:34:54 +00:00
Sam Lantinga
a266b805db Placate versions of ranlib which complain about empty files (Mac OS X 10.4) 2006-07-26 06:34:31 +00:00
Sam Lantinga
a12230e98a Starting fresh with the X11 driver 2006-07-26 04:22:32 +00:00
Sam Lantinga
fcf09fbc29 Oh yeah, more DGA removal 2006-07-26 04:20:59 +00:00
Sam Lantinga
0d8aa9d5f1 Added the dummy audio driver to instructions 2006-07-26 03:57:45 +00:00
Sam Lantinga
90bdbbe865 PicoGUI is no longer maintained by the author. 2006-07-26 03:55:56 +00:00
Sam Lantinga
8f13f6729b The AAlib driver is fun, but not worth rewriting for SDL 1.3 2006-07-26 03:24:27 +00:00
Sam Lantinga
5362adf858 The old windows video drivers are superceded by the unified win32 driver. 2006-07-26 03:15:41 +00:00
Sam Lantinga
74a48d3fd5 Hopefully glSDL has been superceded by the OpenGL render driver. 2006-07-26 03:12:05 +00:00
Sam Lantinga
1f4ded43e7 More DGA removal 2006-07-26 03:08:25 +00:00
Sam Lantinga
b9c9f87e6d 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.
2006-07-26 03:06:07 +00:00
Sam Lantinga
13d2dc549f SDL applications no longer need to link with Cocoa (unless they want to) 2006-07-25 07:25:51 +00:00
Sam Lantinga
b62e92212a Actually use the function we took the trouble to get the pointer for. 2006-07-25 07:14:40 +00:00
Sam Lantinga
fa75c07f8b Fixed Objective-C memory leaks
Send an SDL quit event when Command-Q is pressed.
2006-07-25 06:59:14 +00:00
Sam Lantinga
bcbb41b25f Implemented OpenGL support on Mac OS X
The OpenGL renderer works without changes, yay! :)
2006-07-25 06:22:42 +00:00
Ryan C. Gordon
d3f4c37f08 Patch from 1.2 branch...fix compilation on Qtopia video target (reference
Bugzilla #285).
2006-07-24 23:30:14 +00:00
Sam Lantinga
7b3e83b5be Implemented Mac OS X video mode selection. 2006-07-24 07:21:16 +00:00
Sam Lantinga
216e80ae61 Implemented Cocoa window support 2006-07-24 05:03:02 +00:00
Sam Lantinga
35f5dd14d3 Whoops, that's a while loop. :) 2006-07-23 09:16:14 +00:00
Sam Lantinga
ab6710f259 The Mac OS X Cocoa video driver is under construction...
Note that SDLmain is no longer necessary on Mac OS X. :)
2006-07-23 09:11:10 +00:00
Sam Lantinga
051f429e25 Fixed compiler warnings
Updated Visual C++ 2005 project
2006-07-23 00:55:25 +00:00
Sam Lantinga
b570fa5712 Added an environment variable to select which driver the software renderer will use. 2006-07-23 00:48:12 +00:00
Sam Lantinga
44935b57ae Fixed crash with multiple windows 2006-07-23 00:19:12 +00:00
Sam Lantinga
ef12c290da OpenGL renderer is feature complete!
Dynamically load GL functions in the OpenGL renderer.
2006-07-22 23:04:41 +00:00
Sam Lantinga
f6948f99cb Added SDL_GL_ExtensionSupported()
Use GL_ARB_texture_rectangle in the OpenGL renderer, if supported.
2006-07-22 21:58:17 +00:00
Sam Lantinga
7893fee098 Query the maximum texture size for the D3D renderer. 2006-07-22 21:17:37 +00:00
Sam Lantinga
b7e5c8f440 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.
2006-07-22 21:02:57 +00:00
Sam Lantinga
5b2ef05897 Switch OpenGL contexts when switching render contexts.
Query the maximum texture size and show the current render parameters.
2006-07-22 19:51:48 +00:00
Sam Lantinga
84d5c98403 Fixed OpenGL blend modes, added power of 2 texture code 2006-07-22 19:03:31 +00:00
Sam Lantinga
accc2c8f4e Bug fixes to the OpenGL renderer 2006-07-22 18:01:56 +00:00
Sam Lantinga
d533be8505 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
2006-07-22 08:33:18 +00:00
Sam Lantinga
e127759e0c Fixed to compile while the OpenGL renderer is under construction 2006-07-19 08:46:57 +00:00
Sam Lantinga
678d3604b9 Starting on the OpenGL renderer... 2006-07-19 07:18:45 +00:00
Sam Lantinga
26eb39ffa6 Implemented scaling in the D3D renderer 2006-07-19 05:45:42 +00:00
Sam Lantinga
6bdc957609 Implemented blend modes in the D3D renderer 2006-07-19 05:03:21 +00:00
Sam Lantinga
e48bd78a26 Implemented multi-window OpenGL program with test framework. 2006-07-19 04:24:41 +00:00
Sam Lantinga
dcd15904cd Added a test program framework for easy initialization.
Started work on multi-window OpenGL demo
2006-07-18 07:49:51 +00:00