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

Unified Diff: ui/gl/gl_helper.h

Issue 2094823002: gl_unittests: on a core profile, use VAOs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Simplify ShouldTestsUseVAOs 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 | « no previous file | ui/gl/gl_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_helper.h
diff --git a/ui/gl/gl_helper.h b/ui/gl/gl_helper.h
index ed17bbd76bea45b6f4a2e16c73d83c747d62dad2..364e0dae3f48d9d689bf18ff8a294f35a854a4a4 100644
--- a/ui/gl/gl_helper.h
+++ b/ui/gl/gl_helper.h
@@ -34,6 +34,10 @@ class GL_EXPORT GLHelper {
// Draws a quad to the currently bound frame buffer.
static void DrawQuad(GLuint vertex_buffer);
+
+ // When using the desktop core profile we have to bind a VAO before
+ // calling glVertexAttribPointer.
+ static bool ShouldTestsUseVAOs();
};
} // namespace gl
« no previous file with comments | « no previous file | ui/gl/gl_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698