Descriptioncc: Get BeginFrameArgs for BeginMainFrame while inside an impl frame.
This patch also adds asserts to make sure that the assumption that
ScheduledActionSendBeginMainFrame is only called inside an impl frame
holds.
Sending a BeginMainFrame requires BeginFrameArgs to be read from the
LTHI which are only valid inside an impl frame. Due to needing to call
BeginMainFrame asynchronously (as the comment inside the function
mentions), the call could theoretically occur outside an impl frame.
The likelihood of this effecting production is extremely low because
impl frames are large but this problem does increase flakiness of the
layer tree host unittests.
BUG=346230
R=brianderson,enne
Committed: https://crrev.com/69fd3bb5a6824436bb7c3f5905dc3ab3051b9d3b
Cr-Commit-Position: refs/heads/master@{#327874}
Patch Set 1 #Patch Set 2 : Rebase onto master. #
Messages
Total messages: 7 (2 generated)
|