Review Request 109149: Increase size of QPixmapCache to prevent flickering and infinte redraw in PictureShape
Arjen Hiemstra
djfreestyler at gmail.com
Mon Feb 25 16:09:21 GMT 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/109149/
-----------------------------------------------------------
Review request for Calligra.
Description
-------
With larger images, the default size of QPixmapCache is too small to properly cache the results of the scaled image used by PictureShape. This causes flickering and infinite redraws when multiple images overlap due to one image being removed from the cache when another is added. This patch changes that to use a default size equal to 5 images of 2048 x 1024 x 32bpp. This potentially increases the memory usage of documents with lots of pictures but prevents the repainting and flickering issues.
Diffs
-----
plugins/pictureshape/Plugin.cpp 6e12b41
Diff: http://git.reviewboard.kde.org/r/109149/diff/
Testing
-------
Build and run. Tested the pictureshape and it no longer flickers when overlapping.
Thanks,
Arjen Hiemstra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20130225/5c443cde/attachment.htm>
More information about the calligra-devel
mailing list