Mercurial > sdl-ios-xcode
annotate docs.html @ 3880:74e828c64315 SDL-1.2
Fixed bug #292
I might be on crack here.
It looks like SDL_ConvertMono() in src/audio/SDL_audiocvt.c adds the left and
right channels of a stereo stream together, and clamps the new mono channel if
it would overflow.
Shouldn't it be dividing by 2 to average the two sample points instead of
clamping? Otherwise the mono sample point's volume doubles in the conversion.
This would also make the conversion faster, as it replaces two branches per
sample frame with a bitwise shift.
--ryan.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 24 Sep 2006 15:45:37 +0000 |
parents | c08abb88531b |
children | c121d94672cb f5daa62ce1c4 |
rev | line source |
---|---|
0 | 1 <HTML> |
2 <HEAD><TITLE>SDL Stable Release</TITLE></HEAD> | |
3 <BODY BGCOLOR="#FFEBCD" TEXT="#000000"> | |
4 | |
5 <IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%"> | |
6 <P> | |
511
79c189f5bd76
Added an environment variable SDL_HAS3BUTTONMOUSE for Quartz
Sam Lantinga <slouken@libsdl.org>
parents:
509
diff
changeset
|
7 This source is stable, and is fully tested on all supported platforms.<br> |
79c189f5bd76
Added an environment variable SDL_HAS3BUTTONMOUSE for Quartz
Sam Lantinga <slouken@libsdl.org>
parents:
509
diff
changeset
|
8 Please send bug reports or questions to the SDL mailing list:<br> |
79c189f5bd76
Added an environment variable SDL_HAS3BUTTONMOUSE for Quartz
Sam Lantinga <slouken@libsdl.org>
parents:
509
diff
changeset
|
9 <a href="http://www.libsdl.org/mailing-list.php" |
79c189f5bd76
Added an environment variable SDL_HAS3BUTTONMOUSE for Quartz
Sam Lantinga <slouken@libsdl.org>
parents:
509
diff
changeset
|
10 >http://www.libsdl.org/mailing-list.php</a><br> |
79c189f5bd76
Added an environment variable SDL_HAS3BUTTONMOUSE for Quartz
Sam Lantinga <slouken@libsdl.org>
parents:
509
diff
changeset
|
11 The latest stable release may be found on the |
79c189f5bd76
Added an environment variable SDL_HAS3BUTTONMOUSE for Quartz
Sam Lantinga <slouken@libsdl.org>
parents:
509
diff
changeset
|
12 <a href="http://www.libsdl.org/">SDL website</A>. |
79c189f5bd76
Added an environment variable SDL_HAS3BUTTONMOUSE for Quartz
Sam Lantinga <slouken@libsdl.org>
parents:
509
diff
changeset
|
13 </P> |
0 | 14 |
15 <H2> <A HREF="docs/index.html">API Documentation</A> </H2> | |
1840
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
16 |
1892
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
17 <H2> SDL 1.2.11 Release Notes </H2> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
18 <P> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
19 SDL 1.2.11 is a minor bug fix release. |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
20 </P> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
21 |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
22 <H3> Unix Notes </H3> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
23 |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
24 <BLOCKQUOTE> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
25 <P> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
26 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. |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
27 </P> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
28 <P> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
29 Fixed building SDL with Xinerama disabled. |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
30 </P> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
31 <P> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
32 Fixed DRI OpenGL library loading, using RTLD_GLOBAL in dlopen(). |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
33 </P> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
34 <P> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
35 Added pkgconfig configuration support. |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
36 </P> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
37 </BLOCKQUOTE> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
38 |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
39 <H3> Windows Notes </H3> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
40 |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
41 <BLOCKQUOTE> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
42 <P> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
43 Setting SDL_GL_SWAP_CONTROL now works with Windows OpenGL. |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
44 </P> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
45 <P> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
46 The Win32 window positioning code works properly for windows with menus. |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
47 </P> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
48 <P> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
49 DirectSound audio quality has been improved on certain sound cards. |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
50 </P> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
51 <P> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
52 Fixed 5.1 audio channel ordering on Windows and Mac OS X. |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
53 </P> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
54 <P> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
55 Plugged a couple of minor memory leaks in the windib video driver. |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
56 </P> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
57 <P> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
58 Fixed type collision with stdint.h when building with gcc on Win32. |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
59 </P> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
60 <P> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
61 Fixed building with the Digital Mars Compiler on Win32. |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
62 </P> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
63 </BLOCKQUOTE> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
64 |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
65 <H3> Mac OS X Notes </H3> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
66 |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
67 <BLOCKQUOTE> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
68 <P> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
69 The Quartz video driver supports 32x32 cursors on Mac OS X 10.3 and above. |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
70 </P> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
71 </BLOCKQUOTE> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
72 |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
73 <IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%"> |
c08abb88531b
Added 1.2.11 patch notes
Sam Lantinga <slouken@libsdl.org>
parents:
1840
diff
changeset
|
74 |
1840
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
75 <H2> SDL 1.2.10 Release Notes </H2> |
0 | 76 <P> |
1840
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
77 SDL 1.2.10 is a major release, featuring a revamp of the build system and many API improvements and bug fixes. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
78 </P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
79 <H3> API enhancements </H3> |
0 | 80 <UL> |
1840
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
81 <LI> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
82 If SDL_OpenAudio() is passed zero for the desired format |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
83 fields, the following environment variables will be used |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
84 to fill them in: |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
85 <pre><code> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
86 SDL_AUDIO_FREQUENCY |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
87 SDL_AUDIO_FORMAT |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
88 SDL_AUDIO_CHANNELS |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
89 SDL_AUDIO_SAMPLES |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
90 </code></pre> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
91 If an environment variable is not specified, it will be set |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
92 to a reasonable default value. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
93 <LI> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
94 SDL_SetVideoMode() now accepts 0 for width or height and will use |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
95 the current video mode (or the desktop mode if no mode has been set.) |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
96 <LI> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
97 Added current_w and current_h to the SDL_VideoInfo structure, |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
98 which is set to the desktop resolution during video intialization, |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
99 and then set to the current resolution when a video mode is set. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
100 <LI> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
101 SDL_GL_LoadLibrary() will load the system default OpenGL library |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
102 if it is passed NULL as a parameter. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
103 <LI> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
104 Added SDL_GL_SWAP_CONTROL to wait for vsync in OpenGL applications. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
105 <LI> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
106 Added SDL_GL_ACCELERATED_VISUAL to guarantee hardware acceleration. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
107 <LI> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
108 SDL_WM_SetCaption() now officially takes UTF-8 title and icon strings, and displays international characters on supported platforms. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
109 <LI> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
110 Added SDL_GetKeyRepeat() to query the key repeat settings. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
111 <LI> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
112 Added the "dummy" audio driver, which can be used to emulate audio |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
113 output without a sound card. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
114 <LI> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
115 Added SDL_config.h, with defaults for various build environments. |
0 | 116 </UL> |
117 | |
1840
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
118 <H3> General Notes </H3> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
119 |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
120 <BLOCKQUOTE> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
121 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
122 The SDL website now has an <A HREF="http://www.libsdl.org/rss/rss.xml">RSS feed</A>! |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
123 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
124 The SDL development source code is now managed with <A HREF="http://www.libsdl.org/svn.php">Subversion</A>. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
125 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
126 SDL now uses the Bugzilla <A HREF="http://bugzilla.libsdl.org/">bug tracking system</A>, hosted by icculus.org. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
127 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
128 SDL is licensed under version 2.1 of the GNU Lesser General Public License. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
129 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
130 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. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
131 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
132 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> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
133 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
134 Alex Volkov contributed highly optimized RGB <-> RGBA blitters. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
135 </BLOCKQUOTE> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
136 |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
137 <H3> Unix Notes </H3> |
0 | 138 |
1840
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
139 <BLOCKQUOTE> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
140 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
141 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. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
142 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
143 The XiG XME extension code is now included in the X11 video driver by default. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
144 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
145 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. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
146 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
147 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. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
148 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
149 XVidMode video modes are now sorted so they maintain the refresh rates specified in the X11 configuration file. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
150 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
151 SDL windows are no longer transparent in X11 compositing systems like XGL. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
152 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
153 The mouse is properly released by the X11 video driver if the fullscreen window loses focus. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
154 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
155 The X11 input driver now uses XIM to handle international input. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
156 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
157 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. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
158 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
159 Fixed a bug preventing stereo OpenGL contexts from being selected on the X11 driver. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
160 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
161 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. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
162 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
163 The framebuffer console video driver now has a parser for /etc/fb.modes for improved video mode handling. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
164 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
165 The framebuffer console video driver now allows asynchronous VT switching, and restores the full contents of the screen when switched back. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
166 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
167 The framebuffer console now uses CTRL-ALT-FN to switch virtual terminals, to avoid collisions with application key bindings. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
168 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
169 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. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
170 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
171 The SVGAlib video driver now has support for banked (non-linear) video modes. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
172 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
173 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. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
174 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
175 Many patches have been incorporated from *BSD ports. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
176 </BLOCKQUOTE> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
177 |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
178 <H3> Windows Notes </H3> |
0 | 179 |
1840
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
180 <BLOCKQUOTE> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
181 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
182 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". |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
183 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
184 SDL has been ported to 64-bit Windows. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
185 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
186 Dmitry Yakimov contributed a GAPI video driver for Windows CE. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
187 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
188 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. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
189 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
190 Dialog boxes are now shown when SDL is in windowed OpenGL mode. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
191 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
192 The SDL window is recreated when necessary to maintain OpenGL context attributes, when switching between windowed and fullscreen modes. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
193 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
194 An SDL_VIDEORESIZE event is properly sent when the SDL window is maximized and restored. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
195 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
196 Window positions are retained when switching between fullscreen and windowed modes. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
197 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
198 ToUnicode() is used, when available, for improved handling of international keyboard input. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
199 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
200 The PrtScrn is now treated normally with both key down and key up events. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
201 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
202 Pressing ALT-F4 now delivers an SDL_QUIT event to SDL applications. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
203 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
204 Joystick names are now correct for joysticks which have been unplugged and then plugged back in since booting. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
205 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
206 An MCI error when playing the last track on a CD-ROM has been fixed. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
207 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
208 OpenWatcom projects for building SDL have been provided by Marc Peter. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
209 </BLOCKQUOTE> |
0 | 210 |
1840
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
211 <H3> Mac OS X Notes </H3> |
0 | 212 |
1840
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
213 <BLOCKQUOTE> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
214 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
215 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. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
216 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
217 The X11 video driver with GLX support can be built on Mac OS X, if the X11 development SDK is installed. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
218 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
219 Transitions between fullscreen resolutions and windowed mode now use a much faster asynchronous fade to hide desktop flicker. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
220 <P> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
221 Icons set with SDL_WM_SetIcon() now have the proper colors on Intel Macs. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
222 </BLOCKQUOTE> |
0 | 223 |
1840
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
224 <H3> OS/2 Notes </H3> |
0 | 225 |
1840
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
226 <BLOCKQUOTE> |
0 | 227 <P> |
1840
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
228 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. |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
229 </BLOCKQUOTE> |
c6a447c98584
Updated docs for SDL 1.2.10 release
Sam Lantinga <slouken@libsdl.org>
parents:
1124
diff
changeset
|
230 |
0 | 231 <IMG SRC="docs/images/rainbow.gif" ALT="[separator]" WIDTH="100%"> |
232 | |
233 </BODY> | |
234 </HTML> |