Descriptioncc: Trigger BeginImplFrameDeadline immediately when invisible.
When becoming invisible we are going to abort any pending draw / activate. We
should do that right now rather then waking up sometime in the future and doing
it. This increases the speed at which we become idle after going invisible.
A minor side effect is we will do more work if we become invisible and then
visible within a single frame, but this case is extremely unlikely while the
case compared to becoming invisible for a longer period.
Related to http://crrev.com/1050833002
BUG=371747
R=brianderson,jdduke
Committed: https://crrev.com/c7c617b8619518568d2267015a5ee32aed7df883
Cr-Commit-Position: refs/heads/master@{#323397}
Committed: https://crrev.com/5f4e78e22a976ecc32606e5ee30d7955635881fd
Cr-Commit-Position: refs/heads/master@{#324383}
Patch Set 1 #Patch Set 2 : Rebase onto master. #Patch Set 3 : Rebase onto master. #
Messages
Total messages: 17 (4 generated)
|