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+

Simon Fraser (smfr)
Reported 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.
Attachments
Patch (2.50 KB, patch)
2011-02-15 14:56 PST, Simon Fraser (smfr)
darin: review+
Simon Fraser (smfr)
Comment 1 2011-02-15 14:56:42 PST
Darin Adler
Comment 2 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?
Simon Fraser (smfr)
Comment 3 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.
Simon Fraser (smfr)
Comment 4 2011-02-15 15:02:01 PST
Note You need to log in before you can comment on or make changes to this bug.