Commit graph

316 commits

Author SHA1 Message Date
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
Sam Lantinga
07540b7601 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40285
2002-02-21 21:51:29 +00:00
Sam Lantinga
b961568eee Date: Mon, 18 Feb 2002 16:46:59 +1200
From: Julian Kinraid <jkinraid@clear.net.nz>
Subject: Patches for photon port of SDL

Hi,

A couple more patches for photon and the nto audio.  Adds mouse grabbing
support, fixed cursor images, unicode keyboard events (though no unicode
data on kye release, is that a problem?), hopefully fixing some audio
lag problems, and a few other fixes.

Thanks,
Julian Kinraid

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40284
2002-02-20 01:05:51 +00:00
Sam Lantinga
b6348eb051 Fixed SDL_OPENGLBLIT with OpenGL API newer than 1.2
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40283
2002-02-20 01:02:33 +00:00
Sam Lantinga
ea01f53e50 Added initial support for Atari (thanks Patrice!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40282
2002-02-17 19:54:28 +00:00
Sam Lantinga
3b2774da46 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40281
2002-02-14 21:26:42 +00:00
Sam Lantinga
e7866b627d Mike Gorchak added some QNX tweaks, including OpenGL support
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40280
2002-02-14 02:15:15 +00:00
Sam Lantinga
7dffe66c0f Added support for joysticks on *BSD (thanks Wilbern!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40279
2002-02-14 01:24:08 +00:00
Sam Lantinga
96ca0441f4 Added a YUV overlay test program (thanks Jon!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40278
2002-02-14 00:47:46 +00:00
Sam Lantinga
5462cb89e0 Updated the documentation for the SDL_PushEvent() call.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40277
2002-02-13 23:40:13 +00:00
Sam Lantinga
528959fcb2 Added support for the pause key under DirectX
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40276
2002-02-13 18:21:48 +00:00
Sam Lantinga
fb441e589b David Snopek added Borland compiler support
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40275
2002-02-13 17:45:24 +00:00
Sam Lantinga
631d757813 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40274
2002-01-22 21:14:36 +00:00
Sam Lantinga
06db61e1a0 Date: Sat, 19 Jan 2002 17:24:32 -0500 (EST)
From: Darrell Walisser <dwaliss1@purdue.edu>
Subject: SDL Quartz video update

-better mouse motion events
-fixed minification bugs (except OpenGL)
-fixed QZ_SetGamma for correct semantics
-fade/unfade display before/after rez switch
-experimental obscured-check/blind-copy code

The obscured code, while it speeds up window drawing substantially, isn't
ready yet. The reason is that there doesn't (yet) seem to be a way to know
when the window is dragged or when the window suddenly comes to the
foreground. Since Carbon windows seem to allow detection of such things, I
suspect it is possible through some window server API. Cocoa(NSWindow) has no
functions for such things, AFAIK.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40273
2002-01-22 18:46:28 +00:00
Sam Lantinga
d8881664ba Now works "out of the box" on BSDI
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40272
2002-01-22 18:28:35 +00:00
Sam Lantinga
a3b1aa2dde From: "Mattias Engdeg�rd" <f91-men@nada.kth.se>
To: slouken@devolution.com
Subject: Re: [SDL] Question about SDL_FillRect()

I benchmarked with and without clipping UpdateRects and was unable to find
any difference on my moderately slow machine. Anyway, I haven't added
clipping in this patch, but fixed a couple of bugs and generally cleaned
up some of the X11 image code. Most importantly, UpdateRects now checks
for both zero height and width. Also, I eliminated the entire code to
byteswap X11 images since X11 can do that automatically if you ask it
nicely :-)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40271
2002-01-18 22:02:03 +00:00
Sam Lantinga
84a8810315 Added Quartz version of SDL_SetIcon() for MacOS X (thanks Bob)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40270
2002-01-18 19:41:59 +00:00
Sam Lantinga
f7244502f5 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40269
2002-01-18 18:34:51 +00:00
Sam Lantinga
09dd22f134 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40268
2002-01-18 18:14:22 +00:00
Sam Lantinga
3a8a4d7b07 Added QNX cleanups by Mike Gorchak (thanks!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40267
2002-01-18 18:14:03 +00:00