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

Unified Diff: chrome/test/perf/rendering/latency_tests.cc

Issue 10805022: GPU: Fix latency tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/perf/rendering/latency_tests.cc
diff --git a/chrome/test/perf/rendering/latency_tests.cc b/chrome/test/perf/rendering/latency_tests.cc
index b38b72471fd70533564244a77cdcbe4e74c031bb..77d75f06887e26e470df04d877964dd31cce2c24 100644
--- a/chrome/test/perf/rendering/latency_tests.cc
+++ b/chrome/test/perf/rendering/latency_tests.cc
@@ -272,7 +272,7 @@ void LatencyTest::RunTest(LatencyTestMode mode,
// Construct queries for searching trace events via TraceAnalyzer.
if (mode_ == kWebGL) {
query_begin_swaps_ = query_instant_ &&
- Query::EventName() == Query::String("SwapBuffers") &&
+ Query::EventName() == Query::String("SwapBuffersLantency") &&
Query::EventArg("width") != Query::Int(kWebGLCanvasWidth);
query_end_swaps_ = query_instant_ &&
Query::EventName() == Query::String("CompositorSwapBuffersComplete");
@@ -626,7 +626,7 @@ void LatencyTest::PrintEvents(const TraceEventVector& events) {
} else if (events[i]->name == "DoBlit") {
// WebGL context swap buffers.
printf("BLT ");
- } else if (events[i]->name == "SwapBuffers") {
+ } else if (events[i]->name == "SwapBuffersLatency") {
// Compositor context swap buffers.
++swap_count;
printf("|\nframe %03d: ", swap_count + 1);
« no previous file with comments | « no previous file | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698