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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/deps/glbench/src/teartest.h
diff --git a/client/deps/glbench/src/teartest.h b/client/deps/glbench/src/teartest.h
new file mode 100644
index 0000000000000000000000000000000000000000..8d1659635c55c51765ac2298b11dd8fd00ff0e13
--- /dev/null
+++ b/client/deps/glbench/src/teartest.h
@@ -0,0 +1,26 @@
+// Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef BENCH_GL_TEARTEST_H_
+#define BENCH_GL_TEARTEST_H_
+
+#include <X11/Xlib.h>
+
+enum TestState {
+ TestStart,
+ TestLoop,
+ TestStop
+};
+
+typedef bool (*Test)(TestState state, int arg);
+
+void InitializePixmap();
+void UpdatePixmap(int i);
+void CopyPixmapToTexture();
+
+// TODO: implement EGL counterpart.
+void InitNative(Pixmap pixmap);
+bool UpdateBindTexImage(TestState state, int arg);
+
+#endif // BENCH_GL_TEARTEST_H_
« 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