That's correct. QC has internal buffer formats for each and knows how to 
convert internally in a bunch of ways (and will go thru intermediaries if 
necessary) but assuming the pixel format is the same it will all stay on the 
CPU until render time. 

Sent from my iPhone

On May 1, 2010, at 12:51 PM, vade <[email protected]> wrote:

> Hello
> 
> Fairly simple question about how Quartz Composer handles and output image 
> provider from a 3rd party plugin. If I provide and output image from a plugin 
> as a pixel buffer
> 
> ie: calling outputImageProviderFromBufferWithPixelFormat
> 
> and if in another plugin, mine, or someone else's, i request a pixel buffer
> 
> ie: calling lockBufferRepresentationWithPixelFormat:
> 
> Will QC optimize and not upload to the GPU, and then readback?, in other 
> words, will the memory 'stay' on the CPU? Does the texture uploading from the 
> output image happen just in time, once for the initial request of an input 
> image thats on the CPU, or will it happen regardless?
> 
> Thanks for any insight, just curious if pixel buffer to pixel buffer is 
> possible automatically. Thanks!
> 
> _______________________________________________
> 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/tkoelling%40apple.com
> 
> This email sent to [email protected]
 _______________________________________________
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]

Reply via email to