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

Unified Diff: ui/gl/test/gl_test_helper.h

Issue 1419733005: gpu: Add YCbCr 420v extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Actually enable/disable capabilities. Typo. Created 5 years 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/test/gl_image_test_template.h ('k') | ui/gl/test/gl_test_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/test/gl_test_helper.h
diff --git a/ui/gl/test/gl_test_helper.h b/ui/gl/test/gl_test_helper.h
index ac7be68d630810344816f577bfbb1dc0650e4e2b..98b2e0eb7fdbfe29d47f21abf3708fbc4f26597d 100644
--- a/ui/gl/test/gl_test_helper.h
+++ b/ui/gl/test/gl_test_helper.h
@@ -16,22 +16,6 @@ class GLTestHelper {
// Does not check for errors, always returns texture.
static GLuint CreateTexture(GLenum target);
- // Compiles a shader.
- // Does not check for errors, always returns shader.
- static GLuint CompileShader(GLenum type, const char* src);
-
- // Compiles a shader and checks for compilation errors.
- // Returns shader, 0 on failure.
- static GLuint LoadShader(GLenum type, const char* src);
-
- // Attaches 2 shaders and links them to a program.
- // Does not check for errors, always returns program.
- static GLuint LinkProgram(GLuint vertex_shader, GLuint fragment_shader);
-
- // Attaches 2 shaders, links them to a program, and checks for errors.
- // Returns program, 0 on failure.
- static GLuint SetupProgram(GLuint vertex_shader, GLuint fragment_shader);
-
// Creates a framebuffer, attaches a color buffer, and checks for errors.
// Returns framebuffer, 0 on failure.
static GLuint SetupFramebuffer(int width, int height);
« no previous file with comments | « ui/gl/test/gl_image_test_template.h ('k') | ui/gl/test/gl_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698