[chromium] Need a way to test lost compositor context recovery
[WebKit-https.git] / Source / WebCore / ChangeLog
index 5dea3fb..ddb9307 100644 (file)
@@ -1,3 +1,20 @@
+2011-08-23  James Robinson  <jamesr@chromium.org>
+
+        [chromium] Need a way to test lost compositor context recovery
+        https://bugs.webkit.org/show_bug.cgi?id=66820
+
+        Reviewed by Kenneth Russell.
+
+        Adds support for recreating a context as if it was lost, and fixes
+        compositeAndReadback() to attempt context recovery.
+
+        Test: platform/chromium/compositing/lost-compositor-context.html
+
+        * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
+        (WebCore::CCLayerTreeHost::compositeAndReadback):
+        (WebCore::CCLayerTreeHost::loseCompositorContext):
+        * platform/graphics/chromium/cc/CCLayerTreeHost.h:
+
 2011-08-23  Nat Duca  <nduca@chromium.org>
 
         [chromium] Implement CCThread in terms of WebThread