Title: [122145] trunk/Source/WebCore
- Revision
- 122145
- Author
- [email protected]
- Date
- 2012-07-09 12:52:25 -0700 (Mon, 09 Jul 2012)
Log Message
Reduce the amount of flashing when falling into tiled layers
https://bugs.webkit.org/show_bug.cgi?id=90808
Reviewed by Dean Jackson.
Implement +prefetchedTiles so that CATiledLayer renders more
tiles at a time, reducing the appearance of flashing.
* platform/graphics/mac/WebTiledLayer.mm:
(+[WebTiledLayer prefetchedTiles]):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (122144 => 122145)
--- trunk/Source/WebCore/ChangeLog 2012-07-09 19:51:04 UTC (rev 122144)
+++ trunk/Source/WebCore/ChangeLog 2012-07-09 19:52:25 UTC (rev 122145)
@@ -1,3 +1,16 @@
+2012-07-09 Simon Fraser <[email protected]>
+
+ Reduce the amount of flashing when falling into tiled layers
+ https://bugs.webkit.org/show_bug.cgi?id=90808
+
+ Reviewed by Dean Jackson.
+
+ Implement +prefetchedTiles so that CATiledLayer renders more
+ tiles at a time, reducing the appearance of flashing.
+
+ * platform/graphics/mac/WebTiledLayer.mm:
+ (+[WebTiledLayer prefetchedTiles]):
+
2012-07-09 Leandro Gracia Gil <[email protected]>
SurroundingText should not advance character iterators if they are at end.
Modified: trunk/Source/WebCore/platform/graphics/mac/WebTiledLayer.mm (122144 => 122145)
--- trunk/Source/WebCore/platform/graphics/mac/WebTiledLayer.mm 2012-07-09 19:51:04 UTC (rev 122144)
+++ trunk/Source/WebCore/platform/graphics/mac/WebTiledLayer.mm 2012-07-09 19:52:25 UTC (rev 122145)
@@ -50,6 +50,11 @@
return YES;
}
++ (unsigned int)prefetchedTiles
+{
+ return 2;
+}
+
// Disable default animations
- (id<CAAction>)actionForKey:(NSString *)key
{
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes