Re: Staying on integrated GPU while using NSOpenGLView
Re: Staying on integrated GPU while using NSOpenGLView
- Subject: Re: Staying on integrated GPU while using NSOpenGLView
- From: Eric Wing <email@hidden>
- Date: Wed, 12 Jun 2013 10:15:49 -0700
On 6/11/13, Nick Zitzmann <email@hidden> wrote:
>
> No, you're not doing anything wrong. I was curious about this as well, and I
> noticed that, starting in 10.8.4, instantiating an IKImageBrowserView will
> not toggle the discrete GPU. So I tried to figure out what it was doing, and
> found it uses four pixel formats: NSOpenGLPFAAllowOfflineRenderers,
> NSOpenGLPFANoRecovery, NSOpenGLPFAAccelerated, and a mysterious pixel format
> identified as 1262.
>
> The first three of the above are standard pixel formats, but the 1262 format
> doesn't appear to be documented anywhere. I found out that adding the
> undocumented pixel format in addition to the three above apparently prevents
> the discrete switch-over from happening. Since it's undocumented, the usual
> disclaimers apply: use it at your own risk, it may break in the future, and
> all that.
>
> Nick Zitzmann
> <http://www.chronosnet.com/>
>
>
I'm curious, how did you examine which specific parameter values
IKImageBrowserView used?
Thanks,
Eric
--
Beginning iPhone Games Development
http://playcontrol.net/iphonegamebook/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden