i have been doing an autorelease pool inside my dispatch blocks. can not say i
have dispatched qc renders but have been able to dispatch cmbufferref's to gl
textures via avplayer on iOS. dev docs say that you need to run dispatch's on a
different thread than your ui in order to keep the player running while doing
ui stuff and everything seems to work.
[asset loadValuesAsynchronouslyForKeys:[NSArray arrayWithObject:@"tracks"]
completionHandler:
^{
dispatch_async(a_Queue,
^{
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
//call methods and make instances here
[pool drain];
});
}];
On May 17, 2011, at 2:14 PM, vade wrote:
> http://developer.apple.com/library/mac/#qa/qa1538/_index.html
_______________________________________________
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]