Lines Matching refs:srcrect
271 const SDL_Rect * srcrect, const SDL_FRect * dstrect) in SW_QueueCopy() argument
281 SDL_memcpy(verts, srcrect, sizeof (SDL_Rect)); in SW_QueueCopy()
299 SDL_Rect srcrect; member
308 const SDL_Rect * srcrect, const SDL_FRect * dstrect, in SW_QueueCopyEx() argument
319 SDL_memcpy(&verts->srcrect, srcrect, sizeof (SDL_Rect)); in SW_QueueCopyEx()
339 const SDL_Rect * srcrect, const SDL_Rect * final_rect, in SW_RenderCopyEx() argument
393 …if (!(srcrect->w == final_rect->w && srcrect->h == final_rect->h && srcrect->x == 0 && srcrect->y … in SW_RenderCopyEx()
398 if (!(srcrect->w == src->w && srcrect->h == src->h && srcrect->x == 0 && srcrect->y == 0)) { in SW_RenderCopyEx()
438 retval = SDL_BlitScaled(src_clone, srcrect, src_scaled, &scale_rect); in SW_RenderCopyEx()
708 const SDL_Rect *srcrect = verts; in SW_RunCommandQueue() local
717 if ( srcrect->w == dstrect->w && srcrect->h == dstrect->h ) { in SW_RunCommandQueue()
718 SDL_BlitSurface(src, srcrect, surface, dstrect); in SW_RunCommandQueue()
724 SDL_BlitScaled(src, srcrect, surface, dstrect); in SW_RunCommandQueue()
733 SW_RenderCopyEx(renderer, surface, cmd->data.draw.texture, ©data->srcrect, in SW_RunCommandQueue()