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

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

Issue 1732030: Replaced funky state machines with classes. This is in preparation of doing the same to gl_Bench. (Closed) Base URL: ssh://git@chromiumos-git//autotest.git
Patch Set: Got rid of static test list initialization, fixed USE_EGL. Created 10 years, 8 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/teartest.cc ('k') | client/deps/glbench/src/teartest_glx.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/deps/glbench/src/teartest_egl.cc
diff --git a/client/deps/glbench/src/teartest_egl.cc b/client/deps/glbench/src/teartest_egl.cc
index 0856bf04f5cfdb323e32a5be1a7e561ba91314b9..8a74cbf3632311216998968e3b7b67a997819ef8 100644
--- a/client/deps/glbench/src/teartest_egl.cc
+++ b/client/deps/glbench/src/teartest_egl.cc
@@ -2,11 +2,22 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <stdio.h>
+
#include "teartest.h"
-void InitNative(Pixmap pixmap) { }
-bool UpdateBindTexImage(TestState state, int arg) {
- printf("# UpdateBindTexImage is not supported on EGL.\n");
- return false;
+class PixmapToTextureTestEGL : public Test {
+ public:
+ PixmapToTextureTestEGL() {}
+ virtual bool Start() {
+ printf("# PixmapToTextureTestEGL not implemented.\n");
+ return false;
+ }
+ virtual bool Loop(int shift) { return false; }
+ virtual void Stop() {}
+};
+
+Test* GetPixmapToTextureTestEGL() {
+ return new PixmapToTextureTestEGL();
}
« no previous file with comments | « client/deps/glbench/src/teartest.cc ('k') | client/deps/glbench/src/teartest_glx.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698