Codeux/Textual — pull request #311 by balr0g (2012-08-08 23:59:29+00:00)
Title: Fix graphics card query

I changed the GPU query code to use IOKit rather than OpenGL, since this is more accurate (lists all cards) and doesn't trip up GPU switching. I basically followed the information and example code at http://webcache.googleusercontent.com/search?q=cache:pPCE_VfrU-8J:www.starcoder.com/wordpress/2011/10/using-iokit-to-detect-graphics-hardware/+graphics+card+iokit&cd=1&hl=en&ct=clnk&gl=us / http://www.starcoder.com/wordpress/2011/10/using-iokit-to-detect-graphics-hardware/ to do this.