aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLTestInterface.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2016-08-29 09:18:39 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-08-29 09:18:39 -0700
commitfc9527a0dfab9b4e2f6c1b8a7ff23a61a5e6b31f (patch)
treeadf8fb1fce549578a101d5433e84c6ee8cbf9548 /src/gpu/gl/GrGLTestInterface.h
parent0ac1bece4852b3ddcc987a5a04ef7cdc63799b57 (diff)
Add support for glDrawRangeElements
Diffstat (limited to 'src/gpu/gl/GrGLTestInterface.h')
-rw-r--r--src/gpu/gl/GrGLTestInterface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLTestInterface.h b/src/gpu/gl/GrGLTestInterface.h
index 8f8a8bc4e5..fc837bfec4 100644
--- a/src/gpu/gl/GrGLTestInterface.h
+++ b/src/gpu/gl/GrGLTestInterface.h
@@ -66,6 +66,7 @@ public:
virtual GrGLvoid drawElements(GrGLenum mode, GrGLsizei count, GrGLenum type, const GrGLvoid* indices) {}
virtual GrGLvoid drawElementsInstanced(GrGLenum mode, GrGLsizei count, GrGLenum type, const GrGLvoid *indices, GrGLsizei primcount) {}
virtual GrGLvoid drawElementsIndirect(GrGLenum mode, GrGLenum type, const GrGLvoid* indirect) {}
+ virtual GrGLvoid drawRangeElements(GrGLenum mode, GrGLuint start, GrGLuint end, GrGLsizei count, GrGLenum type, const GrGLvoid* indices) {}
virtual GrGLvoid enable(GrGLenum cap) {}
virtual GrGLvoid enableVertexAttribArray(GrGLuint index) {}
virtual GrGLvoid endQuery(GrGLenum target) {}