diff options
Diffstat (limited to 'include/private/GrSurfaceProxy.h')
-rw-r--r-- | include/private/GrSurfaceProxy.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/private/GrSurfaceProxy.h b/include/private/GrSurfaceProxy.h index 12972c21be..731603b2c9 100644 --- a/include/private/GrSurfaceProxy.h +++ b/include/private/GrSurfaceProxy.h @@ -266,20 +266,6 @@ public: return fGpuMemorySize; } - // Helper function that creates a temporary SurfaceContext to perform the copy - static sk_sp<GrSurfaceProxy> Copy(GrContext*, GrSurfaceProxy* src, - SkIRect srcRect, SkBudgeted); - - // Copy the entire 'src' - static sk_sp<GrSurfaceProxy> Copy(GrContext* context, GrSurfaceProxy* src, - SkBudgeted budgeted) { - return Copy(context, src, SkIRect::MakeWH(src->width(), src->height()), budgeted); - } - - // Test-only entry point - should decrease in use as proxies propagate - static sk_sp<GrSurfaceProxy> TestCopy(GrContext* context, const GrSurfaceDesc& dstDesc, - GrTexture* srcTexture, SkBudgeted budgeted); - bool isWrapped_ForTesting() const; SkDEBUGCODE(void validate(GrContext*) const;) |