comparison src/video/win32/SDL_d3drender.c @ 2810:27cb878a278e

Implemented the X11 (non-OpenGL) renderer, no alpha or scaling available.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 30 Nov 2008 21:58:23 +0000
parents 6bacfecbf27e
children 7af2419ad5b0
comparison
equal deleted inserted replaced
2809:7e257c3a3bf0 2810:27cb878a278e
85 (SDL_TEXTUREBLENDMODE_NONE | SDL_TEXTUREBLENDMODE_MASK | 85 (SDL_TEXTUREBLENDMODE_NONE | SDL_TEXTUREBLENDMODE_MASK |
86 SDL_TEXTUREBLENDMODE_BLEND | SDL_TEXTUREBLENDMODE_ADD | 86 SDL_TEXTUREBLENDMODE_BLEND | SDL_TEXTUREBLENDMODE_ADD |
87 SDL_TEXTUREBLENDMODE_MOD), 87 SDL_TEXTUREBLENDMODE_MOD),
88 (SDL_TEXTURESCALEMODE_NONE | SDL_TEXTURESCALEMODE_FAST | 88 (SDL_TEXTURESCALEMODE_NONE | SDL_TEXTURESCALEMODE_FAST |
89 SDL_TEXTURESCALEMODE_SLOW | SDL_TEXTURESCALEMODE_BEST), 89 SDL_TEXTURESCALEMODE_SLOW | SDL_TEXTURESCALEMODE_BEST),
90 12, 90 13,
91 { 91 {
92 SDL_PIXELFORMAT_INDEX8, 92 SDL_PIXELFORMAT_INDEX8,
93 SDL_PIXELFORMAT_RGB332, 93 SDL_PIXELFORMAT_RGB332,
94 SDL_PIXELFORMAT_RGB444, 94 SDL_PIXELFORMAT_RGB444,
95 SDL_PIXELFORMAT_RGB555, 95 SDL_PIXELFORMAT_RGB555,
97 SDL_PIXELFORMAT_ARGB1555, 97 SDL_PIXELFORMAT_ARGB1555,
98 SDL_PIXELFORMAT_RGB565, 98 SDL_PIXELFORMAT_RGB565,
99 SDL_PIXELFORMAT_RGB888, 99 SDL_PIXELFORMAT_RGB888,
100 SDL_PIXELFORMAT_ARGB8888, 100 SDL_PIXELFORMAT_ARGB8888,
101 SDL_PIXELFORMAT_ARGB2101010, 101 SDL_PIXELFORMAT_ARGB2101010,
102 SDL_PIXELFORMAT_YUY2,
102 SDL_PIXELFORMAT_UYVY, 103 SDL_PIXELFORMAT_UYVY,
103 SDL_PIXELFORMAT_YUY2}, 104 SDL_PIXELFORMAT_YVYU},
104 0, 105 0,
105 0} 106 0}
106 }; 107 };
107 108
108 typedef struct 109 typedef struct