Lines Matching refs:scissor
218 const gl::Rectangle *scissor, in blitImpl() argument
274 if (scissor) in blitImpl()
276 if (dstRect.left < scissor->x) in blitImpl()
278 srcRect.left += (scissor->x - dstRect.left); in blitImpl()
279 dstRect.left = scissor->x; in blitImpl()
281 if (dstRect.top < scissor->y) in blitImpl()
283 srcRect.top += (scissor->y - dstRect.top); in blitImpl()
284 dstRect.top = scissor->y; in blitImpl()
286 if (dstRect.right > scissor->x + scissor->width) in blitImpl()
288 srcRect.right -= (dstRect.right - (scissor->x + scissor->width)); in blitImpl()
289 dstRect.right = scissor->x + scissor->width; in blitImpl()
291 if (dstRect.bottom > scissor->y + scissor->height) in blitImpl()
293 srcRect.bottom -= (dstRect.bottom - (scissor->y + scissor->height)); in blitImpl()
294 dstRect.bottom = scissor->y + scissor->height; in blitImpl()