Bug 58330 - Page tears and stutters in WebKit2 when page is > 2048 pixels wide
Summary: Page tears and stutters in WebKit2 when page is > 2048 pixels wide
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Chris Marrin
Keywords: InRadar
Depends on:
Reported: 2011-04-12 08:55 PDT by Chris Marrin
Modified: 2011-04-12 15:43 PDT (History)
1 user (show)

See Also:

Patch (6.09 KB, patch)
2011-04-12 09:27 PDT, Chris Marrin
simon.fraser: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Marrin 2011-04-12 08:55:16 PDT
From <rdar://problem/9000193>. Open Window with animated Flash or composited content (often http://cnn.com has animated Flash on the front page), make the Window wider than 2048 pixels and then scroll. Page tears  and stutters. This is caused because in this case the root (non-composited) content is in a Tiled Layer which updates asynchronously, so different tiles are updated at different times.
Comment 1 Chris Marrin 2011-04-12 09:27:42 PDT
Created attachment 89215 [details]
Comment 2 Simon Fraser (smfr) 2011-04-12 10:41:05 PDT
Comment on attachment 89215 [details]

View in context: https://bugs.webkit.org/attachment.cgi?id=89215&action=review

> Source/WebCore/platform/graphics/GraphicsLayer.h:263
> +    bool allowTiledLayer() const { return m_allowTiledLayer; }
> +    virtual void setAllowTiledLayer(bool b) { m_allowTiledLayer = b; }

Previous to this, knowledge of tiled layers was hidden in GraphicsLayerCA. I think these methods should be on GraphicsLayerCA, and LayerTreeHost should cast.
Comment 3 Chris Marrin 2011-04-12 15:43:24 PDT
Committed r83653: <http://trac.webkit.org/changeset/83653>