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 <twiz@chromium.org> on 2012-01-27
Reviewed by Stephen White.
* src/GraphicsContext3DChromium.cpp:
(WebCore::GraphicsContext3DPrivate::grContext):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106164
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-01-27 Jeff Timanus <twiz@chromium.org>
+
+ [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 <enne@google.com>
[chromium] Don't ever skip drawing the non-composited content layer
// 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());