Title: [108489] trunk/Source/WebCore
Revision
108489
Author
[email protected]
Date
2012-02-22 05:36:12 -0800 (Wed, 22 Feb 2012)

Log Message

Improve comments in tiling code.

Rubberstamped by Simon Hausmann.

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

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (108488 => 108489)


--- trunk/Source/WebCore/ChangeLog	2012-02-22 13:27:09 UTC (rev 108488)
+++ trunk/Source/WebCore/ChangeLog	2012-02-22 13:36:12 UTC (rev 108489)
@@ -1,3 +1,12 @@
+2012-02-22  Kenneth Rohde Christiansen  <[email protected]>
+
+        Improve comments in tiling code.
+
+        Rubberstamped by Simon Hausmann.
+
+        * platform/graphics/TiledBackingStore.cpp:
+        (WebCore::TiledBackingStore::createTiles):
+
 2012-02-22  'Pavel Feldman'  <[email protected]>
 
         Not reviewed: build fix.

Modified: trunk/Source/WebCore/platform/graphics/TiledBackingStore.cpp (108488 => 108489)


--- trunk/Source/WebCore/platform/graphics/TiledBackingStore.cpp	2012-02-22 13:27:09 UTC (rev 108488)
+++ trunk/Source/WebCore/platform/graphics/TiledBackingStore.cpp	2012-02-22 13:36:12 UTC (rev 108489)
@@ -278,19 +278,19 @@
         }
     }
 
-    // Now construct the tile(s)
+    // Now construct the tile(s) within the shortest distance.
     unsigned tilesToCreateCount = tilesToCreate.size();
     for (unsigned n = 0; n < tilesToCreateCount; ++n) {
         Tile::Coordinate coordinate = tilesToCreate[n];
         setTile(coordinate, m_backend->createTile(this, coordinate));
     }
     requiredTileCount -= tilesToCreateCount;
-    
-    // Paint the content of the newly created tiles
+
+    // Paint the content of the newly created tiles.
     if (tilesToCreateCount || didResizeTiles)
         updateTileBuffers();
 
-    // Keep creating tiles until the whole coverRect is covered.
+    // Re-call createTiles on a timer to cover the visible area with the newest shortest distance.
     if (requiredTileCount)
         m_tileCreationTimer->startOneShot(m_tileCreationDelay);
 }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to