comparison src/video/photon/SDL_photon_render.h @ 3387:05499ec8c022

Initial support for fullscreen application modes.
author Mike Gorchak <lestat@i.com.ua>
date Mon, 12 Oct 2009 19:47:01 +0000
parents 90935231e9b6
children d6b79fc83362
comparison
equal deleted inserted replaced
3386:fff074de9675 3387:05499ec8c022
46 uint32_t surfaces_count; /* Amount of allocated surfaces */ 46 uint32_t surfaces_count; /* Amount of allocated surfaces */
47 uint32_t surfaces_type; /* Type of allocated surfaces */ 47 uint32_t surfaces_type; /* Type of allocated surfaces */
48 uint32_t window_width; /* Last active window width */ 48 uint32_t window_width; /* Last active window width */
49 uint32_t window_height; /* Last active window height */ 49 uint32_t window_height; /* Last active window height */
50 PhGC_t* gc; /* Graphics context */ 50 PhGC_t* gc; /* Graphics context */
51 SDL_bool direct_mode; /* Direct Mode state */
51 PdOffscreenContext_t* osurfaces[SDL_PHOTON_MAX_SURFACES]; 52 PdOffscreenContext_t* osurfaces[SDL_PHOTON_MAX_SURFACES];
52 PhImage_t* psurfaces[SDL_PHOTON_MAX_SURFACES]; 53 PhImage_t* psurfaces[SDL_PHOTON_MAX_SURFACES];
53 PmMemoryContext_t* pcontexts[SDL_PHOTON_MAX_SURFACES]; 54 PmMemoryContext_t* pcontexts[SDL_PHOTON_MAX_SURFACES];
54 } SDL_RenderData; 55 } SDL_RenderData;
55 56