comparison src/video/qnxgf/SDL_qnxgf.h @ 3116:b17f1ae7ad66

Added support for single buffering, if double buffering is not available.
author Mike Gorchak <lestat@i.com.ua>
date Tue, 05 May 2009 17:50:34 +0000
parents 7b3a09fb9c8b
children 7f684f249ec9
comparison
equal deleted inserted replaced
3115:1102a3305928 3116:b17f1ae7ad66
98 { 98 {
99 uint8_t* name; 99 uint8_t* name;
100 uint32_t caps; 100 uint32_t caps;
101 } GF_DeviceCaps; 101 } GF_DeviceCaps;
102 102
103 #define SDL_GF_UNACCELERATED 0x00000000 103 #define SDL_GF_UNACCELERATED 0x00000000 /* driver is unaccelerated */
104 #define SDL_GF_ACCELERATED 0x00000001 104 #define SDL_GF_ACCELERATED 0x00000001 /* driver is accelerated */
105 #define SDL_GF_NOLOWRESOLUTION 0x00000000 105 #define SDL_GF_NOLOWRESOLUTION 0x00000000 /* no modes below 640x480 */
106 #define SDL_GF_LOWRESOLUTION 0x00000002 106 #define SDL_GF_LOWRESOLUTION 0x00000002 /* support modes <640x480 */
107 #define SDL_GF_UNACCELERATED_3D 0x00000000 107 #define SDL_GF_UNACCELERATED_3D 0x00000000 /* software OpenGL ES */
108 #define SDL_GF_ACCELERATED_3D 0x00000004 108 #define SDL_GF_ACCELERATED_3D 0x00000004 /* hardware acc. OpenGL ES */
109 #define SDL_GF_NOVIDEOMEMORY 0x00000000 /* no video memory alloc. */
110 #define SDL_GF_VIDEOMEMORY 0x00000008 /* has video memory alloc. */
109 111
110 /****************************************************************************/ 112 /****************************************************************************/
111 /* SDL_VideoDevice functions declaration */ 113 /* SDL_VideoDevice functions declaration */
112 /****************************************************************************/ 114 /****************************************************************************/
113 115