Commit graph

11215 commits

Author SHA1 Message Date
Sam Lantinga
e55b81e2f1 Fixed DirectX fullscreen gamma control (thanks John!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40335
2002-04-09 23:49:06 +00:00
Sam Lantinga
32452bff12 Fixed a crash bug in the WM_ACTIVATE code (thanks John!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40334
2002-04-09 23:32:40 +00:00
Sam Lantinga
ea22556441 Mouse wheel fix patch.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40333
2002-04-08 17:50:30 +00:00
Sam Lantinga
0db42ad87a Date: Thu, 04 Apr 2002 13:27:36 GMT+1
From: Patrice Mandin <pmandin@caramail.com>
Subject: [SDL][PATCH] Atari mouse patch

Just a patch to correct a studid bug where Mouse button
events where not generated when pressing first button.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40332
2002-04-04 18:06:33 +00:00
Sam Lantinga
7bf77c9df1 Date: 03 Apr 2002 15:28:09 +0200
From: Alexander Pipelka <pipelka@bms-austria.com>
Subject: SDL patches

This one adds 2 new videomodes for the fbconsole.
720x576, 720x480
These are used by the NSC settopbox we are using for MPEG2 decoding.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40331
2002-04-03 21:45:25 +00:00
Sam Lantinga
e3affe9e81 Patrice's fixes for GNU Pthread support
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40330
2002-04-01 15:35:28 +00:00
Sam Lantinga
471f52e3e4 RPM dependency fix courtesy of Edward Rudd
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40329
2002-03-31 04:07:05 +00:00
Sam Lantinga
7e4d8b2b62 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40328
2002-03-31 03:34:16 +00:00
Sam Lantinga
3fa7d61105 Disabled QueryPerformanceCounter(), due to problems on Win2K
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40327
2002-03-31 03:34:11 +00:00
Sam Lantinga
b2f4430889 Fixed the bug where mouse cursor and SDL mouse coordinates didn't match
in Windows OpenGL mode.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40326
2002-03-31 02:42:43 +00:00
Sam Lantinga
ff3fb0db16 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40325
2002-03-30 21:41:01 +00:00
Sam Lantinga
b954823429 The audio lock and unlock functions are now a part of the driver.
The MacOS audio locking has been implemented, courtesy of Ryan Gordon

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40324
2002-03-30 20:03:27 +00:00
Sam Lantinga
a55059b4d3 The audio lock and unlock functions are now a part of the driver.
The MacOS audio locking has been implemented, courtesy of Ryan Gordon

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40323
2002-03-30 19:48:56 +00:00
Sam Lantinga
2341158b2a Fixes for GNU pthreads from Patrice
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40322
2002-03-30 18:53:23 +00:00
Sam Lantinga
9ddae6eab1 Date: Thu, 28 Mar 2002 09:20:03 +0200
From: "Mike Gorchak" <mike@malva.ua>
Subject: New QNX patch.

Hi !

1. Removed warning (possible bug) with invalid type, passing to the function
in ph_WarpedMotion.
2. Rewritten handler of Ph_WM_RESIZE message, now works, but buggy (old
handler doesn't work at all).
3. Added stub handler for Ph_WM_MAX (maximize) message.
4. Added more #ifdef HAVE_OPENGL to disable OpenGL stuff when it not needed.
5. Added support for SDL_NOFRAME and SDL_RESIZABLE flags (in OpenGL windows
too).
6. Added cosmetic changes, if no SDL_RESIZABLE flag defined, disable resize
handlers in window border and maximize button at caption.
7. Fixed my bug with invalid arguments count passed to PtCreateWidget call.
8. Fixed some palette problems.
9. Updated README.QNX file.

And I changed testgl.c test application:

10. Added in testgl.c application support for SDL_NOFRAME flag and
option -noframe.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40321
2002-03-28 16:20:10 +00:00
Sam Lantinga
a437e285ca *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40320
2002-03-26 17:37:31 +00:00
Sam Lantinga
75baede7db *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40319
2002-03-24 21:44:06 +00:00
Sam Lantinga
fc756544a4 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40318
2002-03-24 01:12:57 +00:00
Sam Lantinga
fa7913f21d Added UNIX RDTSC code by Lompak (disabled by default)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40317
2002-03-23 20:54:17 +00:00
Sam Lantinga
b553c23e28 Date: Sat, 23 Mar 2002 13:53:37 +0200
From: "Mike Gorchak" <mike@malva.ua>
Subject: Big QNX patch again.

Added 8bit palette emulation code for window mode with bpp>=15.
Added store/restore original palette for 8bit modes.
Added more information about photon API call fails.
Rewroten change palette code, slow but works.
Fixed bug with set caption before window was inited.
Fixed bugs with some initial state of variables.
Fixed bug with storing old video mode settings.
Fixed bug with switching to fullscreen mode and back.
Fixed few double SEGFAULTS during parachute mode.
Removed compilation warning with no PgWaitHWIdle prototype.
Removed pack of dead unusable code.
Cleanups SDL_PrivateVideoData structure, some headers.
Some code formatting.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40316
2002-03-23 20:19:44 +00:00
Sam Lantinga
42e7ceb763 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40315
2002-03-22 18:11:56 +00:00
Sam Lantinga
74c1e3caa4 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40314
2002-03-20 02:37:44 +00:00
Sam Lantinga
7bee0caef8 Used the glext.h from the SGI sample implementation
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40313
2002-03-20 02:37:38 +00:00
Sam Lantinga
324818b56e Date: Fri, 15 Mar 2002 18:24:59 GMT+1
From: Patrice Mandin <pmandin@caramail.com>
Subject: [SDL] [PATCH] Atari port, bug in xbios driver driver

Hello,
This patch correct a stupid mistake in the FlipHWSurface
function, where I forgot to update surface->pixels when
using a double buffered surface.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40312
2002-03-20 02:24:29 +00:00
Sam Lantinga
d551e642d0 Blit bug fix from John Popplewell
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40311
2002-03-20 02:21:46 +00:00
Sam Lantinga
2c07cb4d5d *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40310
2002-03-11 17:38:56 +00:00
Sam Lantinga
d6eaf8e9f8 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40309
2002-03-10 03:55:45 +00:00
Sam Lantinga
d45cd06f89 This properly scales axes, and adds support for sliders/wheels
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40308
2002-03-10 03:49:25 +00:00
Sam Lantinga
fab7d1c35c Only put surfaces in video memory if there are accelerated blits
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40307
2002-03-10 03:38:32 +00:00
Sam Lantinga
8de550f702 Atari port cleanups from Patrice
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40306
2002-03-10 03:33:59 +00:00
Sam Lantinga
94746b8b48 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40305
2002-03-10 03:25:47 +00:00
Sam Lantinga
1e744f8805 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40304
2002-03-07 20:29:04 +00:00
Sam Lantinga
ee411baee8 Added Atari joystick support (thanks Patrice!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40303
2002-03-07 20:23:11 +00:00
Sam Lantinga
43cf31d9c0 Fixed dynamic arts support.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40302
2002-03-06 19:14:17 +00:00
Sam Lantinga
f1c04cfe5e Fixed dynamic arts support.
Turned on dynamic audio load by default in RPM build.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40301
2002-03-06 19:14:12 +00:00
Sam Lantinga
f6e37ac8de *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40300
2002-03-06 18:25:45 +00:00
Sam Lantinga
a906c94db7 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40299
2002-03-06 11:32:00 +00:00
Sam Lantinga
ea5d630479 Updated copyright information for 2002
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40298
2002-03-06 11:23:08 +00:00
Sam Lantinga
6ece4d1c0e Removed the API changes to preserve SDL 1.2 stability
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40297
2002-03-06 11:05:47 +00:00
Sam Lantinga
40435096bc *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40296
2002-03-06 05:37:21 +00:00
Sam Lantinga
b7e54037ed Added a new header file: SDL_loadso.h
It contains the following functions:
	SDL_LoadObject(), SDL_LoadFunction(), SDL_UnloadObject()
The UNIX esd and arts audio code use these to dynamically load
their respective audio libraries.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40295
2002-03-06 05:20:11 +00:00
Sam Lantinga
89f7ace3fc *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40294
2002-03-05 23:19:37 +00:00
Sam Lantinga
a1db24829f Added SDL_LockRect() and SDL_UnlockRect()
Incorporated XFree86 extension libraries into the source

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40293
2002-03-05 19:55:32 +00:00
Sam Lantinga
84075e735c Date: Thu, 21 Feb 2002 09:18:24 +0200
From: "Mike Gorchak" <mike@malva.ua>
Subject: Re: Patches for QNX RtP again.

SDL_ph_image.c   - Added OpenGL update functions - fixed some application
crashes.
                   Some dead code removed, reformatting some functions.
SDL_ph_image_c.h - Added OpenGL update function prototype.
SDL_ph_video.c   - Added GL_GetAttribute and GL_SetAttribute functions
                   with next supported flags: SDL_GL_DOUBLEBUFFER,
                   SDL_GL_STENCIL_SIZE, SDL_GL_DEPTH_SIZE
                   GetWMInfo function (stub) has been implemented by me,
                   but not listed in device structure - fixed.
SDL_ph_wm.c      - fixed warning 'no return in non-void function'.
README.QNX       - Updating readme. Some spellcheck. ;-)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40292
2002-03-02 16:50:35 +00:00
Sam Lantinga
f6aa684abc *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40291
2002-03-01 18:24:12 +00:00
Sam Lantinga
a31cbafd14 Fixed "short jump out of range" error in MMX code
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40290
2002-03-01 18:01:16 +00:00
Sam Lantinga
bae3b1e1e1 Updated for Watcom C++ and LCC compilers
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40289
2002-02-28 00:28:26 +00:00
Sam Lantinga
89c31763c4 From: Patrice Mandin <pmandin@caramail.com>
Subject: [SDL] [PATCH] Little cleanups for Atari port

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40288
2002-02-27 16:15:34 +00:00
Sam Lantinga
36c39dd53e Updated for DirectFB 0.9.9
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40287
2002-02-26 14:38:53 +00:00
Sam Lantinga
ef35514608 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40286
2002-02-22 17:39:11 +00:00