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

Unified Diff: gpu/command_buffer/tests/gl_test_utils.h

Issue 2656563002: Support cube map dest target for CopyTextureCHROMIUM extension (Closed)
Patch Set: Created 3 years, 11 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: 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 e89fbfbb7fd7a11f197f2e8273268c13cf9cd55d..3a1641e56310d240634e55b24c44c7e7703a80fc 100644
--- a/gpu/command_buffer/tests/gl_test_utils.h
+++ b/gpu/command_buffer/tests/gl_test_utils.h
@@ -68,10 +68,12 @@ class GLTestHelper {
// Uses ReadPixels to save an area of the current FBO/Backbuffer.
static bool SaveBackbufferAsBMP(const char* filename, int width, int height);
- static void DrawTextureQuad(const char* vertex_src,
+ static void DrawTextureQuad(const GLenum texture_target,
+ const char* vertex_src,
const char* fragment_src,
const char* position_name,
- const char* sampler_name);
+ const char* sampler_name,
+ const char* face_name);
};
#endif // GPU_COMMAND_BUFFER_TESTS_GL_TEST_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698