[Webkit-unassigned] [Bug 70623] Ensure CCLayerTreeHost actually frees textures when hidden

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 24 03:09:18 PDT 2011


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





--- Comment #5 from Iain Merrick <husky at google.com>  2011-10-24 03:09:18 PST ---
(In reply to comment #2)
> (From update of attachment 111988 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=111988&action=review
> 
> > Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHost.cpp:129
> > +        contentsTextureManager()->reduceMemoryToLimit(TextureManager::lowLimitBytes());
> 
> Out of curiosity, what is it that would cause more textures to be created after setVisible(false) is called.  Do we just need to make sure that no drawing action happens while we're not visible?

That's a good question. I just added some logging to TextureManager, and it wasn't releasing textures down to the 3MB limit as expected.

I'll investigate a bit further and add a test.

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