diff options
Diffstat (limited to 'include/private')
-rw-r--r-- | include/private/GrRenderTargetProxy.h | 3 | ||||
-rw-r--r-- | include/private/GrSurfaceProxy.h | 14 |
2 files changed, 0 insertions, 17 deletions
diff --git a/include/private/GrRenderTargetProxy.h b/include/private/GrRenderTargetProxy.h index 7f026ba726..83107daf61 100644 --- a/include/private/GrRenderTargetProxy.h +++ b/include/private/GrRenderTargetProxy.h @@ -53,9 +53,6 @@ public: GrRenderTarget::Flags testingOnly_getFlags() const; - // TODO: move this to a priv class! - bool refsWrappedObjects() const; - protected: friend class GrSurfaceProxy; // for ctors 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;) |