• 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
Re: My program causes MacBook Pro to use NVidia graphics processor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: My program causes MacBook Pro to use NVidia graphics processor


  • Subject: Re: My program causes MacBook Pro to use NVidia graphics processor
  • From: "David M. Cotter" <email@hidden>
  • Date: Mon, 17 May 2010 16:30:14 -0700

http://codykrieger.com/gfxCardStatus/

On May 17, 2010, at 4:10 PM, Michael Diehr wrote:

> I'm in rather the opposite boat -- my app does NOT trigger the switch to NVIDIA, and my OpenGL calls fail (actually, it's more complicated that this as it's a screensaver and a helper app) but it sounds like if I simply link my bundle to one of the GL frameworks (even if I don't need it?) that will auto-trigger the NVIDIA usage?
>
> I don't suppose apple has provided an API for an app to explicitly ask for one or the other?   I see code here to detect and switch, but it looks like it's reverse-engineerd and that's always scary...
>
> http://github.com/codykrieger/gfxCardStatus
>
>
>
>
> On May 4, 2010, at 8:58 PM, Noah Desch wrote:
>
>>
>>
>> Well your list includes:
>>
>> /System/Library/Frameworks/OpenGL.framework/Resources//GLRendererFloat.bundle/GLRendererFloat
>> /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
>> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
>> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
>> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
>> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
>> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib
>> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
>> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
>>
>> So I'm guessing that would do it. As to why you'd be linking against these, I can't answer.
>>
>> -Noah

_______________________________________________

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

References: 
 >My program causes MacBook Pro to use NVidia graphics processor (From: Gideon King <email@hidden>)
 >Re: My program causes MacBook Pro to use NVidia graphics processor (From: Gideon King <email@hidden>)
 >Re: My program causes MacBook Pro to use NVidia graphics processor (From: Gideon King <email@hidden>)
 >Re: My program causes MacBook Pro to use NVidia graphics processor (From: Charles Srstka <email@hidden>)
 >Re: My program causes MacBook Pro to use NVidia graphics processor (From: Gideon King <email@hidden>)
 >Re: My program causes MacBook Pro to use NVidia graphics processor (From: Noah Desch <email@hidden>)
 >Re: My program causes MacBook Pro to use NVidia graphics processor (From: Michael Diehr <email@hidden>)

  • Prev by Date: Re: My program causes MacBook Pro to use NVidia graphics processor
  • Next by Date: Re: UI blocking
  • Previous by thread: Re: My program causes MacBook Pro to use NVidia graphics processor
  • Next by thread: Re: My program causes MacBook Pro to use NVidia graphics processor
  • Index(es):
    • Date
    • Thread