Re: [Development] QML pixmap caching

2012-07-24 Thread martin.jones
> -Original Message- > From: ext David Faure [mailto:david.fa...@kdab.com] > On Monday 23 July 2012 23:58:16 martin.jo...@nokia.com wrote: > > > So maybe this should be configurable? > > > > Perhaps. I'm wary of exposing details of the current implementation in > API. > > I'm not sure how

Re: [Development] QML pixmap caching

2012-07-24 Thread David Faure
On Monday 23 July 2012 23:58:16 martin.jo...@nokia.com wrote: > > So maybe this should be configurable? > > Perhaps. I'm wary of exposing details of the current implementation in API. I'm not sure how this is an implementation detail. It can be as high level as "cache size in MB". QPixmapCache

Re: [Development] QML pixmap caching

2012-07-23 Thread martin.jones
> -Original Message- > From: development-bounces+martin.jones=nokia@qt-project.org > [mailto:development-bounces+martin.jones=nokia@qt-project.org] > On Behalf Of ext David Faure > Sent: Tuesday, July 24, 2012 12:42 AM > To: development@qt-project.org > Subje

[Development] QML pixmap caching

2012-07-23 Thread David Faure
QDeclarativePixmapStore (called QQuickPixmapStore in Qt5, but it's the same code) seems to throw away cached pixmaps, every 30 seconds, even if the cache is far from full. This creates a performance issue when an image are being loaded during animations, and was supposed to be in cache already.