[Webkit-unassigned] [Bug 96555] [chromium] Allow deletion of only some textures on the impl thread

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 12 14:04:46 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=96555


Christopher Cameron <ccameron at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |danakj at chromium.org,
                   |                            |enne at google.com,
                   |                            |epenner at chromium.org,
                   |                            |jamesr at chromium.org




--- Comment #2 from Christopher Cameron <ccameron at chromium.org>  2012-09-12 14:05:12 PST ---
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.

-- 
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