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

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

Issue 1315007: Added tearing tests for plain texture updates and bind pixmap to texture. (Closed)
Patch Set: Created 10 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 unified diff | Download patch
« no previous file with comments | « client/deps/glbench/src/glx_stuff.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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef BENCH_GL_TEARTEST_H_
6 #define BENCH_GL_TEARTEST_H_
7
8 #include <X11/Xlib.h>
9
10 enum TestState {
11 TestStart,
12 TestLoop,
13 TestStop
14 };
15
16 typedef bool (*Test)(TestState state, int arg);
17
18 void InitializePixmap();
19 void UpdatePixmap(int i);
20 void CopyPixmapToTexture();
21
22 // TODO: implement EGL counterpart.
23 void InitNative(Pixmap pixmap);
24 bool UpdateBindTexImage(TestState state, int arg);
25
26 #endif // BENCH_GL_TEARTEST_H_
OLDNEW
« no previous file with comments | « client/deps/glbench/src/glx_stuff.cc ('k') | client/deps/glbench/src/teartest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698