DescriptionPainter side preparation for subtree caching
- Add back SubtreeRecorder in BlockPainter::paint(), but initiate
it only when the block has multiple children or multiple line boxes
to avoid too many of subtree display items;
- Remove SubtreeRecorder::begin() because we ignore all paintings
out of interest rect;
- Add SubtreeRecorder::canUseCache() for future real implementation of
subtree caching.
BUG=410097
TEST=DisplayItemListPaintTest.*
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200359
Patch Set 1 #Patch Set 2 : #
Total comments: 2
Patch Set 3 : Check slimmingPaintV2Enabled #Patch Set 4 : V2 #
Total comments: 4
Patch Set 5 : needsSubtreeRecorder #
Messages
Total messages: 12 (2 generated)
|