Lines Matching defs:rects
140 void SDL_GL_UpdateRectsLock(SDL_VideoDevice* this, int numrects, SDL_Rect* rects);
1037 void SDL_UpdateRects (SDL_Surface *screen, int numrects, SDL_Rect *rects)
1066 SDL_LowerBlit(SDL_ShadowSurface, &rects[i],
1067 SDL_VideoSurface, &rects[i]);
1073 SDL_LowerBlit(SDL_ShadowSurface, &rects[i],
1074 SDL_VideoSurface, &rects[i]);
1088 rects[i].x += video->offset_x;
1089 rects[i].y += video->offset_y;
1091 video->UpdateRects(this, numrects, rects);
1093 rects[i].x -= video->offset_x;
1094 rects[i].y -= video->offset_y;
1097 video->UpdateRects(this, numrects, rects);
1543 /* Update rects with locking */
1544 void SDL_GL_UpdateRectsLock(SDL_VideoDevice* this, int numrects, SDL_Rect *rects)
1547 SDL_GL_UpdateRects(numrects, rects);
1551 /* Update rects without state setting and changing (the caller is responsible for it) */
1552 void SDL_GL_UpdateRects(int numrects, SDL_Rect *rects)
1561 tmp.y = rects[i].y;
1562 tmp.h = rects[i].h;
1563 for ( y = 0; y <= rects[i].h / 256; y++ )
1565 tmp.x = rects[i].x;
1566 tmp.w = rects[i].w;
1567 for ( x = 0; x <= rects[i].w / 256; x++ )