<rdar://problem/9005982> Flash of white when a WKView with composited content moves...
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 31 Mar 2011 03:57:27 +0000 (03:57 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 31 Mar 2011 03:57:27 +0000 (03:57 +0000)
commit02655fc18e4eebc307130a1f02520d1225797d14
treef3c364924e51232ae3681ac47143f3a453ca2491
parent011b4a2b81193096934d010ce3f9029db1ba61d1
<rdar://problem/9005982> Flash of white when a WKView with composited content moves on-screen
https://bugs.webkit.org/show_bug.cgi?id=57522

Reviewed by Maciej Stachowiak.

* UIProcess/DrawingAreaProxyImpl.cpp:
(WebKit::DrawingAreaProxyImpl::exitAcceleratedCompositingMode): Invalidate the current
backing store state, so that we get an update as soon as the page enters compositing mode
next.
* WebProcess/WebPage/DrawingAreaImpl.cpp:
(WebKit::DrawingAreaImpl::sendDidUpdateBackingStoreState): Added a call to
LayerTreeHost::forceRepaint() in order to flush and synchronize the layers
before sending the update message to the UI process.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@82543 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/DrawingAreaProxyImpl.cpp
Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp