docs.html
author Sam Lantinga <slouken@libsdl.org>
Thu, 02 Apr 2009 04:43:36 +0000
branchSDL-1.2
changeset 4167 a6f635e5eaa6
parent 4141 8b10a6efad41
child 4280 e1826b24ee8d
permissions -rw-r--r--
Fixed bug #611

From Tim Angus 2008-08-12 11:18:06

I'm one of the maintainers of ioquake3.org, an updated version of the
Quake 3 engine. Relatively recently, we moved ioq3 to use SDL as a
replacement for 95% of the platform specific code that was there. On the
whole it's doing a great job but unfortunately since the move we've been
getting complaints about the quality of the mouse input on the Windows
platform to the point where for many the game is unplayable. Put in
other terms, the current stable SDL 1.2 is basically not fit for purpose
if you need high quality mouse input as you do in a first person shooter.

Over the weekend I decided to pull my finger out and actually figure out
what's going on. There are basically two major problems. Firstly, when
using the "windib" driver, mouse input is gathered via the WM_MOUSEMOVE
message. Googling for this indicates that often this is known to result
in "spurious" and/or "missing" mouse movement events; this is the
primary cause of the poor mouse input. The second problem is that the
"directx" driver does not work at all in combination with OpenGL meaning
that you can't use DirectInput if your application also uses OpenGL. In
other words you're locked into using the "windib" driver and its poor
mouse input.

In order to address these problems I've done the following:

* Remove WM_MOUSEMOVE based motion event generation and replace with
calls to GetCursorPos which seems much more reliable. In order to
achieve this I've moved mouse motion out into a separate function that
is called once per DIB_PumpEvents.

* Remove the restriction on the "directx" driver being inoperable in
combination with OpenGL. There is a bug for this issues that I've
hijacked to a certain extent
(http://bugzilla.libsdl.org/show_bug.cgi?id=265). I'm the first to admit
I don't really understand why this restriction is there in the first
place. The commit message for the bug fix that introduced this
restriction (r581) isn't very elaborate and I couldn't see any other bug
tracking the issue. If anyone has more information on the bug that was
avoided by r581 it would be helpful as I/someone could then look into
addressing the problem without disabling the "directx" driver.

* I've also removed the restriction on not being allowed to use
DirectInput in windowed mode. I couldn't see any reason for this, at
least not from our perspective. I have my suspicions that it'll be
something like matching up the cursor with the mouse coordinates...

* I bumped up the DirectInput API used to version 7 in order to get
access to mouse buttons 4-7. I've had to inject a little bit of the DX7
headers into SDL there as the MinGW ones aren't up to date in this respect.
slouken@0
     1
<HTML>
slouken@0
     2
<HEAD><TITLE>SDL Stable Release</TITLE></HEAD>
slouken@0
     3
<BODY BGCOLOR="#FFEBCD" TEXT="#000000">
slouken@0
     4
slouken@0
     5
<IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
slouken@0
     6
<P>
slouken@511
     7
This source is stable, and is fully tested on all supported platforms.<br>
slouken@511
     8
Please send bug reports or questions to the SDL mailing list:<br>
slouken@511
     9
<a href="http://www.libsdl.org/mailing-list.php"
slouken@511
    10
        >http://www.libsdl.org/mailing-list.php</a><br>
slouken@511
    11
The latest stable release may be found on the
slouken@511
    12
	<a href="http://www.libsdl.org/">SDL website</A>.
slouken@511
    13
</P>
slouken@0
    14
slouken@0
    15
<H2> <A HREF="docs/index.html">API Documentation</A> </H2>
slouken@1840
    16
slouken@4139
    17
<H2> SDL 1.2.14 Release Notes </H2>
slouken@4139
    18
<P>
slouken@4139
    19
SDL 1.2.14 is a minor bug fix release.
slouken@4139
    20
</P>
slouken@4139
    21
slouken@4139
    22
<H3> General Notes </H3>
slouken@4139
    23
slouken@4139
    24
<BLOCKQUOTE>
slouken@4139
    25
<P>
slouken@4141
    26
	Fixed flicker when resizing the SDL window
slouken@4139
    27
</P>
slouken@4139
    28
</BLOCKQUOTE>
slouken@4139
    29
slouken@4139
    30
<H3> Unix Notes </H3>
slouken@4139
    31
slouken@4139
    32
<BLOCKQUOTE>
slouken@4139
    33
<P>
slouken@4139
    34
	Added configure option --enable-screensaver, to allow enabling the screensaver by default.
slouken@4139
    35
</P>
slouken@4139
    36
<P>
slouken@4139
    37
	Use XResetScreenSaver() instead of disabling screensaver entirely.
slouken@4139
    38
</P>
slouken@4139
    39
</BLOCKQUOTE>
slouken@4139
    40
slouken@4139
    41
<H3> Windows Notes </H3>
slouken@4139
    42
slouken@4139
    43
<BLOCKQUOTE>
slouken@4139
    44
<P>
slouken@4139
    45
</P>
slouken@4139
    46
</BLOCKQUOTE>
slouken@4139
    47
slouken@4139
    48
<H3> Mac OS X Notes </H3>
slouken@4139
    49
slouken@4139
    50
<BLOCKQUOTE>
slouken@4139
    51
<P>
slouken@4139
    52
</P>
slouken@4139
    53
</BLOCKQUOTE>
slouken@4139
    54
slouken@4139
    55
<IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
slouken@4139
    56
slouken@4115
    57
<H2> SDL 1.2.13 Release Notes </H2>
slouken@4115
    58
<P>
slouken@4115
    59
SDL 1.2.13 is a minor bug fix release.
slouken@4115
    60
</P>
slouken@4115
    61
slouken@4115
    62
<H3> General Notes </H3>
slouken@4115
    63
slouken@4115
    64
<BLOCKQUOTE>
slouken@4115
    65
<P>
slouken@4115
    66
	Fixed link error when building with Intel Compiler 10.
slouken@4115
    67
</P>
slouken@4115
    68
<P>
slouken@4115
    69
	Removed stray C++ comment from public headers.
slouken@4115
    70
</P>
slouken@4115
    71
</BLOCKQUOTE>
slouken@4115
    72
slouken@4115
    73
<H3> Unix Notes </H3>
slouken@4115
    74
slouken@4115
    75
<BLOCKQUOTE>
slouken@4115
    76
<P>
slouken@4115
    77
	Fixed crash in SDL_SoftStretch() on secure operating systems.
slouken@4115
    78
</P>
slouken@4115
    79
<P>
slouken@4119
    80
	Fixed undefined symbol on X11 implementations without UTF-8 support.
slouken@4119
    81
</P>
slouken@4119
    82
<P>
slouken@4115
    83
	Worked around BadAlloc error when using XVideo on the XFree86 Intel Integrated Graphics driver.
slouken@4115
    84
</P>
slouken@4115
    85
<P>
slouken@4115
    86
	Scan for all joysticks on Linux instead of stopping at one that was removed.
slouken@4115
    87
</P>
slouken@4121
    88
<P>
slouken@4121
    89
	Fixed use of sdl-config arguments in sdl.m4
slouken@4121
    90
</P>
slouken@4115
    91
</BLOCKQUOTE>
slouken@4115
    92
slouken@4115
    93
<H3> Windows Notes </H3>
slouken@4115
    94
slouken@4115
    95
<BLOCKQUOTE>
slouken@4115
    96
<P>
slouken@4115
    97
	Fixed crash when a video driver reports higher than 32 bpp video modes.
slouken@4115
    98
</P>
slouken@4115
    99
<P>
slouken@4115
   100
	Fixed restoring the desktop after setting a 24-bit OpenGL video mode.
slouken@4115
   101
</P>
slouken@4115
   102
<P>
slouken@4115
   103
	Fixed window titles on Windows 95/98/ME.
slouken@4115
   104
</P>
slouken@4115
   105
<P>
slouken@4115
   106
	Added SDL_BUTTON_X1 and SDL_BUTTON_X2 constants for extended mouse buttons.
slouken@4115
   107
</P>
slouken@4119
   108
<P>
slouken@4119
   109
	Added support for quoted command line arguments.
slouken@4119
   110
</P>
slouken@4115
   111
</BLOCKQUOTE>
slouken@4115
   112
slouken@4115
   113
<H3> Mac OS X Notes </H3>
slouken@4115
   114
slouken@4115
   115
<BLOCKQUOTE>
slouken@4115
   116
<P>
slouken@4115
   117
	SDL now builds on Mac OS X 10.5 (Leopard).
slouken@4115
   118
</P>
slouken@4115
   119
<P>
slouken@4115
   120
	Fixed high frequency crash involving text input.
slouken@4115
   121
</P>
slouken@4115
   122
<P>
slouken@4123
   123
	Fixed beeping when the escape key is pressed and UNICODE translation is enabled.
slouken@4123
   124
</P>
slouken@4123
   125
<P>
slouken@4115
   126
	Improved trackpad scrolling support.
slouken@4115
   127
</P>
slouken@4120
   128
<P>
slouken@4120
   129
	Fixed joystick hat reporting for certain joysticks.
slouken@4120
   130
</P>
slouken@4115
   131
</BLOCKQUOTE>
slouken@4115
   132
slouken@4115
   133
<IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
slouken@4115
   134
slouken@3960
   135
<H2> SDL 1.2.12 Release Notes </H2>
slouken@3960
   136
<P>
slouken@3960
   137
SDL 1.2.12 is a minor bug fix release.
slouken@3960
   138
</P>
slouken@3960
   139
slouken@3960
   140
<H3> General Notes </H3>
slouken@3960
   141
slouken@3960
   142
<BLOCKQUOTE>
slouken@3960
   143
<P>
slouken@3960
   144
	Added support for the PulseAudio sound server: http://www.pulseaudio.org/
slouken@3960
   145
</P>
slouken@3960
   146
<P>
icculus@3982
   147
	Added SDL_VIDEO_ALLOW_SCREENSAVER to override SDL's disabling of the screensaver on Mac OS X, Windows, and X11.
slouken@3960
   148
</P>
slouken@3960
   149
<P>
slouken@3960
   150
	Fixed buffer overrun crash when resampling audio rates.
slouken@3960
   151
</P>
slouken@3960
   152
<P>
slouken@3960
   153
	Fixed audio bug where converting to mono was doubling the volume.
slouken@3960
   154
</P>
slouken@3960
   155
<P>
slouken@3960
   156
	Fixed off-by-one error in the C implementation of SDL_revcpy()
slouken@3960
   157
</P>
slouken@3960
   158
<P>
slouken@3966
   159
	Fixed compiling with Sun Studio.
slouken@3966
   160
</P>
slouken@3966
   161
<P>
slouken@3960
   162
	Support for AmigaOS has been removed from the main SDL code.
slouken@3960
   163
</P>
icculus@3968
   164
<P>
icculus@3968
   165
	Support for Nokia 9210 "EPOC" driver has been removed from the main SDL code.
icculus@3968
   166
</P>
icculus@3975
   167
<P>
icculus@3975
   168
	Unofficial support for the S60/SymbianOS platform has been added.
icculus@3975
   169
</P>
slouken@3976
   170
<P>
slouken@3976
   171
	Unofficial support for the Nintendo DS platform has been added.
slouken@3976
   172
</P>
icculus@4048
   173
<P>
icculus@4048
   174
	Reenabled MMX assembly for YUV overlay processing (GNU C Compiler only).
icculus@4048
   175
</P>
slouken@3960
   176
</BLOCKQUOTE>
slouken@3960
   177
slouken@3960
   178
<H3> Unix Notes </H3>
slouken@3960
   179
slouken@3960
   180
<BLOCKQUOTE>
slouken@3960
   181
<P>
slouken@4021
   182
	Fixed detection of X11 DGA mouse support.
slouken@4021
   183
</P>
slouken@4021
   184
<P>
slouken@3994
   185
	Improved XIM support for asian character sets.
slouken@3994
   186
</P>
slouken@3994
   187
<P>
slouken@3960
   188
	The GFX_Display has been added to the X11 window information in SDL_syswm.h.
slouken@3960
   189
</P>
slouken@3960
   190
<P>
slouken@3960
   191
	Fixed PAGE_SIZE compile error in the fbcon video driver on newer Linux kernels.
slouken@3960
   192
</P>
slouken@3960
   193
<P>
slouken@3960
   194
	Fixed hang or crash at startup if aRts can't access the hardware.
slouken@3960
   195
</P>
slouken@3960
   196
<P>
slouken@3960
   197
	Fixed relative mouse mode when the cursor starts outside the X11 window.
slouken@3960
   198
</P>
slouken@3960
   199
<P>
slouken@3960
   200
	Fixed accidental free of stack memory in X11 mouse acceleration code.
slouken@3960
   201
</P>
slouken@3960
   202
<P>
slouken@3960
   203
	Closed minor memory leak in XME code.
slouken@3960
   204
</P>
icculus@4048
   205
<P>
icculus@4048
   206
	Fixed TEXTRELs in the library to resolve some PIC issues.
icculus@4048
   207
</P>
slouken@3960
   208
</BLOCKQUOTE>
slouken@3960
   209
slouken@3960
   210
<H3> Windows Notes </H3>
slouken@3960
   211
slouken@3960
   212
<BLOCKQUOTE>
slouken@3960
   213
<P>
slouken@3993
   214
	The GDI video driver makes better use of the palette in 8-bit modes.
slouken@3993
   215
</P>
slouken@3993
   216
<P>
icculus@3970
   217
	The windib driver now supports more mouse buttons with WM_XBUTTON events.
icculus@3970
   218
</P>
icculus@3970
   219
<P>
slouken@4083
   220
	On Windows, SDL_SetVideoMode() will re-create the window instead of failing if the multisample settings are changed.
slouken@4083
   221
</P>
slouken@4083
   222
<P>
slouken@3960
   223
	Added support for UTF-8 window titles on Windows.
slouken@3960
   224
</P>
slouken@3960
   225
<P>
slouken@3960
   226
	Fixed joystick detection on Windows.
slouken@3960
   227
</P>
slouken@3960
   228
<P>
slouken@4032
   229
	Improved performance with Win32 file I/O.
slouken@4032
   230
</P>
slouken@4032
   231
<P>
slouken@3960
   232
	Fixed HBITMAP leak in GAPI driver.
slouken@3960
   233
</P>
slouken@3960
   234
</BLOCKQUOTE>
slouken@3960
   235
slouken@3960
   236
<H3> Mac OS X Notes </H3>
slouken@3960
   237
slouken@3960
   238
<BLOCKQUOTE>
slouken@3960
   239
<P>
slouken@3960
   240
	Added support for multi-axis controllers like 3Dconnxion's SpaceNavigator on Mac OS X.
slouken@3960
   241
</P>
slouken@3960
   242
<P>
slouken@3960
   243
	Fixed YUV overlay crash inside Quicktime on Intel Mac OS X.
slouken@3960
   244
</P>
slouken@3960
   245
<P>
slouken@3960
   246
	Fixed blitting alignment in Altivec alpha blit functions.
slouken@3960
   247
</P>
slouken@3960
   248
<P>
slouken@3960
   249
	Keys F13, F14, and F15 are now usable on Apple keyboards under Mac OS X.
slouken@3960
   250
</P>
slouken@3960
   251
<P>
slouken@3960
   252
	Fixed joystick calibration code on Mac OS X.
slouken@3960
   253
</P>
slouken@3960
   254
<P>
slouken@3960
   255
	Fixed mouse jitter when multiple motion events are queued up in Mac OS X.
slouken@3960
   256
</P>
slouken@4074
   257
<P>
slouken@4074
   258
	Fixed changing the cursor in fullscreen mode on Mac OS X.
slouken@4074
   259
</P>
slouken@3960
   260
</BLOCKQUOTE>
slouken@3960
   261
slouken@3963
   262
<H3> Mac OS Classic Notes </H3>
slouken@3963
   263
slouken@3963
   264
<BLOCKQUOTE>
slouken@3963
   265
<P>
slouken@3963
   266
	Added support for gamma ramps to both toolbox and DrawSprocket video drivers.
slouken@3963
   267
</P>
slouken@3963
   268
</BLOCKQUOTE>
slouken@3963
   269
slouken@3960
   270
<H3> BeOS Notes </H3>
slouken@3960
   271
slouken@3960
   272
<BLOCKQUOTE>
slouken@3960
   273
<P>
slouken@3960
   274
	Implemented mouse grabbing and mouse relative mode on BeOS.
slouken@3960
   275
</P>
slouken@3960
   276
</BLOCKQUOTE>
slouken@3960
   277
slouken@3960
   278
<IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
slouken@3960
   279
slouken@1892
   280
<H2> SDL 1.2.11 Release Notes </H2>
slouken@1892
   281
<P>
slouken@1892
   282
SDL 1.2.11 is a minor bug fix release.
slouken@1892
   283
</P>
slouken@1892
   284
slouken@1892
   285
<H3> Unix Notes </H3>
slouken@1892
   286
slouken@1892
   287
<BLOCKQUOTE>
slouken@1892
   288
<P>
slouken@1892
   289
	Dynamic X11 loading is only enabled with gcc 4 supporting -fvisibility=hidden.  This fixes crashes related to symbol collisions, and allows building on Solaris and IRIX.
slouken@1892
   290
</P>
slouken@1892
   291
<P>
slouken@1892
   292
	Fixed building SDL with Xinerama disabled.
slouken@1892
   293
</P>
slouken@1892
   294
<P>
slouken@1892
   295
	Fixed DRI OpenGL library loading, using RTLD_GLOBAL in dlopen().
slouken@1892
   296
</P>
slouken@1892
   297
<P>
slouken@1892
   298
	Added pkgconfig configuration support.
slouken@1892
   299
</P>
slouken@1892
   300
</BLOCKQUOTE>
slouken@1892
   301
slouken@1892
   302
<H3> Windows Notes </H3>
slouken@1892
   303
slouken@1892
   304
<BLOCKQUOTE>
slouken@1892
   305
<P>
slouken@1892
   306
	Setting SDL_GL_SWAP_CONTROL now works with Windows OpenGL.
slouken@1892
   307
</P>
slouken@1892
   308
<P>
slouken@1892
   309
	The Win32 window positioning code works properly for windows with menus.
slouken@1892
   310
</P>
slouken@1892
   311
<P>
slouken@1892
   312
	DirectSound audio quality has been improved on certain sound cards.
slouken@1892
   313
</P>
slouken@1892
   314
<P>
slouken@1892
   315
	Fixed 5.1 audio channel ordering on Windows and Mac OS X.
slouken@1892
   316
</P>
slouken@1892
   317
<P>
slouken@1892
   318
	Plugged a couple of minor memory leaks in the windib video driver.
slouken@1892
   319
</P>
slouken@1892
   320
<P>
slouken@1892
   321
	Fixed type collision with stdint.h when building with gcc on Win32.
slouken@1892
   322
</P>
slouken@1892
   323
<P>
slouken@1892
   324
	Fixed building with the Digital Mars Compiler on Win32.
slouken@1892
   325
</P>
slouken@1892
   326
</BLOCKQUOTE>
slouken@1892
   327
slouken@1892
   328
<H3> Mac OS X Notes </H3>
slouken@1892
   329
slouken@1892
   330
<BLOCKQUOTE>
slouken@1892
   331
<P>
slouken@1892
   332
	The Quartz video driver supports 32x32 cursors on Mac OS X 10.3 and above.
slouken@1892
   333
</P>
slouken@1892
   334
</BLOCKQUOTE>
slouken@1892
   335
slouken@1892
   336
<IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
slouken@1892
   337
slouken@1840
   338
<H2> SDL 1.2.10 Release Notes </H2>
slouken@0
   339
<P>
slouken@1840
   340
SDL 1.2.10 is a major release, featuring a revamp of the build system and many API improvements and bug fixes.
slouken@1840
   341
</P>
slouken@1840
   342
<H3> API enhancements </H3>
slouken@0
   343
<UL>
slouken@1840
   344
<LI>
slouken@1840
   345
	If SDL_OpenAudio() is passed zero for the desired format
slouken@1840
   346
	fields, the following environment variables will be used
slouken@1840
   347
	to fill them in:
slouken@1840
   348
<pre><code>
slouken@1840
   349
		SDL_AUDIO_FREQUENCY
slouken@1840
   350
		SDL_AUDIO_FORMAT
slouken@1840
   351
		SDL_AUDIO_CHANNELS
slouken@1840
   352
		SDL_AUDIO_SAMPLES
slouken@1840
   353
</code></pre>
slouken@1840
   354
	If an environment variable is not specified, it will be set
slouken@1840
   355
	to a reasonable default value.
slouken@1840
   356
<LI>
slouken@1840
   357
	SDL_SetVideoMode() now accepts 0 for width or height and will use
slouken@1840
   358
	the current video mode (or the desktop mode if no mode has been set.)
slouken@1840
   359
<LI>
slouken@1840
   360
	Added current_w and current_h to the SDL_VideoInfo structure,
slouken@1840
   361
	which is set to the desktop resolution during video intialization,
slouken@1840
   362
	and then set to the current resolution when a video mode is set.
slouken@1840
   363
<LI>
slouken@1840
   364
	SDL_GL_LoadLibrary() will load the system default OpenGL library
slouken@1840
   365
	if it is passed NULL as a parameter.
slouken@1840
   366
<LI>
slouken@1840
   367
	Added SDL_GL_SWAP_CONTROL to wait for vsync in OpenGL applications.
slouken@1840
   368
<LI>
slouken@1840
   369
	Added SDL_GL_ACCELERATED_VISUAL to guarantee hardware acceleration.
slouken@1840
   370
<LI>
slouken@1840
   371
	SDL_WM_SetCaption() now officially takes UTF-8 title and icon strings, and displays international characters on supported platforms.
slouken@1840
   372
<LI>
slouken@1840
   373
	Added SDL_GetKeyRepeat() to query the key repeat settings.
slouken@1840
   374
<LI>
slouken@1840
   375
	Added the "dummy" audio driver, which can be used to emulate audio
slouken@1840
   376
	output without a sound card.
slouken@1840
   377
<LI>
slouken@1840
   378
	Added SDL_config.h, with defaults for various build environments.
slouken@0
   379
</UL>
slouken@0
   380
slouken@1840
   381
<H3> General Notes </H3>
slouken@0
   382
slouken@1840
   383
<BLOCKQUOTE>
slouken@1840
   384
<P>
slouken@1840
   385
	The SDL website now has an <A HREF="http://www.libsdl.org/rss/rss.xml">RSS feed</A>!
slouken@1840
   386
<P>
slouken@1840
   387
	The SDL development source code is now managed with <A HREF="http://www.libsdl.org/svn.php">Subversion</A>.
slouken@1840
   388
<P>
slouken@1840
   389
	SDL now uses the Bugzilla <A HREF="http://bugzilla.libsdl.org/">bug tracking system</A>, hosted by icculus.org.
slouken@1840
   390
<P>
slouken@1840
   391
	SDL is licensed under version 2.1 of the GNU Lesser General Public License.
slouken@1840
   392
<P>
slouken@1840
   393
	The entire build system has been revamped to make it much more portable, including versions of C library functions to make it possible to run SDL on a minimal embedded environment.  See README.Porting in the SDL source distribution for information on how to port SDL to a new platform.
slouken@1840
   394
<P>
slouken@1840
   395
	SDL_opengl.h has been updated with the latest glext.h from <A HREF="http://oss.sgi.com/projects/ogl-sample/registry/">http://oss.sgi.com/projects/ogl-sample/registry/</A>
slouken@1840
   396
<P>
slouken@1840
   397
	Alex Volkov contributed highly optimized RGB <-> RGBA blitters.
slouken@1840
   398
</BLOCKQUOTE>
slouken@0
   399
slouken@1840
   400
<H3> Unix Notes </H3>
slouken@0
   401
slouken@1840
   402
<BLOCKQUOTE>
slouken@1840
   403
<P>
slouken@1840
   404
	The X11 libraries are dynamically loaded at runtime by default.  This allows the distributed version of SDL to run on systems without X11 libraries installed.
slouken@1840
   405
<P>
slouken@1840
   406
	The XiG XME extension code is now included in the X11 video driver by default.
slouken@1840
   407
<P>
slouken@1840
   408
	XRandR support for video mode switching has been added to the X11 driver, but is disabled because of undesired interactions with window managers.  You can enable this by setting the environment variable SDL_VIDEO_X11_XRANDR to 1.
slouken@1840
   409
<P>
slouken@1840
   410
	Xinerama multi-head displays are properly handled now, and the SDL_VIDEO_FULLSCREEN_HEAD environment variable can be used to select the screen used for fullscreen video modes.  Note that changing the video modes only works on screen 0.
slouken@1840
   411
<P>
slouken@1840
   412
	XVidMode video modes are now sorted so they maintain the refresh rates specified in the X11 configuration file.
slouken@1840
   413
<P>
slouken@1840
   414
	SDL windows are no longer transparent in X11 compositing systems like XGL.
slouken@1840
   415
<P>
slouken@1840
   416
	The mouse is properly released by the X11 video driver if the fullscreen window loses focus.
slouken@1840
   417
<P>
slouken@1840
   418
	The X11 input driver now uses XIM to handle international input.
slouken@1840
   419
<P>
slouken@1840
   420
	The screensaver and DPMS monitor blanking are disabled while SDL games are running under the X11 and DGA video drivers.  This behavior will be formalized and selectable in SDL 1.3.
slouken@1840
   421
<P>
slouken@1840
   422
	Fixed a bug preventing stereo OpenGL contexts from being selected on the X11 driver.
slouken@1840
   423
<P>
slouken@1840
   424
	The DGA video driver now waits for pending blits involving surfaces before they are freed.  This prevents display oddities when using SDL_DisplayFormat() to convert many images.
slouken@1840
   425
<P>
slouken@1840
   426
	The framebuffer console video driver now has a parser for /etc/fb.modes for improved video mode handling.
slouken@1840
   427
<P>
slouken@1840
   428
	The framebuffer console video driver now allows asynchronous VT switching, and restores the full contents of the screen when switched back.
slouken@1840
   429
<P>
slouken@1840
   430
	The framebuffer console now uses CTRL-ALT-FN to switch virtual terminals, to avoid collisions with application key bindings.
slouken@1840
   431
<P>
slouken@1840
   432
	The framebuffer console input driver correctly sets IMPS/2 mode for wheel mice.  It also properly detects when gpm is in IMPS/2 protocol mode, or passing raw protocol from an IMPS/2 mouse.
slouken@1840
   433
<P>
slouken@1840
   434
	The SVGAlib video driver now has support for banked (non-linear) video modes.
slouken@1840
   435
<P>
slouken@1840
   436
	A video driver for OpenBSD on the Sharp Zaurus has been contributed by Staffan Ulfberg.  See the file README.wscons in the SDL source distribution for details.
slouken@1840
   437
<P>
slouken@1840
   438
	Many patches have been incorporated from *BSD ports.
slouken@1840
   439
</BLOCKQUOTE>
slouken@0
   440
slouken@1840
   441
<H3> Windows Notes </H3>
slouken@0
   442
slouken@1840
   443
<BLOCKQUOTE>
slouken@1840
   444
<P>
slouken@1840
   445
	The "windib" video driver is the default now, to prevent problems with certain laptops, 64-bit Windows, and Windows Vista.  The DirectX driver is still available, and can be selected by setting the environment variable SDL_VIDEODRIVER to "directx".
slouken@1840
   446
<P>
slouken@1840
   447
	SDL has been ported to 64-bit Windows.
slouken@1840
   448
<P>
slouken@1840
   449
	Dmitry Yakimov contributed a GAPI video driver for Windows CE.
slouken@1840
   450
<P>
slouken@1840
   451
	The default fullscreen refresh rate has been increased to match the desktop refresh rate, when using equivalent resolutions.  A full API for querying and selecting refresh rates is planned for SDL 1.3.
slouken@1840
   452
<P>
slouken@1840
   453
	Dialog boxes are now shown when SDL is in windowed OpenGL mode.
slouken@1840
   454
<P>
slouken@1840
   455
	The SDL window is recreated when necessary to maintain OpenGL context attributes, when switching between windowed and fullscreen modes.
slouken@1840
   456
<P>
slouken@1840
   457
	An SDL_VIDEORESIZE event is properly sent when the SDL window is maximized and restored.
slouken@1840
   458
<P>
slouken@1840
   459
	Window positions are retained when switching between fullscreen and windowed modes.
slouken@1840
   460
<P>
slouken@1840
   461
	ToUnicode() is used, when available, for improved handling of international keyboard input.
slouken@1840
   462
<P>
slouken@1840
   463
	The PrtScrn is now treated normally with both key down and key up events.
slouken@1840
   464
<P>
slouken@1840
   465
	Pressing ALT-F4 now delivers an SDL_QUIT event to SDL applications.
slouken@1840
   466
<P>
slouken@1840
   467
	Joystick names are now correct for joysticks which have been unplugged and then plugged back in since booting.
slouken@1840
   468
<P>
slouken@1840
   469
	An MCI error when playing the last track on a CD-ROM has been fixed.
slouken@1840
   470
<P>
slouken@1840
   471
	OpenWatcom projects for building SDL have been provided by Marc Peter.
slouken@1840
   472
</BLOCKQUOTE>
slouken@0
   473
slouken@1840
   474
<H3> Mac OS X Notes </H3>
slouken@1840
   475
slouken@1840
   476
<BLOCKQUOTE>
slouken@0
   477
<P>
slouken@1840
   478
	SDL now supports building Universal binaries, both through Xcode projects and when using configure/make.  See README.MacOSX in the SDL source archive for details.
slouken@1840
   479
<P>
slouken@1840
   480
	The X11 video driver with GLX support can be built on Mac OS X, if the X11 development SDK is installed.
slouken@1840
   481
<P>
slouken@1840
   482
	Transitions between fullscreen resolutions and windowed mode now use a much faster asynchronous fade to hide desktop flicker.
slouken@1840
   483
<P>
slouken@1840
   484
	Icons set with SDL_WM_SetIcon() now have the proper colors on Intel Macs.
slouken@1840
   485
</BLOCKQUOTE>
slouken@1840
   486
slouken@1840
   487
<H3> OS/2 Notes </H3>
slouken@1840
   488
slouken@1840
   489
<BLOCKQUOTE>
slouken@1840
   490
<P>
slouken@1840
   491
	Projects for building SDL on OS/2 with OpenWatcom have been contributed by Doodle.  See the file README.OS2 in the SDL source distribution for details.
slouken@1840
   492
</BLOCKQUOTE>
slouken@1840
   493
slouken@0
   494
<IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%">
slouken@0
   495
slouken@0
   496
</BODY>
slouken@0
   497
</HTML>