Re: My program causes MacBook Pro to use NVidia graphics processor
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