Hey Ken,

Capturing the display does not make a difference. Anyways, your guess about the 
GPU switching was spot on! If I disable it, the issue disappears. Is there any 
way to fix this in my code? I.e. an NSOpenGLPixelFormat flag that would take 
that into account?

Thanks!
Matthias

Am 21.05.2014 um 16:16 schrieb Ken Thomases <k...@codeweavers.com>:

> On May 21, 2014, at 5:45 PM, Matthias Dörfelt wrote:
> 
>> I just investigated this issue a little more. It only happens under one 
>> condition for me, which is that I created an NSOpenGLPixelFormat before the 
>> CGDisplay calls, i.e. this does not work as expected:
> 
>> while the same code without the creation of the NSOpenGLPixelFormat does. 
>> this is really really odd, is there any way to fix this? Bug?
> 
> Are you capturing the display before changing its mode?  Does it make a 
> difference if you do?
> 
> Does your Mac have dual GPUs that it automatically switches between?  If so, 
> does it make a difference if you force it to use the discrete GPU before 
> running your test?
> 
> Regards,
> Ken
> 
> 


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to