Commit graph

40 commits

Author SHA1 Message Date
Sam Lantinga
52e1d76995 Merged in Ryan's multisample code for MacOS, and changed the constants to match.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40657
2003-07-22 15:33:28 +00:00
Sam Lantinga
800e2d5ebd Date: Thu, 24 Apr 2003 15:13:47 -0400
From: Shawn Kirst
Subject: SDL-1.2.5 patch to add ARB_multisample support

Attached is a patch I have written for SDL-1.2.5 that adds ARB_multisample
support.  I only have the X11 and Win32 video patched.  The Win32 patch also
adds support for WGL_ARB_pixel_format, as it was required for getting a
multisample capable pixel format.  No additional GL header files are required
to compile on either platform (though you need an up-to-date glx.h for X11).

Requesting a multisample pixel format is made possible using
SDL_GL_SetAttribute with the two new SDL_GLattr's I've added
(SDL_GL_SAMPLE_BUFFERS and SDL_GL_SAMPLES).  I've been using SDL in my
projects for quite a while now, so I am happy to contribute back to the
project.  Now you can have and control FSAA in your SDL/GL apps at the
application level!

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40656
2003-07-22 15:10:06 +00:00
Ryan C. Gordon
fe168ed146 We need to lookup the address of glGetString before calling GL_MakeCurrent(),
since the X11 target needs to query for extensions in there...hopefully this
 other platforms don't need to have a current context before symbol lookup
 works or something strange like that... --ryan.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40651
