[webkit-qt] QImage vs QPixmap

Antti Koivisto koivisto at iki.fi
Thu Mar 4 04:36:22 PST 2010


On Thu, Mar 4, 2010 at 1:05 AM, Zack Rusin <zack at kde.org> wrote:
> 3) it's 2x memory usage vs qpixmap.

By 2x you mean the original bitmap + the texture cache in GL context?
The cache presumably has limited size and mostly contain textures for
images that have been displayed recently. Typically only a small
portion of all images on a web page are visible at a given time. The
real memory use should not be anywhere near 2x assuming the cache
works sensibly.


  antti


More information about the webkit-qt mailing list