Summary: | When incremental loading is suppressed for composited content, black flashes can occur before the first paint | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Andy Estes <aestes> | ||||
Component: | Layout and Rendering | Assignee: | Andy Estes <aestes> | ||||
Status: | RESOLVED INVALID | ||||||
Severity: | Normal | CC: | darin, sam, simon.fraser | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Bug Depends on: | 72106, 73641 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Andy Estes
2011-10-13 20:36:52 PDT
Created attachment 111081 [details]
Patch
Comment on attachment 111081 [details]
Patch
Andy and I are still discussing this.
After talking to Simon I agree the better approach here is to freeze the layer tree during loading, similar to what we do in WebKit2 to prevent flashes when navigating away from a composited page. I'm going to do this in three steps: - Consolidate the two Mac code paths that install run loop observers for layer tree syncing into a single class that has the ability to install and uninstall the observer. - Add the layer tree freezing logic for Mac WebKit1 and WebKit2 using this new class. - Add a separate implementation for Apple's Windows port, which uses a different mechanism for layer tree syncing. Andy fixed this another way. |