1.1 --- a/include/SDL_hints.h Sat Feb 05 10:02:39 2011 -0800
1.2 +++ b/include/SDL_hints.h Sat Feb 05 10:03:12 2011 -0800
1.3 @@ -50,6 +50,22 @@
1.4 /* *INDENT-ON* */
1.5 #endif
1.6
1.7 +/**
1.8 + * \brief A variable controlling how 3D acceleration is used to accelerate the SDL 1.2 screen surface.
1.9 + *
1.10 + * SDL can try to accelerate the SDL 1.2 screen surface by using streaming
1.11 + * textures with a 3D rendering engine. This variable controls whether and
1.12 + * how this is done.
1.13 + *
1.14 + * This variable can be set to the following values:
1.15 + * "0" - Disable 3D acceleration
1.16 + * "1" - Enable 3D acceleration, using the default renderer.
1.17 + * "X" - Enable 3D acceleration, using X where X is one of the valid rendering drivers. (e.g. "direct3d", "opengl", etc.)
1.18 + *
1.19 + * By default SDL tries to make a best guess for each platform whether
1.20 + * to use acceleration or not.
1.21 + */
1.22 +#define SDL_HINT_FRAMEBUFFER_ACCELERATION "SDL_FRAMEBUFFER_ACCELERATION"
1.23
1.24
1.25 /**