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

Side by Side Diff: client/deps/glbench/src/teartest.h

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 unified diff | Download patch
« no previous file with comments | « client/deps/glbench/src/main.cc ('k') | client/deps/glbench/src/teartest.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 #ifndef BENCH_GL_TEARTEST_H_ 5 #ifndef BENCH_GL_TEARTEST_H_
6 #define BENCH_GL_TEARTEST_H_ 6 #define BENCH_GL_TEARTEST_H_
7 7
8 #include <X11/Xlib.h> 8 #include <X11/Xlib.h>
9 9
10 10
11 class Test { 11 class Test {
12 public: 12 public:
13 virtual bool Start() = 0; 13 virtual bool Start() = 0;
14 virtual bool Loop(int shift) = 0; 14 virtual bool Loop(int shift) = 0;
15 virtual void Stop() = 0; 15 virtual void Stop() = 0;
16 virtual ~Test() {} 16 virtual ~Test() {}
17 }; 17 };
18 18
19 19
20 Pixmap AllocatePixmap(); 20 Pixmap AllocatePixmap();
21 void InitializePixmap(Pixmap pixmap); 21 void InitializePixmap(Pixmap pixmap);
22 void UpdatePixmap(Pixmap pixmap, int i); 22 void UpdatePixmap(Pixmap pixmap, int i);
23 void CopyPixmapToTexture(Pixmap pixmap); 23 void CopyPixmapToTexture(Pixmap pixmap);
24 24
25 Test* GetUniformTest(); 25 Test* GetUniformTest();
26 Test* GetTexImage2DTest(); 26 Test* GetTexImage2DTest();
27 #ifdef USE_EGL 27 #if defined(USE_OPENGLES)
28 Test* GetPixmapToTextureTestEGL(); 28 Test* GetPixmapToTextureTestEGL();
29 #else 29 #elif defined(USE_OPENGL)
30 Test* GetPixmapToTextureTest(); 30 Test* GetPixmapToTextureTest();
31 #endif 31 #endif
32 32
33 33
34 #endif // BENCH_GL_TEARTEST_H_ 34 #endif // BENCH_GL_TEARTEST_H_
OLDNEW
« no previous file with comments | « client/deps/glbench/src/main.cc ('k') | client/deps/glbench/src/teartest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698