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

Unified Diff: cc/resources/tile_manager_perftest.cc

Issue 1111743002: cc: Adding DidFinishImplFrame to LTHI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing surfaces_scheduler. 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 09136668e7794deb34cc9857692951599d755ae8..ae95212068d2d3f703529fcf6c25e6564c789f14 100644
--- a/cc/resources/tile_manager_perftest.cc
+++ b/cc/resources/tile_manager_perftest.cc
@@ -390,7 +390,7 @@ class TileManagerPerfTest : public testing::Test {
do {
BeginFrameArgs args =
CreateBeginFrameArgsForTesting(BEGINFRAME_FROM_HERE);
- host_impl_.UpdateCurrentBeginFrameArgs(args);
+ host_impl_.WillBeginImplFrame(args);
for (const auto& layer : layers)
layer->UpdateTiles(resourceless_software_draw);
@@ -398,7 +398,7 @@ class TileManagerPerfTest : public testing::Test {
tile_manager()->PrepareTiles(global_state);
tile_manager()->UpdateVisibleTiles(global_state);
timer_.NextLap();
- host_impl_.ResetCurrentBeginFrameArgsForNextFrame();
+ host_impl_.DidFinishImplFrame();
} 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