comparison src/video/photon/SDL_photon_render.h @ 3396:d6b79fc83362

All 2D operations in Photon driver have been finished. The driver is ready to use. There fullscreen modes and YUV textures are rest only.
author Mike Gorchak <lestat@i.com.ua>
date Tue, 13 Oct 2009 11:26:40 +0000
parents 05499ec8c022
children f7b03b6838cb
comparison
equal deleted inserted replaced
3395:45f140dd4b08 3396:d6b79fc83362
36 36
37 #define SDL_PHOTON_SURFTYPE_UNKNOWN 0x00000000 37 #define SDL_PHOTON_SURFTYPE_UNKNOWN 0x00000000
38 #define SDL_PHOTON_SURFTYPE_OFFSCREEN 0x00000001 38 #define SDL_PHOTON_SURFTYPE_OFFSCREEN 0x00000001
39 #define SDL_PHOTON_SURFTYPE_PHIMAGE 0x00000002 39 #define SDL_PHOTON_SURFTYPE_PHIMAGE 0x00000002
40 40
41 #define SDL_PHOTON_UNKNOWN_BLEND 0x00000000
42 #define SDL_PHOTON_DRAW_BLEND 0x00000001
43 #define SDL_PHOTON_TEXTURE_BLEND 0x00000002
44
41 typedef struct SDL_RenderData 45 typedef struct SDL_RenderData
42 { 46 {
43 SDL_bool enable_vsync; /* VSYNC flip synchronization enable */ 47 SDL_bool enable_vsync; /* VSYNC flip synchronization enable */
44 uint32_t surface_visible_idx; /* Index of visible surface */ 48 uint32_t surface_visible_idx; /* Index of visible surface */
45 uint32_t surface_render_idx; /* Index of render surface */ 49 uint32_t surface_render_idx; /* Index of render surface */