diff options
Diffstat (limited to 'include/private')
-rw-r--r-- | include/private/GrRenderTargetProxy.h | 1 | ||||
-rw-r--r-- | include/private/GrSurfaceProxy.h | 5 | ||||
-rw-r--r-- | include/private/GrTextureProxy.h | 1 |
3 files changed, 2 insertions, 5 deletions
diff --git a/include/private/GrRenderTargetProxy.h b/include/private/GrRenderTargetProxy.h index 267d7549e3..3bad9df9e4 100644 --- a/include/private/GrRenderTargetProxy.h +++ b/include/private/GrRenderTargetProxy.h @@ -27,6 +27,7 @@ public: SkBackingFit, SkBudgeted); static sk_sp<GrRenderTargetProxy> Make(sk_sp<GrRenderTarget>); + // TODO: add asTextureProxy variants GrRenderTargetProxy* asRenderTargetProxy() override { return this; } const GrRenderTargetProxy* asRenderTargetProxy() const override { return this; } diff --git a/include/private/GrSurfaceProxy.h b/include/private/GrSurfaceProxy.h index 539aaf65aa..e748853cfd 100644 --- a/include/private/GrSurfaceProxy.h +++ b/include/private/GrSurfaceProxy.h @@ -13,7 +13,6 @@ #include "SkRect.h" class GrOpList; -class GrTextureProvider; class GrTextureProxy; class GrRenderTargetProxy; @@ -128,8 +127,6 @@ public: return fGpuMemorySize; } - bool isWrapped_ForTesting() const; - protected: // Deferred version GrSurfaceProxy(const GrSurfaceDesc& desc, SkBackingFit fit, SkBudgeted budgeted) @@ -146,8 +143,6 @@ protected: virtual ~GrSurfaceProxy(); - GrSurface* instantiate(GrTextureProvider* texProvider); - // For wrapped resources, 'fDesc' will always be filled in from the wrapped resource. const GrSurfaceDesc fDesc; const SkBackingFit fFit; // always exact for wrapped resources diff --git a/include/private/GrTextureProxy.h b/include/private/GrTextureProxy.h index 75f09de800..e68ef8896a 100644 --- a/include/private/GrTextureProxy.h +++ b/include/private/GrTextureProxy.h @@ -24,6 +24,7 @@ public: const void* srcData = nullptr, size_t rowBytes = 0); static sk_sp<GrTextureProxy> Make(sk_sp<GrTexture>); + // TODO: add asRenderTargetProxy variants GrTextureProxy* asTextureProxy() override { return this; } const GrTextureProxy* asTextureProxy() const override { return this; } |