Title: [121044] trunk/Source/WebCore
Revision
121044
Author
[email protected]
Date
2012-06-22 11:32:00 -0700 (Fri, 22 Jun 2012)

Log Message

Increase the GrContext texture cache count cap to 2K
https://bugs.webkit.org/show_bug.cgi?id=89761

Patch by Brian Salomon <[email protected]> on 2012-06-22
Reviewed by Stephen White.

Tests: The change is for performance. The code is exercised by all the canvas 2d layout tests.

* platform/chromium/support/GraphicsContext3DPrivate.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (121043 => 121044)


--- trunk/Source/WebCore/ChangeLog	2012-06-22 18:25:08 UTC (rev 121043)
+++ trunk/Source/WebCore/ChangeLog	2012-06-22 18:32:00 UTC (rev 121044)
@@ -1,3 +1,14 @@
+2012-06-22  Brian Salomon  <[email protected]>
+
+        Increase the GrContext texture cache count cap to 2K
+        https://bugs.webkit.org/show_bug.cgi?id=89761
+
+        Reviewed by Stephen White.
+
+        Tests: The change is for performance. The code is exercised by all the canvas 2d layout tests.
+
+        * platform/chromium/support/GraphicsContext3DPrivate.cpp:
+
 2012-06-22  Silvia Pfeiffer  <[email protected]>
 
         [Chromium] Adjust the displayed elements of the new Chrome media controls.

Modified: trunk/Source/WebCore/platform/chromium/support/GraphicsContext3DPrivate.cpp (121043 => 121044)


--- trunk/Source/WebCore/platform/chromium/support/GraphicsContext3DPrivate.cpp	2012-06-22 18:25:08 UTC (rev 121043)
+++ trunk/Source/WebCore/platform/chromium/support/GraphicsContext3DPrivate.cpp	2012-06-22 18:32:00 UTC (rev 121044)
@@ -44,7 +44,7 @@
 namespace {
 
 // The limit of the number of textures we hold in the GrContext's bitmap->texture cache.
-const int maxGaneshTextureCacheCount = 512;
+const int maxGaneshTextureCacheCount = 2048;
 // The limit of the bytes allocated toward textures in the GrContext's bitmap->texture cache.
 const size_t maxGaneshTextureCacheBytes = 96 * 1024 * 1024;
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to