Index: src/gpu/gl/GrGLGpu.cpp |
diff --git a/src/gpu/gl/GrGLGpu.cpp b/src/gpu/gl/GrGLGpu.cpp |
index 3a7f531476a40e2277eed3d6d5216ecae630a502..d75c72c574b7972cc87143bb80b6b334bea977c3 100644 |
--- a/src/gpu/gl/GrGLGpu.cpp |
+++ b/src/gpu/gl/GrGLGpu.cpp |
@@ -8,6 +8,7 @@ |
#include "GrGLGpu.h" |
#include "GrGLBuffer.h" |
#include "GrGLGLSL.h" |
+#include "GrGLInstancedRendering.h" |
#include "GrGLStencilAttachment.h" |
#include "GrGLTextureRenderTarget.h" |
#include "GrGpuResourcePriv.h" |
@@ -455,6 +456,10 @@ void GrGLGpu::disconnect(DisconnectType type) { |
/////////////////////////////////////////////////////////////////////////////// |
+GrInstancedRendering* GrGLGpu::createInstancedRenderingIfSupported() { |
+ return GrGLInstancedRendering::CreateIfSupported(this); |
+} |
+ |
void GrGLGpu::onResetContext(uint32_t resetBits) { |
// we don't use the zb at all |
if (resetBits & kMisc_GrGLBackendState) { |