Home | History | Annotate | Download | only in test

Lines Matching refs:image

19 /* Define this to be the name of the logo image to use with -logo */
175 SDL_Surface *image;
188 image = SDL_CreateRGBSurface(
204 if ( image == NULL ) {
215 /* Copy the surface into the GL texture image */
220 SDL_BlitSurface(surface, &area, image, &area);
227 /* Create an OpenGL texture for the image */
239 image->pixels);
240 SDL_FreeSurface(image); /* No longer needed */
253 SDL_Surface *image;
256 /* Load the image (could use SDL_image library here) */
257 image = SDL_LoadBMP(LOGO_FILE);
258 if ( image == NULL ) {
261 w = image->w;
262 h = image->h;
264 /* Convert the image into an OpenGL texture */
265 cursor_texture = SDL_GL_LoadTexture(image, texcoord);
273 /* We don't need the original image anymore */
274 SDL_FreeSurface(image);
282 /* Move the image around */
287 /* Show the image on the screen */
312 SDL_Surface *image;
315 /* Load the image (could use SDL_image library here) */
316 image = SDL_LoadBMP(LOGO_FILE);
317 if ( image == NULL ) {
320 w = image->w;
321 h = image->h;
323 /* Convert the image into an OpenGL texture */
324 global_texture = SDL_GL_LoadTexture(image, texcoord);
332 /* We don't need the original image anymore */
333 SDL_FreeSurface(image);
341 /* Move the image around */
361 /* Show the image on the screen */
388 /* Load the image (could use SDL_image library here) */
396 /* Convert the image into the screen format */
416 /* Move the image around
447 /* Show the image on the screen */