include/SDL_video.h
changeset 1965 a788656ca29a
parent 1963 2590b68531ef
child 1966 6472256c21eb
     1.1 --- a/include/SDL_video.h	Thu Aug 03 19:34:05 2006 +0000
     1.2 +++ b/include/SDL_video.h	Sat Aug 05 17:09:42 2006 +0000
     1.3 @@ -170,13 +170,13 @@
     1.4   */
     1.5  typedef enum
     1.6  {
     1.7 -    SDL_Renderer_SingleBuffer = 0x00000001,     /**< Render directly to the window, if possible */
     1.8 -    SDL_Renderer_PresentCopy = 0x00000002,      /**< Present uses a copy from back buffer to the front buffer */
     1.9 -    SDL_Renderer_PresentFlip2 = 0x00000004,     /**< Present uses a flip, swapping back buffer and front buffer */
    1.10 -    SDL_Renderer_PresentFlip3 = 0x00000008,     /**< Present uses a flip, rotating between two back buffers and a front buffer */
    1.11 -    SDL_Renderer_PresentDiscard = 0x00000010,   /**< Present leaves the contents of the backbuffer undefined */
    1.12 -    SDL_Renderer_PresentVSync = 0x00000020,     /**< Present is synchronized with the refresh rate */
    1.13 -    SDL_Renderer_Accelerated = 0x00000040,      /**< The renderer uses hardware acceleration */
    1.14 +    SDL_RENDERER_SINGLEBUFFER = 0x00000001,     /**< Render directly to the window, if possible */
    1.15 +    SDL_RENDERER_PRESENTCOPY = 0x00000002,      /**< Present uses a copy from back buffer to the front buffer */
    1.16 +    SDL_RENDERER_PRESENTFLIP2 = 0x00000004,     /**< Present uses a flip, swapping back buffer and front buffer */
    1.17 +    SDL_RENDERER_PRESENTFLIP3 = 0x00000008,     /**< Present uses a flip, rotating between two back buffers and a front buffer */
    1.18 +    SDL_RENDERER_PRESENTDISCARD = 0x00000010,   /**< Present leaves the contents of the backbuffer undefined */
    1.19 +    SDL_RENDERER_PRESENTVSYNC = 0x00000020,     /**< Present is synchronized with the refresh rate */
    1.20 +    SDL_RENDERER_ACCELERATED = 0x00000040,      /**< The renderer uses hardware acceleration */
    1.21  } SDL_RendererFlags;
    1.22  
    1.23  /**
    1.24 @@ -203,8 +203,8 @@
    1.25   */
    1.26  typedef enum
    1.27  {
    1.28 -    SDL_TextureAccess_Local,    /**< Lockable system memory */
    1.29 -    SDL_TextureAccess_Remote,   /**< Unlockable video memory */
    1.30 +    SDL_TEXTUREACCESS_LOCAL,    /**< Lockable system memory */
    1.31 +    SDL_TEXTUREACCESS_REMOTE,   /**< Unlockable video memory */
    1.32  } SDL_TextureAccess;
    1.33  
    1.34  /**
    1.35 @@ -214,11 +214,11 @@
    1.36   */
    1.37  typedef enum
    1.38  {
    1.39 -    SDL_TextureBlendMode_None = 0x00000000,     /**< No blending */
    1.40 -    SDL_TextureBlendMode_Mask = 0x00000001,     /**< dst = A ? src : dst (alpha is mask) */
    1.41 -    SDL_TextureBlendMode_Blend = 0x00000002,    /**< dst = (src * A) + (dst * (1-A)) */
    1.42 -    SDL_TextureBlendMode_Add = 0x00000004,      /**< dst = (src * A) + dst */
    1.43 -    SDL_TextureBlendMode_Mod = 0x00000008,      /**< dst = src * dst */
    1.44 +    SDL_TEXTUREBLENDMODE_NONE = 0x00000000,     /**< No blending */
    1.45 +    SDL_TEXTUREBLENDMODE_MASK = 0x00000001,     /**< dst = A ? src : dst (alpha is mask) */
    1.46 +    SDL_TEXTUREBLENDMODE_BLEND = 0x00000002,    /**< dst = (src * A) + (dst * (1-A)) */
    1.47 +    SDL_TEXTUREBLENDMODE_ADD = 0x00000004,      /**< dst = (src * A) + dst */
    1.48 +    SDL_TEXTUREBLENDMODE_MOD = 0x00000008,      /**< dst = src * dst */
    1.49  } SDL_TextureBlendMode;
    1.50  
    1.51  /**
    1.52 @@ -228,10 +228,10 @@
    1.53   */
    1.54  typedef enum
    1.55  {
    1.56 -    SDL_TextureScaleMode_None = 0x00000000,     /**< No scaling, rectangles must match dimensions */
    1.57 -    SDL_TextureScaleMode_Fast = 0x00000001,     /**< Point sampling or equivalent algorithm */
    1.58 -    SDL_TextureScaleMode_Slow = 0x00000002,     /**< Linear filtering or equivalent algorithm */
    1.59 -    SDL_TextureScaleMode_Best = 0x00000004,     /**< Bicubic filtering or equivalent algorithm */
    1.60 +    SDL_TEXTURESCALEMODE_NONE = 0x00000000,     /**< No scaling, rectangles must match dimensions */
    1.61 +    SDL_TEXTURESCALEMODE_FAST = 0x00000001,     /**< Point sampling or equivalent algorithm */
    1.62 +    SDL_TEXTURESCALEMODE_SLOW = 0x00000002,     /**< Linear filtering or equivalent algorithm */
    1.63 +    SDL_TEXTURESCALEMODE_BEST = 0x00000004,     /**< Bicubic filtering or equivalent algorithm */
    1.64  } SDL_TextureScaleMode;
    1.65  
    1.66  /**