Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(475)

Unified Diff: src/gpu/gl/GrGLTestInterface.h

Issue 2050403002: Fix glDraw*Indirect prototypes (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: missed a file Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/gpu/gl/GrGLFunctions.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/gl/GrGLTestInterface.h
diff --git a/src/gpu/gl/GrGLTestInterface.h b/src/gpu/gl/GrGLTestInterface.h
index 936d9b8a97d53b7346182a6f431263b2ecdd832c..8f8a8bc4e564f367a2141e07bdbd4f99c0840182 100644
--- a/src/gpu/gl/GrGLTestInterface.h
+++ b/src/gpu/gl/GrGLTestInterface.h
@@ -60,12 +60,12 @@ public:
virtual GrGLvoid disableVertexAttribArray(GrGLuint index) {}
virtual GrGLvoid drawArrays(GrGLenum mode, GrGLint first, GrGLsizei count) {}
virtual GrGLvoid drawArraysInstanced(GrGLenum mode, GrGLint first, GrGLsizei count, GrGLsizei primcount) {}
- virtual GrGLvoid drawArraysIndirect(GrGLenum mode, GrGLvoid* indirect) {}
+ virtual GrGLvoid drawArraysIndirect(GrGLenum mode, const GrGLvoid* indirect) {}
virtual GrGLvoid drawBuffer(GrGLenum mode) {}
virtual GrGLvoid drawBuffers(GrGLsizei n, const GrGLenum* bufs) {}
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, GrGLvoid* indirect) {}
+ virtual GrGLvoid drawElementsIndirect(GrGLenum mode, GrGLenum type, const GrGLvoid* indirect) {}
virtual GrGLvoid enable(GrGLenum cap) {}
virtual GrGLvoid enableVertexAttribArray(GrGLuint index) {}
virtual GrGLvoid endQuery(GrGLenum target) {}
« no previous file with comments | « include/gpu/gl/GrGLFunctions.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698