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
Patch Set 1 #Patch Set 2 : Fixing timing around reading BFAs in scheduler flow. #
Messages
Total messages: 3 (2 generated)
|