I find myself in a situation where i need to drive the output of two
QCRenderers (possibly each on rendered a different display) with
the image output of a singular QCRenderer.
I am aware of the tech-note stating that QCRenderer itself is not
thread safe , and usage on a CVDisplaylink / secondary thread
implies you will alloc/init it and clean it up from that one
thread , and never move or call it from a different thread. That
said, is it possible and ok to retain the output of QCRenderer
(valueForOutputKey: ofType:@"QCImage") and use it on a thread other
than the one it was calculated on?
I haven't tried this exact scenario before so I can't speak to
QCRenderer specifically, but I can say that passing a QCImage
reference from one thread to another should be safe, as I've done so
in the past. Just be sure you don't try to reference it from both
threads simultaneously, of course.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (Quartzcomposer-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com