Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: one QC comp, multiple outputs + qc controlling sliders



My frame rate drops from 60 fps to 11 fps when I have an published image displayed in an NSImageView window.

is this the overhead of converting from an OpenGL texture to an NSImage?

yes, the image needs to be downloaded from the video card to the CPU

anyway around this? I suppose any other way of displaying a published image output without conversion will involve actual OpenGL wrangling correct?

nope - only proper way to render a composition into multiple screens at once is to render it in an OpenGL pBuffer, then create a texture from that pBuffer, and draw it whereever you want - here's a starting point:
http://developer.apple.com/samplecode/QuartzComposerTexture/ QuartzComposerTexture.html



________________________________________________________ Pierre-Olivier Latour email@hidden Quartz Composer Architect Graphics & Imaging Team

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden
References: 
 >one QC comp, multiple outputs + qc controlling sliders (From: Roger Bolton <email@hidden>)
 >Re: one QC comp, multiple outputs + qc controlling sliders (From: Roger Bolton <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.