[Webkit-unassigned] [Bug 51262] WebPageProxy should delete its backing store after not painting for a while

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 11 13:09:18 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=51262





--- Comment #20 from Adam Roben (aroben) <aroben at apple.com>  2011-02-11 13:09:18 PST ---
I think the process for throwing away a backing store and creating a new one should be:

1) When we decide to throw away the backing store, do so and send the DrawingAreaImpl an InvalidateEverything message (suggestions for a better name are welcome!).
2) When the DrawingAreaImpl receives the InvalidateEverything message, set its dirty region to the page's bounds.
3) The next time DrawingAreaProxyImpl::paint is called, if we still don't have a backing store and we're not waiting for a DidSetSize message, send the DrawingAreaImpl a DisplayNow message (again, better names are welcome!) and use the waitForAndDispatchImmediately logic to block for up to some small amount of time until we receive the next Update message. Then proceed with painting.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list