• 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: i5 & i7 auto graphics switching
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: i5 & i7 auto graphics switching


  • Subject: Re: i5 & i7 auto graphics switching
  • From: Trygve Inda <email@hidden>
  • Date: Mon, 13 Sep 2010 00:52:17 +0000
  • Thread-topic: i5 & i7 auto graphics switching

> On Sep 11, 2010, at 10:57 PM, Trygve Inda wrote:
>
>>> On Sep 11, 2010, at 10:52 AM, Trygve Inda wrote:
>>>
>>>> Is there a way to be notified when the graphic card is switched?
>>>
>>> NSApplicationDidChangeScreenParametersNotification
>>
>> When it is running on the slow card, the CGDirectDisplayID will be x, and on
>> the fast card it will be y. Is there anyway to derive x from y or y from x?
>>
>> I am trying to be able to uniquely identify screens even before/after a
>> processor switch.
>
> Perhaps the index in the display list (either of +[NSScreen screens] or
> CGGetActiveDisplayList())?  Alternatively, based on position?
>
> Regards,
> Ken

Position is actually a good idea.

Do you have an i7/i5 ?

On my pre-i7/i5 MBP 15, the two graphic cards differ by 2 on the
CGDirectDisplayID. One other developer also reported this on i7/i5 systems.

I know it is not great to rely on this, but does anyone have a case where is
differs by other than 2?

Trygve


_______________________________________________

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: 
 >Re: i5 & i7 auto graphics switching (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: what is best for a simple 3D animation
  • Next by Date: Re: web-based Cocoa dev docs inaccessible
  • Previous by thread: Re: i5 & i7 auto graphics switching
  • Next by thread: Re: i5 & i7 auto graphics switching
  • Index(es):
    • Date
    • Thread