Mercurial > sdl-ios-xcode
comparison include/SDL_hints.h @ 5193:82a48f4d65f6
Added a hint to determine whether framebuffer texture acceleration should be used, and added default behaviors for the various platforms.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 05 Feb 2011 10:03:12 -0800 |
parents | 6f6a9340fb93 |
children | ef5a61ea3202 |
comparison
equal
deleted
inserted
replaced
5192:6f6a9340fb93 | 5193:82a48f4d65f6 |
---|---|
48 /* *INDENT-OFF* */ | 48 /* *INDENT-OFF* */ |
49 extern "C" { | 49 extern "C" { |
50 /* *INDENT-ON* */ | 50 /* *INDENT-ON* */ |
51 #endif | 51 #endif |
52 | 52 |
53 /** | |
54 * \brief A variable controlling how 3D acceleration is used to accelerate the SDL 1.2 screen surface. | |
55 * | |
56 * SDL can try to accelerate the SDL 1.2 screen surface by using streaming | |
57 * textures with a 3D rendering engine. This variable controls whether and | |
58 * how this is done. | |
59 * | |
60 * This variable can be set to the following values: | |
61 * "0" - Disable 3D acceleration | |
62 * "1" - Enable 3D acceleration, using the default renderer. | |
63 * "X" - Enable 3D acceleration, using X where X is one of the valid rendering drivers. (e.g. "direct3d", "opengl", etc.) | |
64 * | |
65 * By default SDL tries to make a best guess for each platform whether | |
66 * to use acceleration or not. | |
67 */ | |
68 #define SDL_HINT_FRAMEBUFFER_ACCELERATION "SDL_FRAMEBUFFER_ACCELERATION" | |
53 | 69 |
54 | 70 |
55 /** | 71 /** |
56 * \brief An enumeration of hint priorities | 72 * \brief An enumeration of hint priorities |
57 */ | 73 */ |