Bug 96555

Summary: [chromium] Add clearing of evicted textures from texture upload queues
Product: WebKit Reporter: Christopher Cameron <ccameron>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: cc-bugs, danakj, enne, epenner, jamesr, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Christopher Cameron
Reported 2012-09-12 13:57:46 PDT
[chromium] Allow deletion of only some textures on the impl thread
Attachments
Patch (22.17 KB, patch)
2012-09-12 14:01 PDT, Christopher Cameron
no flags
Christopher Cameron
Comment 1 2012-09-12 14:01:18 PDT
Christopher Cameron
Comment 2 2012-09-12 14:05:12 PDT
This is the final part of bug 95057. The attached patch adds removal of uploads to evicted resources from the texture upload queue and related tests. Now you can, say, drop the texture budget of backgrounded tabs to 10MB by making the following adjustment: void CCThreadProxy::releaseContentsTexturesOnImplThread() { ASSERT(isImplThread()); m_layerTreeHost->reduceContentsTexturesMemoryOnImplThread( 10*1024*1024, m_layerTreeHostImpl->resourceProvider()); Deciding the exact policy (and what signals to send to what and when) will go into a different bug. For the moment, this just keeps the policy unchanged.
Christopher Cameron
Comment 3 2012-09-14 15:28:33 PDT
Closing this as WONTFIX because the files for the fix are now under Chromium and not WebKit.
Note You need to log in before you can comment on or make changes to this bug.