include/SDL_hints.h
changeset 5190 82a48f4d65f6
parent 5189 6f6a9340fb93
child 5192 ef5a61ea3202
equal deleted inserted replaced
5189:6f6a9340fb93 5190: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  */