Commit graph

2074 commits

Author SHA1 Message Date
Sam Lantinga
dfe1ea2171 Changed the name of the dummy renderer
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401951
2006-07-14 08:24:43 +00:00
Sam Lantinga
0212981bc2 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401950
2006-07-14 08:22:45 +00:00
Sam Lantinga
e920af3d1b Yay! D3D renderer works!
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401949
2006-07-14 07:41:16 +00:00
Sam Lantinga
5877021286 More of the Direct3D renderer is implemented, I'm not sure why it's not showing texture copies yet...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401948
2006-07-14 06:40:53 +00:00
Sam Lantinga
38e7a926a2 Updated Visual C++ 2005 project
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401947
2006-07-13 08:15:35 +00:00
Sam Lantinga
9cbad57c92 Removed libc dependency on Windows again, to fix building with Visual C++ 2005 Express Edition.
Fixed performance problem with testsprite2 on the D3D driver.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401946
2006-07-13 08:13:02 +00:00
Sam Lantinga
ddce62b162 First stab at a D3D renderer, only 30FPS so far... ?
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401945
2006-07-12 09:25:17 +00:00
Sam Lantinga
8b10359107 debug cleanup
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401944
2006-07-12 08:09:57 +00:00
Sam Lantinga
4beaa4e63c Playing around, trying to find a fast path with GDI
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401943
2006-07-12 07:01:35 +00:00
Sam Lantinga
d1be2d9e1c 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*

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401942
2006-07-12 06:39:26 +00:00
Sam Lantinga
58d76aea10 Updated the snapshot build target to reflect the new source location
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401940
2006-07-10 21:23:51 +00:00
Sam Lantinga
0f030a1802 SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401938
2006-07-10 21:04:37 +00:00
Patrice Mandin
91a32b77a2 sdl.pc is in build directory, not source
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401925
2006-07-06 18:01:37 +00:00
Sam Lantinga
bcc7227e38 Include sdl.pc in the development RPM
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401915
2006-06-27 04:58:26 +00:00
Sam Lantinga
650269aca5 Added 1.2.11 patch notes
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401914
2006-06-27 04:33:31 +00:00
Sam Lantinga
862de2d82b Fixed libiconv detection
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401911
2006-06-26 16:20:51 +00:00
Sam Lantinga
5b2feecb99 Fixed problem with nasm hidden visibility detection
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401909
2006-06-26 16:15:21 +00:00
Sam Lantinga
cb4f15a094 Almost added Mac OS X nasm support
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401905
2006-06-26 05:27:15 +00:00
Sam Lantinga
554dd3b64b ------- 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)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401903
2006-06-26 01:33:53 +00:00
Sam Lantinga
36aa150ca6 Updated version to SDL 1.2.1
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401902
2006-06-25 18:26:15 +00:00
Sam Lantinga
8c7a772ffd Updated the version to 1.2.11
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401901
2006-06-25 18:07:34 +00:00
Sam Lantinga
59b92bf98c --HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401899
2006-06-25 17:14:39 +00:00
Sam Lantinga
2c01718695 Fixed including stdint.h with gcc on Win32
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401898
2006-06-25 17:12:08 +00:00
Sam Lantinga
d856d38658 Fix for bug #240
Christian Walther contributed Cocoa cursor code.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401897
2006-06-24 17:36:55 +00:00
Sam Lantinga
642baf6edb Fixed bug #258
Account for the menu height in AdjustWindowRectEx()

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401892
2006-06-24 04:30:01 +00:00
Sam Lantinga
684d11f9fd Fixed bug #255
Fixed memory leaks in the windib driver.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401890
2006-06-24 03:41:14 +00:00
Sam Lantinga
9f57178bfb Fixed bug #260
Fixed SDL_GL_SWAP_CONTROL on Windows, and the query on Linux

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401888
2006-06-24 01:59:43 +00:00
Sam Lantinga
ccd4d68be0 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401884
2006-06-23 08:39:05 +00:00
Ryan C. Gordon
90b3fbb429 Swizzle ALSA channels for 5.1 output to match DirectSound and CoreAudio.
Untested, but potentially fixes Bugzilla #110.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401883
2006-06-23 08:35:48 +00:00
Sam Lantinga
d9c54aecc1 Fixed bug #69
Hopefully this takes care of most of the audio dropouts in Windows

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401882
2006-06-23 08:15:47 +00:00
Sam Lantinga
f955c92364 Fixed bug #147
Only enable Unicode key events if Unicode translation is enabled.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401881
2006-06-23 04:27:55 +00:00
Ryan C. Gordon
1f8047fa4e Only allow dynamic X11 if gcc4 (-fvisibility=hidden) is used.
Fixes Bugzilla #242.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401880
2006-06-23 02:19:52 +00:00
Ryan C. Gordon
6ba30e1368 Minor bit of sanity-checking debug info in dynamic X11 code.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401879
2006-06-23 02:16:49 +00:00
Sam Lantinga
65be12979c Renamed, per Mike's comment on bug #157
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401877
2006-06-21 08:26:05 +00:00
Sam Lantinga
06d61220cc Renamed, per Mike's comment on bug #157
--HG--
rename : src/hermes/common.asm => src/hermes/common.inc
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401876
2006-06-21 08:25:28 +00:00
Sam Lantinga
d94573621a 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

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401873
2006-06-21 07:57:34 +00:00
Sam Lantinga
739db2c78e Fixed bug #256
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401871
2006-06-21 07:35:02 +00:00
Sam Lantinga
fdfcc79761 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401869
2006-06-20 06:50:42 +00:00
Sam Lantinga
772972e264 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401867
2006-06-20 06:39:01 +00:00
Sam Lantinga
e64b9862f0 Fixed bug #251
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401865
2006-06-20 05:55:23 +00:00
Sam Lantinga
a4fb97b662 Bug #250, pkg-config support contributed by Mikael Eriksson
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401863
2006-06-20 05:49:53 +00:00
Sam Lantinga
a4191d397d Bug #250, pkg-config support contributed by Mikael Eriksson
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401862
2006-06-20 05:49:20 +00:00
Sam Lantinga
e3993a9c60 I think this fixes bug #244
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401860
2006-06-20 05:35:44 +00:00
Sam Lantinga
d565a14593 Fixed bug #241
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401858
2006-06-20 05:25:04 +00:00
Sam Lantinga
dd7009690f Test case for bug #240
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401856
2006-06-20 04:04:25 +00:00
Sam Lantinga
f9881b12fa 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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401855
2006-06-20 03:52:41 +00:00
Sam Lantinga
11452ed23e Fixed bug #232
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401854
2006-06-20 03:29:47 +00:00
Patrice Mandin
165561408f Oops, reverted single/double buffer update
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401845
2006-06-14 19:03:01 +00:00
Patrice Mandin
0475249450 Add program to test mouse cursor change
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401844
2006-06-14 18:59:30 +00:00
Patrice Mandin
4e4aa03a8c Fix mouse cursor change
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401843
2006-06-14 18:57:58 +00:00