Descriptioncc: Adding DidFinishImplFrame to LTHI.
This change moves the responsibility of clearing state inside the LTHI after an
impl frame is finished from the thread proxies to the LTHI class. This makes
WillBeginImplFrame and DidFinishImplFrame a logical pair.
This CL also;
* Adds a test that checks the number of WillBeginImplFrame
calls matches the DidFinishImplFrame calls.
* Cleans up classes in cc/test/layer_tree_test.h around WillBeginImplFrame.
* Removes the UpdateCurrentBeginFrameArgs / ResetCurrentBeginFrameArgs methods.
* Fixes a bug where STP was calling ResetCurrentBeginFrameArgs twice every frame.
BUG=346230, 481810
R=brianderson,enne
Committed: https://crrev.com/2caee4f89de17858822c11379da9c6cd80f90708
Cr-Commit-Position: refs/heads/master@{#328689}
Committed: https://crrev.com/51693e3839cf85fad73979258c00e5964d627240
Cr-Commit-Position: refs/heads/master@{#328883}
Patch Set 1 #Patch Set 2 : Removing unused EndTestAfterNoBeginFramesNeeded method. #Patch Set 3 : Rebasing onto master. #
Total comments: 20
Patch Set 4 : Fixing review comments. #
Total comments: 4
Patch Set 5 : Rebase onto master after landing other patch. #
Total comments: 8
Patch Set 6 : Fixing for Dana's review. #Patch Set 7 : Removing DCHECK_ON() attempt. #Patch Set 8 : Adding missing TODO. #Patch Set 9 : Fixing for Dana's comments. #Patch Set 10 : Rebase onto master. #Patch Set 11 : Fixing surfaces_scheduler. #
Messages
Total messages: 31 (8 generated)
|