Commit graph

11 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
Sam Lantinga
ae337cc4b4 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40493
2002-09-16 06:17:34 +00:00
Sam Lantinga
c2fa8f306f Date: Thu, 18 Apr 2002 13:50:53 -0700
From: Joseph Carter <knghtbrd@bluecherry.net>
Subject: [SDL] A critical bugfix!

I discovered a problem with testgl.c which absolutely MUST be fixed!  Not
fixing this bug immediately will be a great blow to budding OpenGL coders
everywhere!

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40364
2002-04-19 03:29:22 +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
c374bc5b9f Fixed testgl so that SDL_GL_Enter2DMode() allows alpha blending
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40244
2001-11-22 06:34:25 +00:00
Sam Lantinga
8254d92a49 Modified the logo texture load to accept any width/height image
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40235
2001-11-06 01:48:36 +00:00
Sam Lantinga
e19a77c7c5 SDL_OPENGLBLIT is deprecated, show the "right way" of doing things
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40234
2001-11-06 00:15:24 +00:00
Sam Lantinga
e79ad74ac3 *** empty log message ***
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40222
2001-11-02 18:12:52 +00:00
Sam Lantinga
3deb725c6a Added platform independent OpenGL header - SDL_opengl.h
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40215
2001-10-25 05:37:32 +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