Mailing Lists: Apple Mailing Lists

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

CoreImage Accelerated or not How do I detect it?



I need to handle things differently in my apps if CoreImage is accelerated by the GPU or not. However I found no simple solution to get whether yes or not it is supported. How does the "System informations" app get it's CoreImage acceleration info?


Currently I have setlled with checking if GL_EXT_ARB_fragment_program is available. But that would be true for a FX5200 which is too slow and not used in reality. Of course I still allow the user to chose what method he wants to use for display but I'd like to set a proper default.



So so far I just do this: const GLubyte* strExt = glGetString (GL_EXTENSIONS); const GLubyte* extname = (GLubyte*) "GL_EXT_ARB_fragment_program"; pixelShadersSupported = (BOOL)gluCheckExtension(extname, strExt);


Anything better, safer?

.........................................................
Santiago (Jacques) Lema - link-u
http://www.link-u.com/
http://mobile.link-u.com/
http://jack.link-u.com/
http://www.chocoflop.com/
.........................................................


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

This email sent to email@hidden
References: 
 >Too Lazy Evaluation - Clearing a CIImageAccumulator with transparency (From: "Santiago (Jacques) Lema" <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.