Good tip. Running Angry Birds in the background does all kinds of weird
stuff to my UI. E.g. Qt Components toolbars drawn transparently, content
scrolling over toolbar and statusbar... :/

I'll experiment some more.

Thanks!
Conny

On Wed, 2012-01-11 at 12:14 +0100, Harri Pasanen wrote:
> You can perhaps trigger the behaviour more easily by launching another 
> graphics using application and moving it into background.  Something 
> like Need for Speed seems to hog the graphics memory quite nicely, but 
> there must be smaller examples.
> 
> /Harri
> 
> On 01/11/2012 09:39 AM, Cornelius Hald wrote:
> > Hi Mark,
> >
> > thanks for the answer. I'm currently toggling visibility without any
> > effects. I'll try setting the source to "". Let's hope this helps. It's
> > difficult to say because those issues do not occur during every run but
> > more randomly.
> >
> > Thanks,
> > Conny
> >
> > On Tue, 2012-01-10 at 11:55 -0500, Mark Tucker wrote:
> >> Hello,
> >>
> >> I believe that setting the source to "" will cause the image and any
> >> memory it's using to be freed up - I've had to do something similar
> >> myself recently.
> >>
> >> Mark T
> >>
> >> -----Original Message-----
> >> From: qt-qml-bounces+mark.tucker=airborne.a...@qt.nokia.com
> >> [mailto:qt-qml-bounces+mark.tucker=airborne.a...@qt.nokia.com] On Behalf
> >> Of Cornelius Hald
> >> Sent: 10 January 2012 16:21
> >> To: qt-qml@qt.nokia.com
> >> Subject: [Qt-qml] Image item and Symbian gfx memory
> >>
> >> Hi,
> >>
> >> I sometimes have the problem that instead of images I get black or
> >> transparent rectangles on Symbian. I've been told that this happens
> >> whenever the Symbian (shared) graphics memory is full.
> >>
> >> My question is what is the best way to free graphics memory?
> >>
> >> E.g. if a list delegate or a page contain images but they are currently
> >> not visible (either because covered by another page or because being
> >> of-screen) do those images still take gfx memory? If yes how can I
> >> prevent this?
> >>
> >> - Set visible to false?
> >> - Set source to ""?
> >> - Trigger garbage collector?
> >> - Something else or combinations?
> >>
> >> As I can't find any documentation about that some input would be highly
> >> appreciated.
> >>
> >> Thanks!
> >> Conny
> >>
> >> _______________________________________________
> >> Qt-qml mailing list
> >> Qt-qml@qt.nokia.com
> >> http://lists.qt.nokia.com/mailman/listinfo/qt-qml
> >> _______________________________________________
> >> Qt-qml mailing list
> >> Qt-qml@qt.nokia.com
> >> http://lists.qt.nokia.com/mailman/listinfo/qt-qml
> >
> > _______________________________________________
> > Qt-qml mailing list
> > Qt-qml@qt.nokia.com
> > http://lists.qt.nokia.com/mailman/listinfo/qt-qml
> 
> _______________________________________________
> Qt-qml mailing list
> Qt-qml@qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-qml


_______________________________________________
Qt-qml mailing list
Qt-qml@qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to