Commit Graph

1827 Commits

Author SHA1 Message Date
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
Sam Lantinga
afd236a42a Fixed bug #255
Fixed memory leaks in the windib driver.
2006-06-24 03:41:14 +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
31f87f2ec4 Default the X11 dynamically loading on if the OS loader loads libraries
with their private symbols hidden.  If that isn't the case, and someone
tries to enable it anyway, spit out a warning and don't let them do it.
2006-06-23 08:39:05 +00:00
Ryan C. Gordon
dc1d31ffc9 Swizzle ALSA channels for 5.1 output to match DirectSound and CoreAudio.
Untested, but potentially fixes Bugzilla #110.
2006-06-23 08:35:48 +00:00
Sam Lantinga
1f2b2f370c Fixed bug #69
Hopefully this takes care of most of the audio dropouts in Windows
2006-06-23 08:15:47 +00:00
Sam Lantinga
a9a3b84a56 Fixed bug #147
Only enable Unicode key events if Unicode translation is enabled.
2006-06-23 04:27:55 +00:00
Ryan C. Gordon
60494120d4 Only allow dynamic X11 if gcc4 (-fvisibility=hidden) is used.
Fixes Bugzilla #242.
2006-06-23 02:19:52 +00:00
Ryan C. Gordon
f496989fdc Minor bit of sanity-checking debug info in dynamic X11 code. 2006-06-23 02:16:49 +00:00
Sam Lantinga
a272763e42 Renamed, per Mike's comment on bug #157 2006-06-21 08:26:05 +00:00
Sam Lantinga
f508424971 Renamed, per Mike's comment on bug #157 2006-06-21 08:25:28 +00:00
Sam Lantinga
8cba9367ac Fixed bug #157
[patch tweaked to handle older nasm, which doesn't support :function syntax]

------- Comment #5 From Mike Frysinger 2006-05-22 01:24 [reply] -------
Created an attachment (id=132) [edit]
libsdl-hidden-nasm.patch

here's the patch i posted here:
http://www.libsdl.org/pipermail/sdl/2006-March/073618.html

this will hide the symbols dynamically if the build nasm/yasm supports the
hidden stuff ... in other words, this patch should be safe with both older and
new versions of nasm/yasm
2006-06-21 07:57:34 +00:00
Sam Lantinga
2e6c98ee3a Fixed bug #256 2006-06-21 07:35:02 +00:00
Sam Lantinga
0ef7c6c8f3 Date: Fri, 9 Jun 2006 11:35:23 +0300
From: "Janne Junnila"
Subject: [SDL] SDL_SetGamma bug

You can't set the the gamma 'brighter' than 1.0. There's a patch attached.
2006-06-20 06:50:42 +00:00
Sam Lantinga
e60b21f0e2 Date: Thu, 15 Jun 2006 14:19:47 +0200 (CEST)
From: "Torsten Giebl"
Subject: [SDL] Patch for Makefile.DC

Hello !


This patch autom. copys SDL_config.h.default
into SDL_config.h when compiling SDL for Dreamcast
using Makefile.dc.
2006-06-20 06:39:01 +00:00
Sam Lantinga
9a48decd81 Fixed bug #251 2006-06-20 05:55:23 +00:00
Sam Lantinga
3732a19108 Bug #250, pkg-config support contributed by Mikael Eriksson 2006-06-20 05:49:53 +00:00
Sam Lantinga
59febc5fb6 Bug #250, pkg-config support contributed by Mikael Eriksson 2006-06-20 05:49:20 +00:00
Sam Lantinga
df51b8dd73 I think this fixes bug #244 2006-06-20 05:35:44 +00:00
Sam Lantinga
fd94b24155 Fixed bug #241 2006-06-20 05:25:04 +00:00
Sam Lantinga
ebcb9009b8 Test case for bug #240 2006-06-20 04:04:25 +00:00
Sam Lantinga
739bed165d Fixed bug #232
------- Comment #2 From Matthias Geissert  2006-05-24 07:54  [reply] -------
See http://dri.sourceforge.net/doc/DRIuserguide.html, section 11.5. There is
written that you need to use RTLD_GLOBAL, since, otherwise, nested open of
dynamic libraries doesn't work. However, This is necassary in this case, since
libGL opens the hardware-specific driver/library. I hope this helps you.
2006-06-20 03:52:41 +00:00
Sam Lantinga
7b8e7597da Fixed bug #232 2006-06-20 03:29:47 +00:00