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: caching and making structures questions



How smart is the quartz composer texture caching?

right now, it essentially relies on OpenGL doing the right thing :)

lets say I am rendering 24 billboards with a different image in each
one (but unchanging).  That seems to be using quite a lot of texture
ram and slowing my patch down.  if I render that layout inside
a "render in image" will it cache it as just one texture and free up
the rest of the texture mem until I change one of the images?

yes, that should help, as OpenGL will page out from VRAM the 24 textures if they're not used and some other textures are needed


second I'm trying to make structures to reduce spaghetti connecting
things.  I can only make a structure of booleans or strings using
javascript at the moment is that correct?

boolean, numbers, strings and arrays

any way to build a structure of images at moment?  javascripts can't
take an image input so I think not.

Only programmatically, by passing a NSArray of CVImageBuffer for instance



________________________________________________________ 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: 
 >caching and making structures questions (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.