DescriptionOptimize CompositingRecorder::endCompositing to not need an SkPictureBuilder
CompositingRecorder::endCompositing has an optimization [1] to turn
patterns like [..., begin compositing, drawing, end compositing]
into [..., composited drawing] which takes advantage of an SkPicture
recording optimization. An SkPictureBuilder is not needed in this
case, as we can modify the underlying display list while creating the
new composited drawing. To do this, a DCHECK in DrawingRecorder that
the underlying list doesn't change has been suppressed with
DisableListModificationCheck.
The last user of DisableNullPaintPropertyChecks has been removed which
lets us delete code from PaintChunker.
[1] https://codereview.chromium.org/2186643002
BUG=628831
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Review-Url: https://codereview.chromium.org/2675773003
Cr-Commit-Position: refs/heads/master@{#447903}
Committed: https://chromium.googlesource.com/chromium/src/+/424a2d302d2106dabd248ee96ab751bd54d38f1a
Patch Set 1 #
Total comments: 1
Patch Set 2 : Remove DisableNullPaintPropertyChecks too #Patch Set 3 : Suppress drawing recorder dcheck instead of removing it #Patch Set 4 : rebase #
Messages
Total messages: 22 (13 generated)
|