Home | History | Annotate | Download | only in x11

Lines Matching refs:screen

45 static void try_mitshm(_THIS, SDL_Surface *screen)
53 shminfo.shmid = shmget(IPC_PRIVATE, screen->h*screen->pitch,
76 screen->pixels = shminfo.shmaddr;
80 /* Various screen update functions available */
84 int X11_SetupImage(_THIS, SDL_Surface *screen)
87 try_mitshm(this, screen);
92 screen->w, screen->h);
97 screen->pixels = NULL;
106 screen->pixels = SDL_malloc(screen->h*screen->pitch);
107 if ( screen->pixels == NULL ) {
111 bpp = screen->format->BytesPerPixel;
114 (char *)screen->pixels,
115 screen->w, screen->h,
124 screen->pitch = SDL_Ximage->bytes_per_line;
132 void X11_DestroyImage(_THIS, SDL_Surface *screen)
145 if ( screen ) {
146 screen->pixels = NULL;
183 int X11_ResizeImage(_THIS, SDL_Surface *screen, Uint32 flags)
187 X11_DestroyImage(this, screen);
191 retval = X11_SetupImage(this, screen);
200 screen->flags |= SDL_ASYNCBLIT;
308 0, 0, 0, 0, this->screen->w, this->screen->h,
314 0, 0, 0, 0, this->screen->w, this->screen->h);