Bug 54498

Summary: Layers stick around in DrawingAreaImpl until we switch out of compositing
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: WebKit2Assignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
Patch darin: review+

Description Simon Fraser (smfr) 2011-02-15 14:50:05 PST
If DrawingAreaImpl delays its exit from compositing (say if you change m_exitCompositingTimer.startOneShot() to use 3 seconds), then compositing layers stick around for that time, even after they should have been hidden.
Comment 1 Simon Fraser (smfr) 2011-02-15 14:56:42 PST
Created attachment 82527 [details]
Patch
Comment 2 Darin Adler 2011-02-15 14:57:50 PST
Comment on attachment 82527 [details]
Patch

Does this mean we’ll see something different onscreen at the moment setRootCompositingLayer is called?
Comment 3 Simon Fraser (smfr) 2011-02-15 15:00:44 PST
I think the zero-delay timer masked this issue, or at least just caused one frame of badness.
Comment 4 Simon Fraser (smfr) 2011-02-15 15:02:01 PST
http://trac.webkit.org/changeset/78623