Commit Graph

190 Commits

Author SHA1 Message Date
Sam Lantinga
49f67ffc0c Visual C++ compiler warning fixes 2007-07-12 06:53:20 +00:00
Sam Lantinga
45339ba922 Creating a context makes it current, per the documentation.
Applied a variant of the multi-card OpenGL fix from SDL 1.2
2007-07-12 06:31:36 +00:00
Sam Lantinga
87e10ffe0c indent 2007-07-11 14:52:13 +00:00
Bob Pendleton
686d49d1ff fixed code for printing mousewheel events to match the new format of mousewheel events. 2007-07-06 15:45:28 +00:00
Ryan C. Gordon
8f93afdb30 Replaced a few memset/memcpy calls with SDL_memset/SDL_memcpy. 2007-07-05 02:47:54 +00:00
Ryan C. Gordon
eba15b3817 Merged r3140:3141 from branches/SDL-1.2: loopwave fix. 2007-07-05 02:45:47 +00:00
Sam Lantinga
bdab6824fd Fix for bug #447 merged from SDL 1.2 2007-07-04 08:01:04 +00:00
Sam Lantinga
c123a18337 Fixed bug #349
Solaris doesn't support the LATIN1 character set alias.

Merged from 1.2 svn revision 3133f
2007-07-04 07:08:16 +00:00
Sam Lantinga
0878fc88cf Merged change from 1.2 to add X11 path for OpenGL detection 2007-06-30 08:11:02 +00:00
Sam Lantinga
b6ab6bf6d5 make indent 2007-06-14 13:21:29 +00:00
Ryan C. Gordon
f2fcf98bea Merged r3059:3060 from branches/SDL-1.2: output key event's keysym. 2007-06-13 06:05:39 +00:00
Ryan C. Gordon
ecdd9e9d78 Merged r2999:3000 from branches/SDL-1.2: Visual Studio compilation fix. 2007-03-30 06:30:14 +00:00
Ryan C. Gordon
4029000c33 Merged r2960:2961 from branches/SDL-1.2...free all cursors in test/testcursor.c 2007-02-13 09:21:38 +00:00
Patrice Mandin
8e1d001e89 Alpha sort the test list, add missing ones, remove removed ones 2007-01-05 19:12:50 +00:00
Ryan C. Gordon
1d568c715b Merged r2901:2902 from SDL-1.2 branch to trunk: printf stupidity fixes. 2006-11-07 15:02:12 +00:00
Ryan C. Gordon
2c138525f1 Merged r2899:2900 from SDL-1.2 branch to trunk: testloadso program. 2006-11-07 14:36:47 +00:00
Ryan C. Gordon
b94f08253a Removed AmigaOS code for 1.3 branch. 2006-10-29 04:09:17 +00:00
Sam Lantinga
c91d18d6ad indent is evil 2006-10-28 16:48:03 +00:00
Ryan C. Gordon
7f17eb8863 Merged SDL-ryan-multiple-audio-device branch r2803:2871 into the trunk. 2006-10-17 09:15:21 +00:00
Sam Lantinga
7462d2796b Added source color and alpha modulation support.
Added perl script to generate optimized render copy functions.
2006-08-28 03:17:39 +00:00
Sam Lantinga
71d3a5c67b Allow the render context to do necessary work when the video mode changes. 2006-08-06 04:39:13 +00:00
Sam Lantinga
34b09cb9e1 Clarified the difference between render drivers and render contexts 2006-08-06 00:09:04 +00:00
Sam Lantinga
b59f1d5aff In general, fill in pointers to structures, rather than return them. 2006-08-05 22:34:23 +00:00
Sam Lantinga
5b0dc2c1d5 SDL constants are all uppercase. 2006-08-05 17:09:42 +00:00
Sam Lantinga
9617df5b60 Implemented Cocoa mouse wheel events 2006-07-29 22:42:48 +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
Sam Lantinga
216e80ae61 Implemented Cocoa window support 2006-07-24 05:03:02 +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
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
accc2c8f4e Bug fixes to the OpenGL renderer 2006-07-22 18:01:56 +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
Sam Lantinga
c71b106d69 Setting up the OpenGL support 2006-07-16 09:34:01 +00:00
Sam Lantinga
ed287169af Streamlined the API a bit and optimized the software renderer. 2006-07-15 09:46:36 +00:00
Sam Lantinga
aa2eab852a Yay! D3D renderer works! 2006-07-14 07:41:16 +00:00
Sam Lantinga
0c86ca7a06 More of the Direct3D renderer is implemented, I'm not sure why it's not showing texture copies yet... 2006-07-14 06:40:53 +00:00
Sam Lantinga
6bc598ea61 SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head. 2006-07-10 21:04:37 +00:00
Sam Lantinga
1d95e86391 Fix for bug #240
Christian Walther contributed Cocoa cursor code.
2006-06-24 17:36:55 +00:00
Sam Lantinga
94d74c1271 Fixed bug #260
Fixed SDL_GL_SWAP_CONTROL on Windows, and the query on Linux
2006-06-24 01:59:43 +00:00
Sam Lantinga
ebcb9009b8 Test case for bug #240 2006-06-20 04:04:25 +00:00
Patrice Mandin
a5571ed2b1 Oops, reverted single/double buffer update 2006-06-14 19:03:01 +00:00
Patrice Mandin
99bce8f003 Add program to test mouse cursor change 2006-06-14 18:59:30 +00:00
Sam Lantinga
61cc023f8a Moved DirectInput joystick code to 1.3 branch 2006-05-21 17:26:40 +00:00
Sam Lantinga
c0441f5cf0 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.
2006-05-21 16:47:41 +00:00
Sam Lantinga
995e9e0fd6 Needed unistd.h for unlink() 2006-05-17 04:11:33 +00:00
Sam Lantinga
6ca7e9990c Added yet another variant of autoconf to the list 2006-05-15 06:39:10 +00:00
Sam Lantinga
0145303a7d Fixed building with CodeWarrior on MacOS Classic 2006-05-11 08:09:16 +00:00