Index: src/gpu/batches/GrDrawBatch.h |
diff --git a/src/gpu/batches/GrDrawBatch.h b/src/gpu/batches/GrDrawBatch.h |
index 93326efad262db61627f2caf208c258069298e30..11fe3c42f9b2ba02382767d124ad94d563865fd5 100644 |
--- a/src/gpu/batches/GrDrawBatch.h |
+++ b/src/gpu/batches/GrDrawBatch.h |
@@ -61,6 +61,11 @@ public: |
return this->pipeline()->getRenderTarget()->getUniqueID(); |
} |
+ GrRenderTarget* rt2() const override { |
+ SkASSERT(fPipelineInstalled); |
+ return this->pipeline()->getRenderTarget(); |
+ } |
+ |
SkString dumpInfo() const override { |
SkString string; |
string.append("ColorStages:\n"); |