Commit Graph

107 Commits

Author SHA1 Message Date
Sam Lantinga
a079e29715 Merged DGA video surface handling improvements, unified locking code.
Fixed matrox blit bug where src Y less than dst Y
Fixed hardware surface init when no resolution change

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40107
2001-07-13 10:19:51 +00:00
Sam Lantinga
7ddaf6cf9a Some minor name changes to clean up
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40106
2001-07-13 10:15:52 +00:00
Sam Lantinga
f4969ff561 Detect more types of IMPS/2 mouse
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40105
2001-07-13 01:21:59 +00:00
Sam Lantinga
f9c31c72f1 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40104
2001-07-13 01:21:35 +00:00
Sam Lantinga
c3aaf60a7d Don't crash if freeing a hardware surface after the video mode has been
reset.  Fortunately we keep track of the video memory internally.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40103
2001-07-12 23:34:44 +00:00
Sam Lantinga
76b5d94d9d DGA video driver is now thread-safe
Improved DGA hardware acceleration code

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40102
2001-07-12 20:42:22 +00:00
Sam Lantinga
a169a6c32e Fixed using the video mode extension on older servers
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40101
2001-07-11 20:18:52 +00:00
Sam Lantinga
49aa27fdd4 Oops, I committed debug code...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40100
2001-07-09 23:26:13 +00:00
Sam Lantinga
d8a033f83d Fixed some problems with the fullscreen code. Wooo. :)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4099
2001-07-09 22:36:16 +00:00
Sam Lantinga
0d895fa8a8 Revert to old non-blocking writes (if it ain't broke, don't fix it)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4098
2001-07-09 15:47:40 +00:00
Sam Lantinga
c8f2e030dc Fixed blocking open bug when using blocking audio writes
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4097
2001-07-09 15:46:41 +00:00
Sam Lantinga
503838661e Updated list of improvements
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4096
2001-07-08 09:03:47 +00:00
Sam Lantinga
acab15a3bd Cleaned up the OpenBSD port, thanks to Peter Valchev
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4095
2001-07-08 09:00:06 +00:00
Sam Lantinga
ea5f242f09 Applied Hannu's fix and switched to blocking writes .. seems to work?
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4094
2001-07-07 23:27:29 +00:00
Sam Lantinga
e70ae1ccbc Fixed the DMA driver not to reset the audio descriptor (not needed, and
it breaks things on some drivers)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4093
2001-07-07 23:12:42 +00:00
Sam Lantinga
6369aeaaa5 From: "Markus F.X.J. Oberhumer"
Subject: SDL CVS patches

below you will find some small patches against the
current SDL CVS.

It adresses these things:

1) Use "&" instead of "%" in some cases. For negative
   signed integers (x % 8) is not always (x & 7),
   and the compiler can produce slightly faster
   code when using "&" here.

