Descriptioncc: Add readback and forced draw states to the Scheduler.
Readback doesn't have all its steps synchronized properly with
impl side painting enabled. This patch prevents the readback
commit from being swapped to screen and avoids using non-readback
commits for readback by adding a SynchronousReadbackState.
This patch also gives forced draws due to checkerboarding its
own ForcedReadback state that behaves independently of readback.
Previously readback and forced draws shared drawing mechanisms,
but we want readbacks to occur ASAP while we want forced draws
to occur inline with the normal frame scheduling.
BUG=276082
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221854
Patch Set 1 #Patch Set 2 : Normal functionality working. More test fixes pending. #
Total comments: 3
Patch Set 3 : Fix all non-scheduler unit tests #Patch Set 4 : rename needs_draw_and_swap_ back to needs_redraw_ #
Total comments: 1
Patch Set 5 : Fix all the tests #
Total comments: 36
Patch Set 6 : address comments #Patch Set 7 : replace active_tree_has_been_drawn with active_tree_needs_first_draw; tests pending #Patch Set 8 : Add a readback during forced draw test #
Total comments: 4
Patch Set 9 : fix test #Patch Set 10 : tests complete #Patch Set 11 : rebase #
Total comments: 6
Patch Set 12 : Fix mac_rel failure by returning false from CanReadback when context lost #
Total comments: 2
Patch Set 13 : Don't abuse CanReadback #
Total comments: 1
Patch Set 14 : Address enne's commetns #
Total comments: 1
Messages
Total messages: 27 (0 generated)
|