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

Side by Side 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, 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stdio.h>
6
5 #include "teartest.h" 7 #include "teartest.h"
6 8
7 void InitNative(Pixmap pixmap) { }
8 9
9 bool UpdateBindTexImage(TestState state, int arg) { 10 class PixmapToTextureTestEGL : public Test {
10 printf("# UpdateBindTexImage is not supported on EGL.\n"); 11 public:
11 return false; 12 PixmapToTextureTestEGL() {}
13 virtual bool Start() {
14 printf("# PixmapToTextureTestEGL not implemented.\n");
15 return false;
16 }
17 virtual bool Loop(int shift) { return false; }
18 virtual void Stop() {}
19 };
20
21 Test* GetPixmapToTextureTestEGL() {
22 return new PixmapToTextureTestEGL();
12 } 23 }
OLDNEW
« 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