Commit Graph

274 Commits

Author SHA1 Message Date
Ryan C. Gordon
f1ccde91dd Merged r2956:2957 from branches/SDL-1.2: Digital Mars stdint.h usage.
Fixes Bugzilla #376.
2007-02-12 11:46:08 +00:00
Ryan C. Gordon
1330f6b999 Merge r2918:2919 from 1.2 branch: alloca macro params in parentheses. 2006-11-29 10:34:05 +00:00
Ryan C. Gordon
b932761626 Fixed building of Windows waveout audio. 2006-11-11 06:48:57 +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
Ryan C. Gordon
e475d47d2a Double Whoops. :P 2006-10-01 16:10:41 +00:00
Sam Lantinga
c7e5b9cf89 Whoops. :) 2006-10-01 16:07:32 +00:00
Sam Lantinga
9d4b500741 Formatting update 2006-09-24 15:56:55 +00:00
Sam Lantinga
b21b05ee5d Fixed bug #329
On tracing it turns out to fail from SDL_WM_SetCaption()

On going through the function it looks like the SDL_free() function is called
every alternate time with an invalid pointer that has already been freed.
2006-09-23 22:51:37 +00:00
Sam Lantinga
f105c474a1 Cleanup for the last checkin 2006-08-28 03:27:59 +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
Ryan C. Gordon
1ee9fc8f50 Added SDL_SwapFloat* function/macros. Reference Bugzilla #293. 2006-08-24 12:49:59 +00:00
Ryan C. Gordon
2de95c23ba Forgot to check in updated SDL_audio.h ... 2006-08-24 12:48:16 +00:00
Sam Lantinga
dd630ba3e7 The GGI driver hasn't been maintained in 8 years. It's probably safe to remove. :) 2006-08-10 15:15:06 +00:00
Sam Lantinga
06a7b965e7 Missed a Qtopia change. 2006-08-10 14:55:45 +00:00
Sam Lantinga
4d17a22012 MacOS Classic is no longer supported. 2006-08-10 14:54:23 +00:00
Sam Lantinga
00de315a97 David Hedbor is no longer maintaining the Qtopia code. 2006-08-10 14:35:42 +00:00
Sam Lantinga
34b09cb9e1 Clarified the difference between render drivers and render contexts 2006-08-06 00:09:04 +00:00
Sam Lantinga
5559b37173 Updated header documentation 2006-08-05 22:41:33 +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
dac1c877d9 Removed old function 2006-08-05 17:12:22 +00:00
Sam Lantinga
5b0dc2c1d5 SDL constants are all uppercase. 2006-08-05 17:09:42 +00:00
Ryan C. Gordon
13894e5028 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!
2006-08-03 19:34:05 +00:00
Sam Lantinga
c6ca286be1 Added SDL_GetCurrentVideoDisplay() 2006-08-02 03:20:52 +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
b27343c5db Implemented X11 OpenGL support.
Added support for the SDL_VIDEO_OPENGL environment variable.
2006-07-28 08:43:17 +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
74a48d3fd5 Hopefully glSDL has been superceded by the OpenGL render driver. 2006-07-26 03:12:05 +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
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
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
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
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
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
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
f3567e6d90 Removed libc dependency on Windows again, to fix building with Visual C++ 2005 Express Edition.
Fixed performance problem with testsprite2 on the D3D driver.
2006-07-13 08:13:02 +00:00
Sam Lantinga
c1ff714652 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*
2006-07-12 06:39:26 +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
5ffeed6e77 Updated the version to 1.2.11 2006-06-25 18:07:34 +00:00
Sam Lantinga
a3ab9747a9 2006-06-25 17:14:39 +00:00
Sam Lantinga
7e37690ca4 Fixed including stdint.h with gcc on Win32 2006-06-25 17:12:08 +00:00
Sam Lantinga
2e6c98ee3a Fixed bug #256 2006-06-21 07:35:02 +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
0e9999cdab Fixed thread callback calling conventions, updated OS/2 DLL name to SDL12.dll 2006-05-17 18:57:04 +00:00