comparison src/video/windows/SDL_gapirender.c @ 5141:da10636e5eca

Making the API simpler, scaling is always defined as linear interpolation and should be supported as much as possible on all renderers.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 31 Jan 2011 22:44:43 -0800
parents 327f181542f1
children
comparison
equal deleted inserted replaced
5140:e594f07297a9 5141:da10636e5eca
208 { 208 {
209 GAPI_RENDER_NAME, 209 GAPI_RENDER_NAME,
210 (SDL_RENDERER_SINGLEBUFFER | SDL_RENDERER_PRESENTDISCARD), 210 (SDL_RENDERER_SINGLEBUFFER | SDL_RENDERER_PRESENTDISCARD),
211 (SDL_TEXTUREMODULATE_NONE), 211 (SDL_TEXTUREMODULATE_NONE),
212 (SDL_BLENDMODE_NONE), 212 (SDL_BLENDMODE_NONE),
213 (SDL_SCALEMODE_NONE),
214 7, 213 7,
215 { 214 {
216 SDL_PIXELFORMAT_RGB555, 215 SDL_PIXELFORMAT_RGB555,
217 SDL_PIXELFORMAT_RGB565, 216 SDL_PIXELFORMAT_RGB565,
218 SDL_PIXELFORMAT_YV12, 217 SDL_PIXELFORMAT_YV12,
231 { 230 {
232 RAW_RENDER_NAME, 231 RAW_RENDER_NAME,
233 (SDL_RENDERER_SINGLEBUFFER | SDL_RENDERER_PRESENTDISCARD), 232 (SDL_RENDERER_SINGLEBUFFER | SDL_RENDERER_PRESENTDISCARD),
234 (SDL_TEXTUREMODULATE_NONE), 233 (SDL_TEXTUREMODULATE_NONE),
235 (SDL_BLENDMODE_NONE), 234 (SDL_BLENDMODE_NONE),
236 (SDL_SCALEMODE_NONE),
237 7, 235 7,
238 { 236 {
239 SDL_PIXELFORMAT_RGB555, 237 SDL_PIXELFORMAT_RGB555,
240 SDL_PIXELFORMAT_RGB565, 238 SDL_PIXELFORMAT_RGB565,
241 SDL_PIXELFORMAT_YV12, 239 SDL_PIXELFORMAT_YV12,