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

Unified Diff: client/deps/glbench/src/testbase.cc

Issue 2115012: Added texture update test. (Closed) Base URL: ssh://git@chromiumos-git//autotest.git
Patch Set: C++ enum 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/deps/glbench/src/main.cc ('k') | client/deps/glbench/src/textureupdatetest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/deps/glbench/src/testbase.cc
diff --git a/client/deps/glbench/src/testbase.cc b/client/deps/glbench/src/testbase.cc
index 48a2fc4df91386b6e6bf8640e08e387068b54c25..ef138fe7c6b1f448369df8ce19062b708ed3460d 100644
--- a/client/deps/glbench/src/testbase.cc
+++ b/client/deps/glbench/src/testbase.cc
@@ -12,7 +12,8 @@ uint64_t TimeTest(TestBase* test, int iter) {
SwapBuffers();
glFinish();
uint64_t time1 = GetUTime();
- test->TestFunc(iter);
+ if (!test->TestFunc(iter))
+ return ~0;
glFinish();
uint64_t time2 = GetUTime();
return time2 - time1;
« no previous file with comments | « client/deps/glbench/src/main.cc ('k') | client/deps/glbench/src/textureupdatetest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698