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: More ways of detecting graphics hardware?



We're using this method to determine if Quartz Extreme is supported, so we know whether to do certain kinds of animation:

CGDisplayUsesOpenGLAcceleration(kCGDirectMainDisplay)


However, this doesn't seem enough. There must be some other test that Quartz Composer is using, that produces this warning, for instancde on a machine with nVidia GeForce4 MX w/ 64 MB VRAM.


Unsupported Configuration -- Patches in bulleted categories benefit from hardware accelleration when the video card supports vertex and fragment shaders. Your card doesn't have this support, so you may want to avoid using patches in these categories.


Any hints on how to detect this, so I'll know whether to throttle back some of our Core Image / Quartz Composer effects?

You basically need to detect if Core Image is running in HW or SW. You can create a dummy composition with an OpenGL info patch and read its "Core Image Accelerated" output


________________________________________________________
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: 
 >More ways of detecting graphics hardware? (From: Dan Wood <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.