Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.0
-
None
Description
If you create a pixmap and paint into it, the paint engine created to do the painting seems to remain for the life of the pixmap. If you create quite a lot of small pixmaps (like QML) and keep them unchanged for the duration of the application there is a large, unnecessary memory waste.
This also affects QX11PaintEngine and presumably others.
The attachments show a massif run which creates 200 small pixmaps. The paint engines are not released unless the pixmaps are destroyed, so that while there is an expected 2MB of storage used for the pixmaps, an additional 4MB is taken by unused engine paraphernalia.
Attachments
Issue Links
- resulted in
-
QTBUG-10471 Sufficiently complicated polygons will make rasterizer fail
- Closed