• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Staying on integrated GPU while using NSOpenGLView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Staying on integrated GPU while using NSOpenGLView


  • Subject: Staying on integrated GPU while using NSOpenGLView
  • From: Miguel Pontes <email@hidden>
  • Date: Tue, 11 Jun 2013 05:03:26 +0100

Hello,
I'm having issues getting an app to not trigger switching to the dedicated GPU when using NSOpenGLView.

I've added NSSupportsAutomaticGraphicsSwitching: YES to the Info.plist, but the dedicated GPU keeps getting triggered no matter what, just as soon as I call [self openGLContext] from inside the initWithFrame method (my view is a subclass of NSOpenGLView).

I've seen both https://developer.apple.com/library/mac/#qa/qa1734/_index.html and http://developer.apple.com/library/mac/#technotes/tn2229/_index.html, but I haven't been able to glean anything else that could help me from there.

Is there anything I'm doing wrong? I've read on this mailing list before (http://lists.apple.com/archives/cocoa-dev/2011/Mar/msg00795.html) that specifying certain pixel formats could cause the discrete GPU to be triggered, but I'n not even defining any pixel format when I'm initting the NSOpenGLView, just a simple [super initWithFrame:frameRect].

Building against the 10.7 SDK, for i386 arch only, in case that matters. Currently testing on 10.8 with a 15" Retina MBP (MacBookPro10,1, early 2013).

Thanks,
Miguel Pontes

_______________________________________________

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

  • Follow-Ups:
    • Re: Staying on integrated GPU while using NSOpenGLView
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: NSURLRequest returning bizarre page
  • Next by Date: Re: CALayer -displayLayer:inContext: never called during frame/bounds animation
  • Previous by thread: Re: NSURLRequest returning bizarre page
  • Next by thread: Re: Staying on integrated GPU while using NSOpenGLView
  • Index(es):
    • Date
    • Thread