What's the fastest way to send a CGImage out a
QCPlugInOutputImageProvider?
Right now I'm using the technique used for the placeholder image in
the FastImage sample: allocate a buffer, create a bitmap context
around it, CGContextDrawImage into the context,
outputImageProviderFromBufferWithPixelFormat to create the provider.
This seems like the long way around, requiring an extra buffer and an
extra data move into it. It can be a fairly large image (e.g. 4
megapixels) and it can change frequently. And, yes, it shows up when
I profile my app.
I'm given the CGImageRef from an API I can't change. Is there a
faster way?
-Marc
_______________________________________________
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]