Commit Graph

1849 Commits

Author SHA1 Message Date
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
Sam Lantinga
4385bca869 Implemented Windows OpenGL support
Fixed slowdown enumerating display modes, which was hosing OpenGL as well...
Removed SDL_ from the render driver prefixes
2006-07-17 06:47:33 +00:00
Sam Lantinga
c71b106d69 Setting up the OpenGL support 2006-07-16 09:34:01 +00:00
Sam Lantinga
b8e8d039b1 Create a fake desktop mode for windowed mode apps 2006-07-16 03:35:44 +00:00
Sam Lantinga
ab5ee92e21 Fixed building on Mac OS X without the Carbon and Cocoa video drivers 2006-07-16 03:32:06 +00:00
Sam Lantinga
b2d6bc4134 Look at environment variables in SDL_VideoInit() and SDL_AudioInit() 2006-07-15 19:30:18 +00:00
Sam Lantinga
edf9d1b930 Implemented fully featured dummy renderer 2006-07-15 19:29:42 +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
ec2b9003f7 Changed the name of the dummy renderer 2006-07-14 08:24:43 +00:00
Sam Lantinga
73fccc0fbd 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.
2006-07-14 08:22:45 +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
8b3185d2e1 Updated Visual C++ 2005 project 2006-07-13 08:15:35 +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
c5d19656cd First stab at a D3D renderer, only 30FPS so far... ? 2006-07-12 09:25:17 +00:00
Sam Lantinga
4a6e3053ed debug cleanup 2006-07-12 08:09:57 +00:00
Sam Lantinga
04b16088cc Playing around, trying to find a fast path with GDI 2006-07-12 07:01:35 +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
e69f12209a Updated the snapshot build target to reflect the new source location 2006-07-10 21:23:51 +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
Patrice Mandin
8f3655506a sdl.pc is in build directory, not source 2006-07-06 18:01:37 +00:00
Sam Lantinga
8aa7cbafae Include sdl.pc in the development RPM 2006-06-27 04:58:26 +00:00
Sam Lantinga
119848d88c Added 1.2.11 patch notes 2006-06-27 04:33:31 +00:00
Sam Lantinga
c439460cf0 Fixed libiconv detection 2006-06-26 16:20:51 +00:00
Sam Lantinga
0c9f2f1373 Fixed problem with nasm hidden visibility detection 2006-06-26 16:15:21 +00:00
Sam Lantinga
1e3df63f46 Almost added Mac OS X nasm support 2006-06-26 05:27:15 +00:00
Sam Lantinga
120ebc4e66 ------- Comment #5 From Marc Peter 2006-06-25 18:03 [reply] -------
Created an attachment (id=142) [edit]
updated makefiles for 1.2.11 release

The new Watcom-Win32.zip
- includes the new testcursor test, and
- doesn't link to dxguid.lib anymore (by defining INITGUID for
SDL_dx5events.c),
  to fix issue with stack calling convention (-6s can now be used instead of
-6r
  in CFLAGS).

------- Comment #6 From Marc Peter 2006-06-25 18:12 [reply] -------
Created an attachment (id=143) [edit]
updated README.Watcom for 1.2.11

- lists new testcursor test
- mentions possibility to build with -6s (stack calling convention) instead
  of -6r (register calling convention)
2006-06-26 01:33:53 +00:00
Sam Lantinga
0dd4fea4b2 Updated version to SDL 1.2.1 2006-06-25 18:26:15 +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
1d95e86391 Fix for bug #240
Christian Walther contributed Cocoa cursor code.
2006-06-24 17:36:55 +00:00
Sam Lantinga
38e7b9ce94 Fixed bug #258
Account for the menu height in AdjustWindowRectEx()
2006-06-24 04:30:01 +00:00