[chromium] Cleanup texture memory eviction when LayerTreeHost becomes invisible
[WebKit-https.git] / Source / WebCore / ChangeLog
index 88f4f3a..483165d 100644 (file)
@@ -1,3 +1,22 @@
+2012-04-13  Dana Jansens  <danakj@chromium.org>
+
+        [chromium] Cleanup texture memory eviction when LayerTreeHost becomes invisible
+        https://bugs.webkit.org/show_bug.cgi?id=83899
+
+        Reviewed by Adrienne Walker.
+
+        When a LTH becomes invisible, the texture eviction is spread out across
+        two different functions and is not entirely clear. We move all the logic
+        together into a single place in didBecomeInvisibleOnImplThread() and
+        make the consequences of the current code more clear.
+
+        Covered by existing tests.
+
+        * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
+        (WebCore::CCLayerTreeHost::deleteContentsTexturesOnImplThread):
+        (WebCore::CCLayerTreeHost::setVisible):
+        (WebCore::CCLayerTreeHost::didBecomeInvisibleOnImplThread):
+
 2012-04-13  Sheriff Bot  <webkit.review.bot@gmail.com>
 
         Unreviewed, rolling out r114036.