Index: src/gpu/batches/GrClearBatch.h |
diff --git a/src/gpu/batches/GrClearBatch.h b/src/gpu/batches/GrClearBatch.h |
index b973dab5579e5c5c096044b4416f1e66afe95f61..76dbe76e139613546e81eb8d54b1b73b840110ae 100644 |
--- a/src/gpu/batches/GrClearBatch.h |
+++ b/src/gpu/batches/GrClearBatch.h |
@@ -29,6 +29,8 @@ public: |
uint32_t renderTargetUniqueID() const override { return fRenderTarget.get()->getUniqueID(); } |
+ GrRenderTarget* rt2() const override { return fRenderTarget.get(); } |
+ |
SkString dumpInfo() const override { |
SkString string; |
string.printf("Color: 0x%08x, Rect [L: %d, T: %d, R: %d, B: %d], RT: 0x%p", |
@@ -72,6 +74,8 @@ public: |
uint32_t renderTargetUniqueID() const override { return fRenderTarget.get()->getUniqueID(); } |
+ GrRenderTarget* rt2() const override { return fRenderTarget.get(); } |
+ |
SkString dumpInfo() const override { |
SkString string; |
string.printf("Rect [L: %d, T: %d, R: %d, B: %d], IC: %d, RT: 0x%p", |