Index: src/gpu/batches/GrBatch.h |
diff --git a/src/gpu/batches/GrBatch.h b/src/gpu/batches/GrBatch.h |
index c5fc80c5d50dfbd622dfb69e3eb9adfbcd3c31f9..f6dcd193f6f1f18d183f997f8f4bbe667ad849cc 100644 |
--- a/src/gpu/batches/GrBatch.h |
+++ b/src/gpu/batches/GrBatch.h |
@@ -48,6 +48,8 @@ class GrBatchFlushState; |
return kClassID; \ |
} |
+class GrRenderTarget; |
+ |
class GrBatch : public GrNonAtomicRef { |
public: |
GrBatch(uint32_t classID); |
@@ -106,6 +108,8 @@ public: |
GrBatches for different RTs in different targets. */ |
virtual uint32_t renderTargetUniqueID() const = 0; |
+ virtual GrRenderTarget* rt2() const = 0; |
+ |
/** Used for spewing information about batches when debugging. */ |
virtual SkString dumpInfo() const = 0; |