Index: gpu/command_buffer/tests/gl_test_utils.h |
diff --git a/gpu/command_buffer/tests/gl_test_utils.h b/gpu/command_buffer/tests/gl_test_utils.h |
index 31de7cdb6ae6cb5d28ccdfcea0213b2551885e38..972ea0af4064f172033c4a322edb229edc7b820d 100644 |
--- a/gpu/command_buffer/tests/gl_test_utils.h |
+++ b/gpu/command_buffer/tests/gl_test_utils.h |
@@ -35,6 +35,11 @@ class GLTestHelper { |
// Returns the created buffer. |
static GLuint SetupUnitQuad(GLint position_location); |
+ // Make a 6 vertex colors. |
+ // Returns the created buffer. |
+ static GLuint SetupColorsForUnitQuad( |
+ GLint location, const GLfloat color[4], GLenum usage); |
+ |
// Checks an area of pixels for a color. |
static bool CheckPixels( |
GLint x, GLint y, GLsizei width, GLsizei height, GLint tolerance, |