Index: src/gpu/GrGpu.h |
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h |
index 4defa040d76d05f54d77602fedfce7ad0e390112..9298ea1b088aa91f15fd531f0d3e398618ada7f1 100644 |
--- a/src/gpu/GrGpu.h |
+++ b/src/gpu/GrGpu.h |
@@ -33,6 +33,7 @@ class GrPathRendering; |
class GrPipeline; |
class GrPrimitiveProcessor; |
class GrRenderTarget; |
+class GrInstancedRendering; |
class GrStencilAttachment; |
class GrSurface; |
class GrTexture; |
@@ -146,6 +147,11 @@ public: |
const void* data = nullptr); |
/** |
+ * Creates an instanced rendering object if it is supported on this platform. |
+ */ |
+ virtual GrInstancedRendering* createInstancedRenderingIfSupported() { return nullptr; } |
+ |
+ /** |
* Resolves MSAA. |
*/ |
void resolveRenderTarget(GrRenderTarget* target); |