[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 14:04:21 PST 2011


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





--- Comment #24 from Adam Roben (aroben) <aroben at apple.com>  2011-02-11 14:04:21 PST ---
I think discarding the backing store could lead to partial updates appearing on screen. Imagine this scenario:

1) DrawingAreaProxyImpl throws away its backing store
2) DrawingAreaImpl finds out, invalidates everything
3) Some part of the web page changes, so DrawingAreaImpl sets its display timer
4) Part of the WKView's view/HWND gets invalidated for some reason (e.g., someone drags a window across the WKView's HWND on Windows)
5) WKView asks DrawingAreaProxyImpl to paint into the invalidated region
6) DrawingAreaProxyImpl asks DrawingAreaImpl to repaint
7) DrawingAreaProxyImpl paints into WKView's invalid region

At this point, WKView's invalid region has been painted with an updated version of the page. But the rest of WKView still shows the old version of the page!

-- 
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