2003-07-12 13:30:30 +00:00
Sam Lantinga
e8ce0bc197 Added initial support for RISC OS (thanks Peter Naulls!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40631
2003-05-29 04:44:13 +00:00
Sam Lantinga
108052b020 Date: Mon, 14 Apr 2003 22:08:27 +0100
From: Patrice Mandin
Subject: [SDL][PATCH] 2 patches for sdl

Here are 2 patches for SDL:

- One is to put the dummy video drivers at the end of the
video drivers list. It gave me problems, when
SDL_VIDEODRIVER is not set, and the dummy driver is used
instead of the platform's driver, just because it is
always available. So the dummy driver must always be at
the end of the list. I suppose picogui and dc video
drivers also don't work.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40611
2003-04-15 15:46:56 +00:00
Sam Lantinga
dc74b15514 If a double-buffered surface was requested, and a plain hardware surface
was returned, we should create a shadow surface.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40581
2003-01-26 04:30:18 +00:00
Sam Lantinga
cfca6d1cc7 From: David Hedbor
Subject: Qtopia patches (input grabbing and iconify)

Ok, here's a patch that adds support for SDL_WM_GrabInput (default
state is "ungrabbed") and SDL_WM_IconifyWindow. Also has some other
tweaks such as taking additional steps to clean up when exiting
(bypassing certain bugs in some versions of Qtopia and/or OPIE) and it
also maps Key_F33 to Key_Return (this is the Zaurus 'ok' key).

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40568
2003-01-20 01:08:20 +00:00
Sam Lantinga
4135293105 Support 1-bit alpha on surfaces passed to SDL_WM_SetIcon() (thanks Glenn!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40542
2002-11-17 17:55:45 +00:00
Sam Lantinga
3ee2de057f Added initial support for Dreamcast (thanks HERO!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40510
2002-10-05 16:50:56 +00:00
Sam Lantinga
f580d052f7 Fixed missing cursor after shadow buffer flip (thanks Jan!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40489
2002-09-09 03:22:19 +00:00
Sam Lantinga
8b7ced1708 Reset mouse state when changing video modes
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40461
2002-08-20 06:01:20 +00:00
Sam Lantinga
9e7b2297be Fixed crash with invalid bpp in SDL_SetVideoMode()
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40457
2002-08-20 04:44:36 +00:00
Sam Lantinga
a05e8ec098 Added SDL_GL_STEREO for stereoscopic OpenGL contexts
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40451
2002-08-19 17:58:08 +00:00
Sam Lantinga
9bdbd6c797 Added initial support for PicoGUI (thanks Micah!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40434
2002-08-01 23:24:13 +00:00
Ryan C. Gordon
8613885333 Make sure width and height passed to SDL_GetVideoMode() are sane.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40431
2002-08-01 05:16:38 +00:00
Ryan C. Gordon
7aab656e69 More correct error reported when calling SDL_GL_LoadLibrary() without
prior call to SDL_Init().

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40424
2002-07-10 05:18:09 +00:00
Sam Lantinga
965965962a Added David Hedbor's Qtopia patches
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40372
2002-05-19 20:06:01 +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
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
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
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
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
Sam Lantinga
3ceea60069 Updated the source with the correct e-mail address
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40253
2001-12-14 12:38:15 +00:00
Sam Lantinga
3555e0f4c7 Fix a crash if an OpenGL video mode can't be set.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40230
2001-11-04 04:18:27 +00:00
Sam Lantinga
12fbaa83cf Fail if setting a video mode when requesting GL and can't get it.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40217
2001-10-25 06:22:38 +00:00
Sam Lantinga
ce3a1900be Added initial support for EPOC/Symbian OS (thanks Hannu!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40174
2001-09-11 20:38:49 +00:00
Sam Lantinga
9e8567129b Added support for DirectFB video on Linux (thanks Denis!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40168
2001-09-04 22:53:46 +00:00
Sam Lantinga
ea547cf165 Fix build when GL_CLIENT_PIXEL_STORE_BIT is not defined
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40126
2001-07-31 00:11:41 +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
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
72f7279bf8 Added initial support for Quartz video (thanks Darrell!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4048
2001-06-07 14:28:11 +00:00
Sam Lantinga
0445aeab47 Minor crash bugfix
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4035
2001-05-23 00:06:08 +00:00
Sam Lantinga
367f76c103 Added initial support for Nano-X (thanks Hsieh-Fu!)
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4031
2001-05-11 01:13:35 +00:00
Sam Lantinga
62b02c639e Date: Thu, 19 Apr 2001 08:36:54 +0300
From: "Mike Gorchak" <mike@malva.com.ua>
Subject: Patches for QNX RtP

Here my patch for QNX RtP/Photon for SDL-1.2.

Detailed description of my changes:

SDL/configure.in:
   If Photon detected declare define ENABLE_PHOTON.

SDL/src/video/SDL_sysvideo.h:
   Added extern to ph_bootstrap.

SDL/src/video/SDL_video.c:
   Added ph_bootstrap to bootstrap array.

SDL/src/video/photon/SDL_ph_events.c:
   Declare DISABLE_X11 if compiled for Photon.

SDL/src/video/photon/SDL_ph_image.c:
   Fixed segment violation on exit. Please update BUGS file.

SDL/src/video/photon/SDL_ph_video.c:
   1. Enabling window manager.
   2. Added to device capabilities Photon Window Manager functions:
      SetCaption and IconifyWindow.
   3. Renamed X11_bootstrap to ph_bootstrap.
   4. Removed SEGFAULT termination of programs if Photon not available.

SDL/src/video/photon/SDL_ph_wm.c:
   1. Declare DISABLE_X11 if compiled for Photon.
   2. Added ph_SetCaption and ph_IconifyWindow code. (Thanks to
      'phearbear' for iconify window source).
   3. Some stubers for other wm functions.

Thanks !

----------------------------
Mike Gorchak
CJSC Malva
System Programmer

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4020
2001-05-10 18:42:17 +00:00
Sam Lantinga
ea1961a548 Fixed stuck keys when changing the video mode
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4015
2001-05-01 21:12:57 +00:00
Sam Lantinga
0d41d5350e *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4012
2001-04-28 18:57:18 +00:00
Sam Lantinga
0f69788202 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%408
2001-04-26 18:37:24 +00:00
Sam Lantinga
9b6cc5a90d Changes since SDL 1.2.0 release
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402
2001-04-26 16:50:19 +00:00
Sam Lantinga
2f110628a7 Initial revision
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401
2001-04-26 16:45:43 +00:00