[Webkit-unassigned] [Bug 106842] adding support for DiscardablePixelRef for caching lazily decoded images

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 25 13:30:14 PST 2013


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





--- Comment #53 from Min Qin <qinmin at chromium.org>  2013-01-25 13:32:08 PST ---
(In reply to comment #52)
> (From update of attachment 184799 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=184799&action=review
> 
> > Source/WebKit/chromium/public/WebSettings.h:97
> > +    virtual void setDiscardableMemoryEntryLimit(int) = 0;
> > +    virtual void setDiscardableMemoryLimitMB(int) = 0;
> 
> Nat's right, you don't need this stuff

But we dont know how much memory we have allocated and how many files we have allocated, only the cache knows

If we put it in DiscardableMemory, then we need to introduce a static variable there to remember the allocated entries and total memory, is that what you guys want?

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