Title: [106164] trunk/Source/WebKit/chromium
Revision
106164
Author
[email protected]
Date
2012-01-27 15:42:04 -0800 (Fri, 27 Jan 2012)

Log Message

[chromium] Increase the size of the Ganesh texture cache to prevent performance problems on advanced Canvas2D pages.
The cache was previously 50 MB; it is now 96 MB.

Bug 76666 - Ganesh's Texture Cache is too small
https://bugs.webkit.org/show_bug.cgi?id=76666

Patch by Jeff Timanus <[email protected]> on 2012-01-27
Reviewed by Stephen White.

* src/GraphicsContext3DChromium.cpp:
(WebCore::GraphicsContext3DPrivate::grContext):

Modified Paths

Diff

Modified: trunk/Source/WebKit/chromium/ChangeLog (106163 => 106164)


--- trunk/Source/WebKit/chromium/ChangeLog	2012-01-27 23:34:01 UTC (rev 106163)
+++ trunk/Source/WebKit/chromium/ChangeLog	2012-01-27 23:42:04 UTC (rev 106164)
@@ -1,3 +1,16 @@
+2012-01-27  Jeff Timanus  <[email protected]>
+
+        [chromium] Increase the size of the Ganesh texture cache to prevent performance problems on advanced Canvas2D pages.
+        The cache was previously 50 MB; it is now 96 MB.
+
+        Bug 76666 - Ganesh's Texture Cache is too small
+        https://bugs.webkit.org/show_bug.cgi?id=76666
+
+        Reviewed by Stephen White.
+
+        * src/GraphicsContext3DChromium.cpp:
+        (WebCore::GraphicsContext3DPrivate::grContext):
+
 2012-01-27  Adrienne Walker  <[email protected]>
 
         [chromium] Don't ever skip drawing the non-composited content layer

Modified: trunk/Source/WebKit/chromium/src/GraphicsContext3DChromium.cpp (106163 => 106164)


--- trunk/Source/WebKit/chromium/src/GraphicsContext3DChromium.cpp	2012-01-27 23:34:01 UTC (rev 106163)
+++ trunk/Source/WebKit/chromium/src/GraphicsContext3DChromium.cpp	2012-01-27 23:42:04 UTC (rev 106164)
@@ -210,7 +210,7 @@
     // Limit the number of textures we hold in the bitmap->texture cache.
     static const int maxTextureCacheCount = 512;
     // Limit the bytes allocated toward textures in the bitmap->texture cache.
-    static const size_t maxTextureCacheBytes = 50 * 1024 * 1024;
+    static const size_t maxTextureCacheBytes = 96 * 1024 * 1024;
 
     if (!m_grContext) {
         SkAutoTUnref<GrGLInterface> interface(m_impl->createGrGLInterface());
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to