On Apr 21, 2009, at 7:54 PM, vade wrote:
Are you making your QTVisualContext shared with the context that the QCPlugin provides? This ensures that the QTvisualContext and your CGLContext are shared, so textures/resources are able to move between contexts quickly.
I am not sure how to do this... Can you please give me a way to check thisI think the 2 OpenGL contexts are just the same, I don't create any new one in the Plugin. Otherwise how do I retrieve the plugin context in my app to have the two contexts shared?
As for the leak, you need to make sure you call QTVisualContextTask() to service quicktime, or you will see that leak.
I do ! Each time I render a frame.
Another issue I had with getting QTVisualContext to work well within my app was colorspace conversion. It looks like you are assuming ARGB or BGRA, when you may be getting other formats. You can add hints to your QTVisualContextCreate to add input/output and working color spaces, but thats a nuanced topic, and possible off topic for the QC list. I did see some improvement tuning those values.
Do you think that could lead to the dramatic performance drop I experience?
Best regards Fabrice Pipart www.easyshadow.com EasyMediaOnline Digital Signage Software AIM : fabricepipart Skype: fabrice.pipart Tel. (877)-ESIGN-4U ext 69 Int. +1-(877)-374-4648 Fax +1-(877) 298-5108
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com This email sent to [email protected]

