Lines Matching defs:display
103 SDL_Surface *display;
926 SDL_Overlay *SDL_CreateYUV_SW(_THIS, int width, int height, Uint32 format, SDL_Surface *display)
942 if ( (display->format->BytesPerPixel != 2) &&
943 (display->format->BytesPerPixel != 3) &&
944 (display->format->BytesPerPixel != 4) ) {
987 swdata->display = display;
1004 /* Generate the tables for the display surface */
1019 Rmask = display->format->Rmask;
1020 Gmask = display->format->Gmask;
1021 Bmask = display->format->Bmask;
1038 if( display->format->BytesPerPixel == 2 ) {
1063 if ( display->format->BytesPerPixel == 2 ) {
1081 if ( display->format->BytesPerPixel == 3 ) {
1085 if ( display->format->BytesPerPixel == 4 ) {
1107 if ( display->format->BytesPerPixel == 2 ) {
1111 if ( display->format->BytesPerPixel == 3 ) {
1115 if ( display->format->BytesPerPixel == 4 ) {
1172 SDL_Surface *display;
1197 display = swdata->display;
1201 display->format->BitsPerPixel,
1202 display->format->Rmask,
1203 display->format->Gmask,
1204 display->format->Bmask, 0);
1209 display = swdata->stretch;
1211 display = swdata->display;
1243 if ( SDL_MUSTLOCK(display) ) {
1244 if ( SDL_LockSurface(display) < 0 ) {
1251 dstp = (Uint8 *)display->pixels
1252 + dst->x * display->format->BytesPerPixel
1253 + dst->y * display->pitch;
1255 mod = (display->pitch / display->format->BytesPerPixel);
1266 if ( SDL_MUSTLOCK(display) ) {
1267 SDL_UnlockSurface(display);
1270 display = swdata->display;
1271 SDL_SoftStretch(swdata->stretch, src, display, dst);
1273 SDL_UpdateRects(display, 1, dst);