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

Unified Diff: client/deps/glbench/src/main.h

Issue 1282001: Added window manager graphics performance tests to gl_Bench. (Closed)
Patch Set: Implemented requested name change, retested 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 | « no previous file | client/deps/glbench/src/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/deps/glbench/src/main.h
diff --git a/client/deps/glbench/src/main.h b/client/deps/glbench/src/main.h
index 10c1dea41af21b6eb253e43b41c377c67a6c0d8a..ffa73a3899150fd6b44c097f1723354010022dc1 100644
--- a/client/deps/glbench/src/main.h
+++ b/client/deps/glbench/src/main.h
@@ -66,6 +66,11 @@ typedef void (*BenchFunc)(int iter);
uint64_t TimeBench(BenchFunc func, int iter);
+// This size is for a window that is very large but will fit on all
+// the displays we care about.
+#define WINDOW_WIDTH 512
+#define WINDOW_HEIGHT 512
+
#define MAX_ITERATION_DURATION_MS 100000
// Runs func passing it sequential powers of two (8, 16, 32,...) recording time
// it took. The data is then fitted linearly, obtaining slope and bias such
« no previous file with comments | « no previous file | client/deps/glbench/src/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698