Go to the documentation of this file.
21 #include "../../SDL_internal.h"
23 #if SDL_VIDEO_DRIVER_DUMMY
25 #include "../SDL_sysvideo.h"
29 #define DUMMY_SURFACE "_SDL_DummySurface"
37 Uint32 Rmask, Gmask, Bmask, Amask;
61 static int frame_number;
66 return SDL_SetError(
"Couldn't find dummy surface for window");
70 if (
SDL_getenv(
"SDL_VIDEO_DUMMY_SAVE_FRAMES")) {
72 SDL_snprintf(file,
sizeof(file),
"SDL_window%d-%8.8d.bmp",
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
int SDL_DUMMY_CreateWindowFramebuffer(_THIS, SDL_Window *window, Uint32 *format, void **pixels, int *pitch)
#define SDL_GetWindowData
A collection of pixels used in software blitting.
GLfloat GLfloat GLfloat GLfloat h
The type used to identify a window.
#define SDL_GetWindowSize
int SDL_DUMMY_UpdateWindowFramebuffer(_THIS, SDL_Window *window, const SDL_Rect *rects, int numrects)
EGLSurface EGLNativeWindowType * window
#define SDL_SetWindowData
#define SDL_PixelFormatEnumToMasks
GLint GLint GLsizei GLsizei GLsizei GLint GLenum GLenum const GLvoid * pixels
#define SDL_CreateRGBSurface
A rectangle, with the origin at the upper left.
#define SDL_SaveBMP(surface, file)
EGLSurface EGLint * rects
void SDL_DUMMY_DestroyWindowFramebuffer(_THIS, SDL_Window *window)
GLubyte GLubyte GLubyte GLubyte w