Mailing Lists: Apple Mailing Lists

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

Optimizing performance



Hi,
I made a QC plugin that changes its outputImage (@property(assign) id<QCPlugInOutputImageProvider> outputImage) port each frame.


This image is then used by Sprite patch as its input Image.

The whole composition is played by application that is basically the Quartz Composer Texture sample, except that it is capable of playing multiple compositions at once and uses Core Video Display Link.

The problem is, when playing more than 3 of these compositions with my custom plugin, the performance goes down and there is a frequent stutter.

This is from Instruments:

JPEG image




Apparently, 42.9% of the time is being spent in gleTextureImagePut function. I presume that the system isn't all too happy with changing multiple textures each frame or something...


How can I optimize this?

Thanks,
Miso
 _______________________________________________
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



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.