diff options
Diffstat (limited to 'src/gpu/GrGpu.cpp')
-rw-r--r-- | src/gpu/GrGpu.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp index 4cb96edd88..7199b4d976 100644 --- a/src/gpu/GrGpu.cpp +++ b/src/gpu/GrGpu.cpp @@ -251,6 +251,11 @@ GrBuffer* GrGpu::createBuffer(size_t size, GrBufferType intendedType, return buffer; } +gr_instanced::InstancedRendering* GrGpu::createInstancedRendering() { + SkASSERT(GrCaps::InstancedSupport::kNone != this->caps()->instancedSupport()); + return this->onCreateInstancedRendering(); +} + bool GrGpu::copySurface(GrSurface* dst, GrSurface* src, const SkIRect& srcRect, |