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: QC texture management



how does QC handle it currently when it runs out of texture memory?

surely it shouldn't render errors or black it should just start swapping
textures in and out of ram and slow down?

QC lets OpenGL manage textures and swap them in & out VRAM as necessary

I've just curious as I've been building compositions that work fine on a
16MB graphics card full screen at 1152x768 (old powerbook) but I've been
pretty sparing with my textures.


If it will render errors or black at the moment then we really need
tools to test the total VRAM in use inside QC so we can manage it ourselves.

you can already: use OpenGL Info VRAM Amount output in combination with Rendering Destination Dimensions and you can detect if the composition if running at a big size with not a lot of VRAM.


(w * h * 4 * x) / (1024 * 1024) = some amount of VRAM in Mb

x = 4: minimum amount of VRAM so that the composition can actually attempt to render (that leaves no room for textures)
x = 6: I assume most compositions will run perfectly with that
x = 8: recommended



Note that if the OpenGL Info reports that Core Image is supported in HW, then you don't have to bother checking VRAM as such video cards have plenty of it.


________________________________________________________
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: 
 >QC texture management (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.