DescriptionRemove optimization to lazily allocate transparency layers in LayerPainter.
Before this CL, LayerPainter would try to avoid starting a transparency layer
until it encountered actual drawable content within the RenderLayer that has transparency, or its child.
This optimization makes for code complexity and speed issues, makes it hard to
implement clean display lists, and is most likely not a useful optimization.
It is likely not useful for two reasons:
* It only has effect if the webpage has opacity but no actual content. That does not seem common.
* Skia already has optimizations to remove unnecessary layers if there is no content within them:
https://code.google.com/p/chromium/codesearch#chromium/src/third_party/skia/src/core/SkRecordOpts.cpp&q=SkRecordNoopSaveRestores&sq=package:chromium&type=cs&l=21
BUG=432755
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185324
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #Patch Set 5 : #Patch Set 6 : #Patch Set 7 : #
Total comments: 12
Patch Set 8 : #Patch Set 9 : #
Messages
Total messages: 14 (3 generated)
|