Sam Lantinga
f105c474a1
Cleanup for the last checkin
2006-08-28 03:27:59 +00:00
Sam Lantinga
7462d2796b
Added source color and alpha modulation support.
...
Added perl script to generate optimized render copy functions.
2006-08-28 03:17:39 +00:00
Sam Lantinga
34b09cb9e1
Clarified the difference between render drivers and render contexts
2006-08-06 00:09:04 +00:00
Sam Lantinga
5559b37173
Updated header documentation
2006-08-05 22:41:33 +00:00
Sam Lantinga
b59f1d5aff
In general, fill in pointers to structures, rather than return them.
2006-08-05 22:34:23 +00:00
Sam Lantinga
dac1c877d9
Removed old function
2006-08-05 17:12:22 +00:00
Sam Lantinga
5b0dc2c1d5
SDL constants are all uppercase.
2006-08-05 17:09:42 +00:00
Sam Lantinga
c6ca286be1
Added SDL_GetCurrentVideoDisplay()
2006-08-02 03:20:52 +00:00
Sam Lantinga
453f45eaca
Simplified driver window creation code.
...
Implemented several Cocoa window functions
2006-07-29 21:51:00 +00:00
Sam Lantinga
bcbb41b25f
Implemented OpenGL support on Mac OS X
...
The OpenGL renderer works without changes, yay! :)
2006-07-25 06:22:42 +00:00
Sam Lantinga
f6948f99cb
Added SDL_GL_ExtensionSupported()
...
Use GL_ARB_texture_rectangle in the OpenGL renderer, if supported.
2006-07-22 21:58:17 +00:00
Sam Lantinga
d533be8505
Convert SDL_malloc to SDL_calloc if appropriate, slightly faster on operating systems which map the zero page for memory allocations.
...
OpenGL renderer in progress
2006-07-22 08:33:18 +00:00
Sam Lantinga
c71b106d69
Setting up the OpenGL support
2006-07-16 09:34:01 +00:00
Sam Lantinga
ed287169af
Streamlined the API a bit and optimized the software renderer.
2006-07-15 09:46:36 +00:00
Sam Lantinga
c1ff714652
Solved the performance problems by introducing the concept of a single-buffered
...
display, which is a fast path used for the whole-surface SDL 1.2 API.
Solved the flicker problems by implementing a backbuffer in the GDI renderer.
Unfortunately, now using the GDI renderer with a backbuffer and HBITMAPs is
significantly slower than SDL's surface code. *sigh*
2006-07-12 06:39:26 +00:00
Sam Lantinga
6bc598ea61
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
2006-07-10 21:04:37 +00:00
Sam Lantinga
bc35de2e30
Implemented bug #5
...
Added SDL_GL_ACCELERATED_VISUAL to guarantee hardware acceleration.
2006-04-27 08:39:51 +00:00
Sam Lantinga
2a622cd891
Implemented bug #2 , 117:
...
Date: Mon, 21 Mar 2005 12:06:14 +0100
From: Per Inge Mathisen
Subject: Re: [SDL] Outstanding patches?
The patch adds support for setting SDL_GL_SWAP_CONTROL to Windows and
X11. In Windows you can also query this enum to check that it is
working, or see what the default is - such functionality does not
exist in GLX. For more information on the standards implemented:
http://oss.sgi.com/projects/ogl-sample/registry/SGI/swap_control.txt
http://oss.sgi.com/projects/ogl-sample/registry/EXT/wgl_swap_control.txt
2006-04-27 07:59:16 +00:00
Sam Lantinga
e9e9f43bc0
Added current_w and current_h to the SDL_VideoInfo structure, which is set to the desktop resolution during video intialization, and then set to the current resolution when a video mode is set.
...
SDL_SetVideoMode() now accepts 0 for width or height and will use the current video mode (or the desktop mode if no mode has been set.)
2006-03-15 17:46:41 +00:00
Sam Lantinga
a50362ff8f
Fixed bug #139
...
The text in SDL_WM_SetCaption() is in UTF-8 encoding.
2006-03-13 01:33:58 +00:00
Sam Lantinga
14c1061d01
Dynamic OpenGL loading is the default now. :)
2006-03-09 15:11:15 +00:00
Sam Lantinga
769424426d
More header massaging... works great on Windows. ;-)
2006-02-10 06:48:43 +00:00
Sam Lantinga
5022a01e6c
*** empty log message ***
2006-02-10 03:19:02 +00:00
Sam Lantinga
82bfaee73a
It's now possible to build SDL without any C runtime at all on Windows,
...
using Visual C++ 2005
2006-02-06 08:28:51 +00:00
Sam Lantinga
808a16717c
Updated copyright information and removed rcs id lines (problematic in branch merges)
...
I batch edited these files, so please let me know if I've accidentally removed anybody's
credit here.
2006-02-01 06:32:25 +00:00
Sam Lantinga
2945171f09
Allow SDL to be loaded by Matlab
2005-01-02 05:11:16 +00:00
Sam Lantinga
08c158c94b
Date: Mon, 3 May 2004 03:15:01 +0100
...
From: David Symmonds
Subject: SDL Typedef Structs
Hi, Thanks for the SDL libraries, I have been using them for about a year
now and they are really brilliant. One thing that I have just found whilst
using them through C++ (and needing forward declarations) is that when you
typedef structs you sometimes use
typedef struct Name
{
...
}Name;
e.g. SDL_Surface
and other times use
typedef struct
{
...
}Name;
e.g. SDL_Rect
The first type works fine, when I define a header file I can just put
'struct Name;' at the top and use the Name throughout. However, the second
type is harder to use in a header, and I haven't found a way yet, other than
to include 'SDL.h' in the header file (undesirable). Would there be any harm
in changing the definition of SDL_Rect and such like to the second form?
2004-07-18 22:57:40 +00:00
Sam Lantinga
32719e7429
Updated copyright information for 2004 (Happy New Year!)
2004-01-04 16:49:27 +00:00
Sam Lantinga
6e96b51fbd
*** empty log message ***
2003-08-06 20:12:00 +00:00
Sam Lantinga
7777531c48
Merged in Ryan's multisample code for MacOS, and changed the constants to match.
2003-07-22 15:33:28 +00:00
Sam Lantinga
19ffa849ea
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!
2003-07-22 15:10:06 +00:00
Sam Lantinga
20f2cf5c6d
I'm American, does it show? ;-)
2003-06-28 17:39:46 +00:00
Sam Lantinga
7fabbe8198
Added SDL_GL_STEREO for stereoscopic OpenGL contexts
2002-08-19 17:58:08 +00:00
Sam Lantinga
9212a4cc0e
*** empty log message ***
2002-08-01 23:08:41 +00:00
Sam Lantinga
6b2eaa78f8
Fixed SDL_DisplayFormatAlpha() on RGB surfaces with alpha
2002-08-01 23:06:39 +00:00
Sam Lantinga
8b5bf373be
Explicitly specify the SDL API calling convention (C by default)
2002-04-11 14:35:16 +00:00
Sam Lantinga
df4885048e
Updated copyright information for 2002
2002-03-06 11:23:08 +00:00
Sam Lantinga
eba3a46432
Removed the API changes to preserve SDL 1.2 stability
2002-03-06 11:05:47 +00:00
Sam Lantinga
393bef31ab
Added SDL_LockRect() and SDL_UnlockRect()
...
Incorporated XFree86 extension libraries into the source
2002-03-05 19:55:32 +00:00
Sam Lantinga
ee5e74f984
Updated the headers with the correct e-mail address
2001-12-14 12:37:47 +00:00
Sam Lantinga
721e17ba34
The rectangle argument to SDL_SetClipRect is really const
2001-07-31 05:36:10 +00:00
Sam Lantinga
3cbdc6b721
Added initial support for Quartz video (thanks Darrell!)
2001-06-07 14:28:11 +00:00
Sam Lantinga
5d2015c741
Initial revision
2001-04-26 16:45:43 +00:00