Date: Mon, 17 Sep 2012 18:15:39 -0700 (PDT) From: Adam Griffiths To: pyglet-users@googlegroups.com Message-Id: <191d5f68-2e59-4699-814b-65d8bf3d32b9@googlegroups.com> In-Reply-To: <87e522de-1235-4b3a-b6c4-7f4e4d50ce41@googlegroups.com> References: <745b6fdd-84ea-4728-8def-86522a6f19bc@v18g2000yqj.googlegroups.com> <2612407.5176.1315394277028.JavaMail.geo-discussion-forums@yqcd38> <25d45f32-d5c4-4132-9eb1-a6e770be3f0a@l2g2000vbn.googlegroups.com> <60edfead-e64f-4919-8732-8abe4c80409c@googlegroups.com> <87e522de-1235-4b3a-b6c4-7f4e4d50ce41@googlegroups.com> Subject: Re: Pyglet, OpenGL 3.2 on OS X Lion MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2521_15931798.1347930939246" ------=_Part_2521_15931798.1347930939246 Content-Type: multipart/alternative; boundary="----=_Part_2522_1370154.1347930939246" ------=_Part_2522_1370154.1347930939246 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Thanks for the info. I don't expect it to be integrated. I don't have a good understanding of either, but it seems the shadow window needs to be dealt with properly somehow. This is a good start for the Core 3.2 support though. Cheers, Adam On Tuesday, September 18, 2012 6:32:53 AM UTC+10, T.J. Jankun-Kelly wrote: > > AFAIK, the patch was never officially integrated (though there looks to be > activity now). I hacked together something that worked for me at the time a > year ago so I could teach my class; I cannot profess a deep understanding > of the OS or pyglet internals (thus the note that someone more experienced > in either could fix the issues I could not). > > TJK > > On Sunday, September 16, 2012 12:20:22 PM UTC-5, Adam Griffiths wrote: >> >> Any further progress on this? >> I integrated your patch into my Pyglet tree and I get a segfault when >> running the 3.2 test harness. >> I'm using Mountain Lion. >> >> I did notice a few changes to the cocoa.py file since your patch, but >> they look harmless. >> >> Cheers, >> Adam >> >> On Monday, September 12, 2011 7:32:16 AM UTC+10, T.J. Jankun-Kelly wrote: >>> >>> I banged on this during the weekend and have it mostly working with >>> one issue: I have to disable the shadow window to get it to work. The >>> shadow window creates a default context (with a Legacy Profile); when >>> a Core Profile is created afterwards, OS X complains that it is an >>> invalid share as they are different profiles (http:// >>> developer.apple.com/library/mac/#documentation/GraphicsImaging/ >>> Conceptual/OpenGL-MacProgGuide/opengl_contexts/opengl_contexts.html#// >>> apple_ref/doc/uid/TP40001987-CH216-SW12). >>> To fix this globally would >>> require doing something like adding a "shadow profile" option that >>> would be used by the shadow window. >>> >>> I created an issue here to follow this patch: >>> >>> http://code.google.com/p/pyglet/issues/detail?id=532&colspec=ID%20Status%20Type%20Milestone%20OpSys%20Summary >> >> ------=_Part_2522_1370154.1347930939246 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Thanks for the info.
I don't expect it to be integrated. I don't have a= good understanding of either, but it seems the shadow window needs to be d= ealt with properly somehow.
This is a good start for the Core 3.2= support though.

Cheers,
Adam

On = Tuesday, September 18, 2012 6:32:53 AM UTC+10, T.J. Jankun-Kelly wrote:AFAIK, the patch was never officia= lly integrated (though there looks to be activity now). I hacked together s= omething that worked for me at the time a year ago so I could teach my clas= s; I cannot profess a deep understanding of the OS or pyglet internals (thu= s the note that someone more experienced in either could fix the issues I c= ould not).

TJK

On Sunday, September 16, 2012 12:2= 0:22 PM UTC-5, Adam Griffiths wrote:
Any further progress on this?
I integrated your patch into my Pyglet t= ree and I get a segfault when running the 3.2 test harness.
I'm u= sing Mountain Lion.

I did notice a few changes to = the cocoa.py file since your patch, but they look harmless.

<= /div>
Cheers,
Adam

On Monday, September 12, 2011 7:32:= 16 AM UTC+10, T.J. Jankun-Kelly wrote:
I banged on this during the weekend and have it mostly working with
one issue: I have to disable the shadow window to get it to work. The
shadow window creates a default context (with a Legacy Profile); when
a Core Profile is created afterwards, OS X complains that it is an
invalid share as they are different profiles (http://
developer= .apple.com/library/mac/#documentation/GraphicsImaging/
Conceptual/OpenGL-MacProgGuide/opengl_contexts/opengl_context= s.html#//
apple_ref/doc/uid/TP40001987-CH216-SW12
). To fix this globally= would
require  doing something like adding a "shadow profile" option tha= t
would be used by the shadow window.

I created an issue here to follow this patch:
http://code.google.com/p/pyglet/issues/detail?id=3D532&cols= pec=3DID%20Status%20Type%20Milestone%20OpSys%20Summary
------=_Part_2522_1370154.1347930939246-- ------=_Part_2521_15931798.1347930939246--