Lines Matching defs:srcRect
2870 const SkIRect& srcRect,
2905 src->getBoundsRect(), true, srcRect, dstPoint);
3033 bool GrGLGpu::onCopySurface(GrSurface* dst, GrSurface* src, const SkIRect& srcRect,
3042 if (this->copySurfaceAsDraw(dst, drawToMultisampleFBO, src, srcRect, dstPoint)) {
3048 this->copySurfaceAsCopyTexSubImage(dst, src, srcRect, dstPoint);
3052 if (can_blit_framebuffer_for_copy_surface(dst, src, srcRect, dstPoint, this->glCaps())) {
3053 return this->copySurfaceAsBlitFramebuffer(dst, src, srcRect, dstPoint);
3059 if (this->copySurfaceAsDraw(dst, drawToMultisampleFBO, src, srcRect, dstPoint)) {
3335 const SkIRect& srcRect, const SkIPoint& dstPoint) {
3364 int w = srcRect.width();
3365 int h = srcRect.height();
3380 GrGLfloat sx0 = (GrGLfloat)srcRect.fLeft;
3381 GrGLfloat sx1 = (GrGLfloat)(srcRect.fLeft + w);
3382 GrGLfloat sy0 = (GrGLfloat)srcRect.fTop;
3383 GrGLfloat sy1 = (GrGLfloat)(srcRect.fTop + h);
3413 void GrGLGpu::copySurfaceAsCopyTexSubImage(GrSurface* dst, GrSurface* src, const SkIRect& srcRect,
3425 srcRect.fLeft, srcRect.fTop,
3426 srcRect.width(), srcRect.height()));
3429 srcRect.width(), srcRect.height());
3434 bool GrGLGpu::copySurfaceAsBlitFramebuffer(GrSurface* dst, GrSurface* src, const SkIRect& srcRect,
3436 SkASSERT(can_blit_framebuffer_for_copy_surface(dst, src, srcRect, dstPoint, this->glCaps()));
3438 srcRect.width(), srcRect.height());
3440 if (SkIRect::Intersects(dstRect, srcRect)) {
3454 GL_CALL(BlitFramebuffer(srcRect.fLeft,
3455 srcRect.fTop,
3456 srcRect.fRight,
3457 srcRect.fBottom,