Currently, the TextureManager estimates everything as being 4bpp. (See the FIXME in memoryUseBytes in TextureManager.cpp.) This should consider the format when calculating the size.
Created attachment 105851 [details] Patch
Comment on attachment 105851 [details] Patch Attachment 105851 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/9578161 New failing tests: http/tests/loading/empty-urls.html
Comment on attachment 105851 [details] Patch This looks good. I'm curious though, what textures that the texture manager deals with are not 4bpp ?
(In reply to comment #3) > (From update of attachment 105851 [details]) > This looks good. I'm curious though, what textures that the texture manager deals with are not 4bpp ? I recently changed VideoLayerChromium to reserve textures via the texture manager, and that can use luminance textures.
Comment on attachment 105851 [details] Patch R=me
Committed r94356: <http://trac.webkit.org/changeset/94356>