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

Unified Diff: ui/gl/gl_bindings_skia_in_process.cc

Issue 197393002: Add hooks for GL_EXT_debug_markers for Skia (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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 | « ui/gl/generate_bindings.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_bindings_skia_in_process.cc
diff --git a/ui/gl/gl_bindings_skia_in_process.cc b/ui/gl/gl_bindings_skia_in_process.cc
index 38e0f16f61f362a4129a7a44355052c809e92a30..2121f0c0a12bc0890cf9605f2f4afc03e3cc9ceb 100644
--- a/ui/gl/gl_bindings_skia_in_process.cc
+++ b/ui/gl/gl_bindings_skia_in_process.cc
@@ -346,6 +346,10 @@ GLint StubGLGetUniformLocation(GLuint program, const char* name) {
return glGetUniformLocation(program, name);
}
+GLvoid StubGLInsertEventMarker(GLsizei length, const char* marker) {
+ glInsertEventMarkerEXT(length, marker);
piman 2014/03/13 00:29:23 nit: 2 space indent (same below).
piman 2014/03/13 00:29:23 Note: this has different behavior than the command
+}
+
GLvoid StubGLLineWidth(GLfloat width) {
glLineWidth(width);
}
@@ -362,6 +366,14 @@ GLvoid StubGLPixelStorei(GLenum pname, GLint param) {
glPixelStorei(pname, param);
}
+GLvoid StubGLPopGroupMarker() {
+ glPopGroupMarkerEXT();
+}
+
+GLvoid StubGLPushGroupMarker(GLsizei length, const char* marker) {
+ glPushGroupMarkerEXT(length, marker);
+}
+
GLvoid StubGLQueryCounter(GLuint id, GLenum target) {
glQueryCounter(id, target);
}
« no previous file with comments | « ui/gl/generate_bindings.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698