RESOLVED FIXED Bug 119551
Every scroll causes additional layer tree work because of flatteningLayer->removeFromParent();
https://bugs.webkit.org/show_bug.cgi?id=119551
Summary Every scroll causes additional layer tree work because of flatteningLayer->re...
Simon Fraser (smfr)
Reported 2013-08-07 10:43:48 PDT
Whenever we update layer geometry on a layer with a tile cache flattening layer, we hit: if (GraphicsLayer* flatteningLayer = tileCacheFlatteningLayer()) { flatteningLayer->removeFromParent(); m_graphicsLayer->addChild(flatteningLayer); } which is normally a no-op, but does cause us to push a new sublayers array down to CA. We should avoid this.
Attachments
Patch (1.82 KB, patch)
2013-08-13 13:07 PDT, Simon Fraser (smfr)
dino: review+
Simon Fraser (smfr)
Comment 1 2013-08-13 13:07:22 PDT
Simon Fraser (smfr)
Comment 2 2013-08-13 13:17:27 PDT
Note You need to log in before you can comment on or make changes to this bug.