• Home
  • Raw
  • Download

Lines Matching refs:dstOrigin

3154                                                 const GrSurface* dst, GrSurfaceOrigin dstOrigin,  in can_blit_framebuffer_for_copy_surface()  argument
3177 dstOrigin, src->config(), srcSampleCnt, SkToBool(srcTex), in can_blit_framebuffer_for_copy_surface()
3189 static inline bool can_copy_texsubimage(const GrSurface* dst, GrSurfaceOrigin dstOrigin, in can_copy_texsubimage() argument
3205 dstIsGLTexture2D, dstOrigin, src->config(), in can_copy_texsubimage()
3304 bool GrGLGpu::onCopySurface(GrSurface* dst, GrSurfaceOrigin dstOrigin, in onCopySurface() argument
3318 if (this->copySurfaceAsDraw(dst, dstOrigin, src, srcOrigin, srcRect, dstPoint)) { in onCopySurface()
3323 if (can_copy_texsubimage(dst, dstOrigin, src, srcOrigin, this->glCaps())) { in onCopySurface()
3324 this->copySurfaceAsCopyTexSubImage(dst, dstOrigin, src, srcOrigin, srcRect, dstPoint); in onCopySurface()
3328 if (can_blit_framebuffer_for_copy_surface(dst, dstOrigin, src, srcOrigin, in onCopySurface()
3330 return this->copySurfaceAsBlitFramebuffer(dst, dstOrigin, src, srcOrigin, in onCopySurface()
3335 if (this->copySurfaceAsDraw(dst, dstOrigin, src, srcOrigin, srcRect, dstPoint)) { in onCopySurface()
3621 bool GrGLGpu::copySurfaceAsDraw(GrSurface* dst, GrSurfaceOrigin dstOrigin, in copySurfaceAsDraw() argument
3667 if (kBottomLeft_GrSurfaceOrigin == dstOrigin) { in copySurfaceAsDraw()
3709 this->didWriteToSurface(dst, dstOrigin, &dstRect); in copySurfaceAsDraw()
3714 void GrGLGpu::copySurfaceAsCopyTexSubImage(GrSurface* dst, GrSurfaceOrigin dstOrigin, in copySurfaceAsCopyTexSubImage() argument
3718 SkASSERT(can_copy_texsubimage(dst, dstOrigin, src, srcOrigin, this->glCaps())); in copySurfaceAsCopyTexSubImage()
3730 if (kBottomLeft_GrSurfaceOrigin == dstOrigin) { in copySurfaceAsCopyTexSubImage()
3742 this->didWriteToSurface(dst, dstOrigin, &dstRect); in copySurfaceAsCopyTexSubImage()
3745 bool GrGLGpu::copySurfaceAsBlitFramebuffer(GrSurface* dst, GrSurfaceOrigin dstOrigin, in copySurfaceAsBlitFramebuffer() argument
3749 SkASSERT(can_blit_framebuffer_for_copy_surface(dst, dstOrigin, src, srcOrigin, in copySurfaceAsBlitFramebuffer()
3768 dstGLRect.setRelativeTo(dstVP, dstRect, dstOrigin); in copySurfaceAsBlitFramebuffer()
3777 if (srcOrigin == dstOrigin) { in copySurfaceAsBlitFramebuffer()
3795 this->didWriteToSurface(dst, dstOrigin, &dstRect); in copySurfaceAsBlitFramebuffer()