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

Unified Diff: client/deps/glbench/src/windowmanagercompositingtest.cc

Issue 2122020: Fixes for GLES systems. (Closed) Base URL: ssh://git@chromiumos-git//autotest.git
Patch Set: ...and removed bogus #-I from Makefile Created 10 years, 7 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
« no previous file with comments | « client/deps/glbench/src/varyingsandddxytest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/deps/glbench/src/windowmanagercompositingtest.cc
diff --git a/client/deps/glbench/src/windowmanagercompositingtest.cc b/client/deps/glbench/src/windowmanagercompositingtest.cc
index f394fdc29e98059bab70bc32066c591d20b93a07..a791093a21f68e8e7642dbb6e059b48a623999c6 100644
--- a/client/deps/glbench/src/windowmanagercompositingtest.cc
+++ b/client/deps/glbench/src/windowmanagercompositingtest.cc
@@ -34,11 +34,9 @@ class WindowManagerCompositingTest : public TestBase {
bool scissor_;
uint32_t texture_base_[WINDOW_HEIGHT*WINDOW_WIDTH];
uint32_t texture_update_[WINDOW_HEIGHT*WINDOW_WIDTH];
-#ifndef USE_EGL
GLuint compositing_textures_[5];
GLuint compositing_background_program_;
GLuint compositing_foreground_program_;
-#endif
DISALLOW_COPY_AND_ASSIGN(WindowManagerCompositingTest);
};
@@ -124,7 +122,7 @@ bool WindowManagerCompositingTest::TestFunc(int iter) {
return true;
}
-#if I915_WORKAROUND
+#if defined(I915_WORKAROUND)
#define V1 "gl_TexCoord[0]"
#define V2 "gl_TexCoord[1]"
#define V3 "gl_TexCoord[2]"
« no previous file with comments | « client/deps/glbench/src/varyingsandddxytest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698