[Webkit-unassigned] [Bug 75632] New: [Chromium] Avoid unnecessary TextureManager::reduceMemoryToLimit()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jan 5 10:49:08 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=75632
Summary: [Chromium] Avoid unnecessary
TextureManager::reduceMemoryToLimit()
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: wangxianzhu at chromium.org
CC: jamesr at chromium.org, nduca at chromium.org
Blocks: 72078
(Split from bug 72078)
Unnecessary TextureManager::reduceMemoryToLimit() will cause some tile textures that are required soon to be unnecessarily removed/replaced, when required texture memory is higher than the reclaim limit but lower than the absolute limit. This will and degrade performance, sometimes significantly.
For example, CCLayerTreeHost::setViewport will be called during scrolling. The original code would call TextureManager::reduceMemoryToLimit(), causing some textures unnecessarily discarded and then recreated repeatedly during scrolling.
It's also unnecessary to call TextureManager::reduceMemoryToLimit() from TextureManager::setPreferredMemoryLimitBytes() because the limit is not a hard limit. The callers should call reduceMemoryToLimit() explicitly if it wants it when setting the preferred memory limit.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list