Title: [111561] trunk/Source/WebCore
Revision
111561
Author
[email protected]
Date
2012-03-21 10:18:00 -0700 (Wed, 21 Mar 2012)

Log Message

TiledBackingStore: Create the first round of tiles synchronously after setting the visible rect.
https://bugs.webkit.org/show_bug.cgi?id=81762

Reviewed by Kenneth Rohde Christiansen.

The first round of tiles should cover completely the visible rect.
Creating the tiles synchronously allows us to get the new tiles immediately
and prevents an extra AC layers sync to be able to remove the old tiles.

At some point it might also make sense to remove the tile creation timer
completely.

* platform/graphics/TiledBackingStore.cpp:
(WebCore::TiledBackingStore::coverWithTilesIfNeeded):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (111560 => 111561)


--- trunk/Source/WebCore/ChangeLog	2012-03-21 17:16:46 UTC (rev 111560)
+++ trunk/Source/WebCore/ChangeLog	2012-03-21 17:18:00 UTC (rev 111561)
@@ -1,3 +1,20 @@
+2012-03-21  Jocelyn Turcotte  <[email protected]>
+
+        TiledBackingStore: Create the first round of tiles synchronously after setting the visible rect.
+        https://bugs.webkit.org/show_bug.cgi?id=81762
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        The first round of tiles should cover completely the visible rect.
+        Creating the tiles synchronously allows us to get the new tiles immediately
+        and prevents an extra AC layers sync to be able to remove the old tiles.
+
+        At some point it might also make sense to remove the tile creation timer
+        completely.
+
+        * platform/graphics/TiledBackingStore.cpp:
+        (WebCore::TiledBackingStore::coverWithTilesIfNeeded):
+
 2012-03-19  Jocelyn Turcotte  <[email protected]>
 
         TiledBackingStore: When checking if the visible area is covered, only convert to scaled coordinates once.

Modified: trunk/Source/WebCore/platform/graphics/TiledBackingStore.cpp (111560 => 111561)


--- trunk/Source/WebCore/platform/graphics/TiledBackingStore.cpp	2012-03-21 17:16:46 UTC (rev 111560)
+++ trunk/Source/WebCore/platform/graphics/TiledBackingStore.cpp	2012-03-21 17:18:00 UTC (rev 111561)
@@ -79,7 +79,7 @@
     m_trajectoryVector = normalizedVector;
     m_visibleRect = visibleRect;
 
-    startBackingStoreUpdateTimer();
+    createTiles();
 }
 
 void TiledBackingStore::invalidate(const IntRect& contentsDirtyRect)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to