diff options
Diffstat (limited to 'src/gpu/ops/GrCopySurfaceOp.h')
-rw-r--r-- | src/gpu/ops/GrCopySurfaceOp.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gpu/ops/GrCopySurfaceOp.h b/src/gpu/ops/GrCopySurfaceOp.h index 253d9b91e7..bc0e33f4af 100644 --- a/src/gpu/ops/GrCopySurfaceOp.h +++ b/src/gpu/ops/GrCopySurfaceOp.h @@ -15,7 +15,9 @@ class GrCopySurfaceOp final : public GrOp { public: DEFINE_OP_CLASS_ID - static std::unique_ptr<GrOp> Make(GrSurfaceProxy* dst, GrSurfaceProxy* src, + static std::unique_ptr<GrOp> Make(GrContext*, + GrSurfaceProxy* dst, + GrSurfaceProxy* src, const SkIRect& srcRect, const SkIPoint& dstPoint); @@ -37,6 +39,8 @@ public: } private: + friend class GrOpMemoryPool; // for ctor + GrCopySurfaceOp(GrSurfaceProxy* dst, GrSurfaceProxy* src, const SkIRect& srcRect, const SkIPoint& dstPoint) : INHERITED(ClassID()) |