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

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: Rebase on master. Add gl/gfx namespace qualifiers. Created 5 years, 2 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
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 f566525cb25cf6d35b9de951ac3d7185100716c5..a3401169794670bf85337fea893db0f3a3fd9ba8 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);

Powered by Google App Engine
This is Rietveld 408576698