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

Unified Diff: cc/resources/tile_manager_perftest.cc

Issue 1127963003: Revert of cc: Adding DidFinishImplFrame to LTHI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « no previous file | cc/scheduler/scheduler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/tile_manager_perftest.cc
diff --git a/cc/resources/tile_manager_perftest.cc b/cc/resources/tile_manager_perftest.cc
index ae95212068d2d3f703529fcf6c25e6564c789f14..09136668e7794deb34cc9857692951599d755ae8 100644
--- a/cc/resources/tile_manager_perftest.cc
+++ b/cc/resources/tile_manager_perftest.cc
@@ -390,7 +390,7 @@
do {
BeginFrameArgs args =
CreateBeginFrameArgsForTesting(BEGINFRAME_FROM_HERE);
- host_impl_.WillBeginImplFrame(args);
+ host_impl_.UpdateCurrentBeginFrameArgs(args);
for (const auto& layer : layers)
layer->UpdateTiles(resourceless_software_draw);
@@ -398,7 +398,7 @@
tile_manager()->PrepareTiles(global_state);
tile_manager()->UpdateVisibleTiles(global_state);
timer_.NextLap();
- host_impl_.DidFinishImplFrame();
+ host_impl_.ResetCurrentBeginFrameArgsForNextFrame();
} while (!timer_.HasTimeLimitExpired());
perf_test::PrintResult("prepare_tiles", "", test_name,
« no previous file with comments | « no previous file | cc/scheduler/scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698