2) Some const issues.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4092
2001-07-07 20:20:17 +00:00
Sam Lantinga
b4001bd1ff Fix to allow SDL compiled under XFree v4 to work with XFree v3 xservers.
Contributed by Jarek Sobieszek

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4091
2001-07-07 08:08:42 +00:00
Sam Lantinga
ec76bd6aef Added Holger Schemel's fix for SDL_GetTicks() on W2K
This adds QueryPerformanceCounter() support, which is probably a good thing.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4090
2001-07-07 08:03:34 +00:00
Sam Lantinga
96c6144609 Hopefully fixed the fullscreen mode code for KDE
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4089
2001-07-07 07:59:37 +00:00
Sam Lantinga
4e0366dc1d Added -width and -height command line options
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4088
2001-07-07 06:33:33 +00:00
Sam Lantinga
b28f12dc1c Dummy audio and video drivers are enabled (thanks Ryan!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4087
2001-07-02 00:20:29 +00:00
Sam Lantinga
32bf9a536b Added support for Visual C++ inline keyword
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4086
2001-07-02 00:10:19 +00:00
Sam Lantinga
3b694d2065 Add a symlink to SDL 1.2 for SDL 1.1
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4085
2001-07-02 00:10:05 +00:00
Sam Lantinga
cd8cd98f62 Oops, don't include debug code
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4084
2001-06-26 17:41:16 +00:00
Sam Lantinga
2311157d38 When the mouse is grabbed, send the application the motion associated with
the enter/leave notify events.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4083
2001-06-26 17:40:59 +00:00
Sam Lantinga
143a1a0938 Added the SDL_VIDEO_YUV_DIRECT hack for better performance when the
requested video mode is 16 bpp but the real video mode is 32 bpp.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4082
2001-06-25 22:16:44 +00:00
Sam Lantinga
3fe72f0ebb Oops, reversed the logic of the variable
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4081
2001-06-23 22:02:27 +00:00
Sam Lantinga
b84fc3f7b6 Allow the user to override the relative mouse mode.
They almost never want to do this, as it seriously affects
applications that rely on continuous relative mouse motion.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4080
2001-06-23 22:00:59 +00:00
Sam Lantinga
b51058100e Added the environment variable SDL_MOUSE_NORELATIVE to completely disable
relative mouse motion if the application desires it.  UNDOCUMENTED!!

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4079
2001-06-23 18:51:29 +00:00
Sam Lantinga
4cb38efa33 Don't crash if freeing a cursor after quit...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4078
2001-06-19 21:07:12 +00:00
Sam Lantinga
4b930af7e9 Bumped the library version
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4077
2001-06-19 13:35:05 +00:00
Sam Lantinga
31059713d1 Added patches from FreeBSD ports
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4076
2001-06-19 13:33:54 +00:00
Sam Lantinga
8840f4dbf5 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4075
2001-06-16 06:47:45 +00:00
Sam Lantinga
a348f4bd42 Oops, forgot the Quartz video directory
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4074
2001-06-16 06:43:44 +00:00
Sam Lantinga
85b3f6b287 Fixed the PS2 GS detection
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4073
2001-06-16 06:35:36 +00:00
Sam Lantinga
25998f01dd *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4072
2001-06-16 03:18:26 +00:00
Sam Lantinga
c0384c9cf7 Added Linux PlayStation 2 Graphics Synthesizer support
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4071
2001-06-16 03:17:45 +00:00
Sam Lantinga
1b535a719a Added /dev/usbmouse to the list of mice to check
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4070
2001-06-16 02:48:39 +00:00
Sam Lantinga
98233844c7 Added an audio driver that writes to disk (thanks Ryan!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4069
2001-06-16 01:51:42 +00:00
Sam Lantinga
9a765af003 Support for SVGALib 2.0, thanks to Benjamin Joel Stover
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4068
2001-06-16 01:32:09 +00:00
Sam Lantinga
09e27c082f Re-added files in binary form
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4067
2001-06-16 01:03:49 +00:00
Sam Lantinga
f63a3b3742 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4066
2001-06-16 01:03:21 +00:00
Sam Lantinga
f7e2a7f0d4 Re-added in binary form
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4065
2001-06-16 01:02:52 +00:00
Sam Lantinga
c85a3759fb *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4064
2001-06-16 01:02:23 +00:00
Sam Lantinga
a1e71c90ff Updated projects
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4063
2001-06-16 01:02:02 +00:00
Sam Lantinga
f64498bc04 Mouse wheel sends mouse button (4/5) events on Windows
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4062
2001-06-16 01:01:42 +00:00
Sam Lantinga
79c2803acf *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4061
2001-06-11 22:54:34 +00:00
Sam Lantinga
24b54aa981 Ryan's IMPS/2 mouse fix
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4060
2001-06-11 15:48:32 +00:00
Sam Lantinga
254c4d997c * Removed fullscreen menu option from the "Window" menu
* Updated the BUGS file
* Fixed command line parameters when launched from Finder
* Implemented setting the icon window caption
* Implemented frameless style windows
* Added note about SDL_RESIZABLE implementation to SDL_QuartzVideo.m
* Window close requests now go through the event filtering system

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4059
2001-06-11 06:44:43 +00:00
Sam Lantinga
982c4718af *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4058
2001-06-11 00:08:35 +00:00