diff options
Diffstat (limited to 'src/gpu/gl/GrGLCaps.h')
-rw-r--r-- | src/gpu/gl/GrGLCaps.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLCaps.h b/src/gpu/gl/GrGLCaps.h index c564cf1d50..76eec3afb0 100644 --- a/src/gpu/gl/GrGLCaps.h +++ b/src/gpu/gl/GrGLCaps.h @@ -407,6 +407,24 @@ public: : pendingInstanceCount; } + bool canCopyTexSubImage(GrPixelConfig dstConfig, bool dstHasMSAARenderBuffer, + bool dstIsTextureable, bool dstIsGLTexture2D, + GrSurfaceOrigin dstOrigin, + GrPixelConfig srcConfig, bool srcHasMSAARenderBuffer, + bool srcIsTextureable, bool srcIsGLTexture2D, + GrSurfaceOrigin srcOrigin) const; + bool canCopyAsBlit(GrPixelConfig dstConfig, int dstSampleCnt, + bool dstIsTextureable, bool dstIsGLTexture2D, + GrSurfaceOrigin dstOrigin, + GrPixelConfig srcConfig, int srcSampleCnt, + bool srcIsTextureable, bool srcIsGLTexture2D, + GrSurfaceOrigin srcOrigin, const SkRect& srcBounds, + const SkIRect& srcRect, const SkIPoint& dstPoint) const; + bool canCopyAsDraw(GrPixelConfig dstConfig, bool srcIsTextureable) const; + + bool canCopySurface(const GrSurfaceProxy* dst, const GrSurfaceProxy* src, + const SkIRect& srcRect, const SkIPoint& dstPoint) const override; + bool initDescForDstCopy(const GrRenderTargetProxy* src, GrSurfaceDesc* desc, GrSurfaceOrigin*, bool* rectsMustMatch, bool* disallowSubrect) const override; |