Descriptioncc: Add SchedulerStateMachine::DidDraw and use for forced draws
Refactors the code a bit to unify the regular and forced draw
paths. Adds and switches over to using a
SchedulerStateMachine::DidAction helper method.
A few unit tests are fixed or removed to be more realistic
and to reflect actual needs_redraw_ behavior after a draw
that fails with DRAW_ABORTED_CHECKERBOARD_ANIMATIONS.
BUG=486072
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/f677d495ab096cd08a821d965bb29149c6b9d76d
Cr-Commit-Position: refs/heads/master@{#361555}
Patch Set 1 #
Total comments: 1
Patch Set 2 : rebase #Patch Set 3 : Remove SetDrawResult and pass result as argument instead #
Total comments: 10
Patch Set 4 : Sunny's suggestsions #Patch Set 5 : Don't swap after aborted draw in tests. Add DCHECKs. #
Total comments: 6
Patch Set 6 : Sunny's comments #
Dependent Patchsets: Messages
Total messages: 19 (5 generated)
|