Index: src/gpu/GrRenderTargetOpList.h |
diff --git a/src/gpu/GrRenderTargetOpList.h b/src/gpu/GrRenderTargetOpList.h |
index 62f86d10fe0c97535df912c4252aaedf11991e60..4690a91c4ae4f1097e73419f663cb1607883f424 100644 |
--- a/src/gpu/GrRenderTargetOpList.h |
+++ b/src/gpu/GrRenderTargetOpList.h |
@@ -103,10 +103,10 @@ public: |
const GrPath*); |
/** Clears the entire render target */ |
- void fullClear(GrRenderTarget*, GrColor color); |
+ void fullClear(GrRenderTargetProxy*, GrColor color); |
/** Discards the contents render target. */ |
- void discard(GrRenderTarget*); |
+ void discard(GrRenderTargetProxy*); |
/** |
* Copies a pixel rectangle from one surface to another. This call may finalize |
@@ -142,14 +142,16 @@ private: |
// but couldn't be made. Otherwise, returns true. This method needs to be protected because it |
// needs to be accessed by GLPrograms to setup a correct drawstate |
bool setupDstReadIfNecessary(const GrPipelineBuilder&, |
- GrRenderTarget*, |
+ GrRenderTargetContext*, |
const GrClip&, |
const GrPipelineOptimizations& optimizations, |
GrXferProcessor::DstTexture*, |
const SkRect& batchBounds); |
// Used only via GrRenderTargetContextPriv. |
- void clearStencilClip(const GrFixedClip&, bool insideStencilMask, GrRenderTarget*); |
+ void clearStencilClip(const GrFixedClip&, bool insideStencilMask, GrRenderTargetProxy*); |
+ |
+ void addDependency(GrOpList* dependedOn); |
struct RecordedBatch { |
sk_sp<GrBatch> fBatch; |