aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrTextureContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gpu/GrTextureContext.h')
-rw-r--r--include/gpu/GrTextureContext.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/gpu/GrTextureContext.h b/include/gpu/GrTextureContext.h
index 3052f0ccb5..da71c07c72 100644
--- a/include/gpu/GrTextureContext.h
+++ b/include/gpu/GrTextureContext.h
@@ -27,7 +27,7 @@ class SK_API GrTextureContext : public GrSurfaceContext {
public:
~GrTextureContext() override;
- GrSurfaceProxy* asDeferredSurface() override { return fTextureProxy.get(); }
+ bool copySurface(GrSurface* src, const SkIRect& srcRect, const SkIPoint& dstPoint) override;
protected:
GrTextureContext(GrContext*, GrDrawingManager*, sk_sp<GrTextureProxy>, GrAuditTrail*,
@@ -40,8 +40,6 @@ protected:
private:
friend class GrDrawingManager; // for ctor
- bool onCopy(GrSurfaceProxy* src, const SkIRect& srcRect, const SkIPoint& dstPoint) override;
-
GrTextureOpList* getOpList();
GrDrawingManager* fDrawingManager;
@@ -50,8 +48,6 @@ private:
// In MDB-mode the GrOpList can be closed by some other renderTargetContext that has picked
// it up. For this reason, the GrOpList should only ever be accessed via 'getOpList'.
GrTextureOpList* fOpList;
-
- typedef GrSurfaceContext INHERITED;
};
#endif