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

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

Issue 1736093002: Add a workaround for copyTexImage2D as it is sometimes broken on OSX. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compile error, nits. Created 4 years, 9 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 537442fbe035eab42f454ff21ceff002b00ff875..e2f88f5c2022b0d70c8e40b4638401af7f7c8c60 100644
--- a/gpu/command_buffer/tests/gl_test_utils.h
+++ b/gpu/command_buffer/tests/gl_test_utils.h
@@ -10,6 +10,10 @@
#include <GLES2/gl2.h>
#include <stdint.h>
+namespace gfx {
+class Size;
+} // namespace gfx
+
class GLTestHelper {
public:
static const uint8_t kCheckClearValue = 123u;
@@ -58,6 +62,8 @@ 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(GLenum target, const gfx::Size& size);
};
#endif // GPU_COMMAND_BUFFER_TESTS_GL_TEST_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698