[webkit-reviews] review requested: [Bug 85108] [chromium] Contents flash when switching to a tab with all discarded textures : [Attachment 142789] Patch
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri May 18 14:46:11 PDT 2012
Dana Jansens <danakj at chromium.org> has asked for review:
Bug 85108: [chromium] Contents flash when switching to a tab with all discarded
textures
https://bugs.webkit.org/show_bug.cgi?id=85108
Attachment 142789: Patch
https://bugs.webkit.org/attachment.cgi?id=142789&action=review
------- Additional Comments from Dana Jansens <danakj at chromium.org>
Er, the default memory allocation is meant for display.
--- a/Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHost.cpp
+++ b/Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHost.cpp
@@ -148,6 +148,7 @@ void CCLayerTreeHost::initializeLayerRenderer()
m_contentsTextureManager =
TextureManager::create(TextureManager::highLimitBytes(deviceViewportSize()),
TextureManager::reclaimLimitBytes(deviceViewportSize()),
m_proxy->layerRendererCapabilities().maxTextureSize);
+ m_currentMemoryAllocationIsForDisplay = true;
m_layerRendererInitialized = true;
More information about the webkit-reviews
mailing list