On Jan 4, 2010, at 9:56 PM, Alex Harrington wrote:

>> From what you're writing, I really think you should look at loading
>> the bitmap in a secondary thread.
>
> Hi again Uli
>
> The fix I put in the other day has improved things somewhat but it  
> seems hasn't solved things completely.
>
> I'm now trying what you suggested - loading and setting the bitmap  
> from another thread and I'm afraid I get a Segmentation Fault every  
> time I try and set the bitmap on the image node from another  
> thread....


That's a misunderstanding - loading a bitmap in another thread is ok,  
calling image.setBitmap() in another thread won't work. The problem is  
that this changes the scene while it's being rendered.

How bad is the delay now? Maybe resizing the image before it's added  
to the scene is the only possibility.

Cheers,

   Uli

--
Any technology distinguishable from magic is insufficiently advanced.

Ulrich von Zadow | +49-172-7872715
Jabber: [email protected]
Skype: uzadow




_______________________________________________
libavg-users mailing list
[email protected]
https://mail.datenhain.de/mailman/listinfo/libavg-users

Reply via email to