Descriptionviews: Access the Canvas through recorders not through PaintContext.
The PaintContext may be backed by a DisplayItemList in the future so it
will not have a canvas(). Instead invoke a PaintRecorder to use a canvas
or another Recorder to do other operations such as clip or opacity.
This adds a CompositingRecorder for compositing operations like opacity.
It could also support effects like blend modes, and will generate
cc::CompositingDisplayItems in the future.
R=sky
BUG=466426
Committed: https://crrev.com/38125cee3b20bcad023fcf96786951d36c091727
Cr-Commit-Position: refs/heads/master@{#323981}
Patch Set 1 #
Total comments: 4
Patch Set 2 : uiviews-recorder: whitespace #Patch Set 3 : uiviews-recorder: . #Messages
Total messages: 12 (4 generated)
|