Discussion:
OpenGL profiles on Mac OS X
Conrad Huang
2014-04-03 17:56:12 UTC
Permalink
Hi. Thanks for the great work on wxpython/Phoenix. I've worked mainly
with Tkinter up till now and am getting my feet wet with Phoenix. Our
application is a 3D molecular viewer and we use OpenGL for rendering
graphics. We ran into a little problem and hope I can contribute a source
patch.

Since 10.7, Mac OS X supports two OpenGL profiles: legacy and 3.2 Core (see
https://developer.apple.com/library/mac/documentation/graphicsimaging/conceptual/opengl-macprogguide/opengl_pixelformats/opengl_pixelformats.html
for details). Phoenix currently uses the default (legacy) profile and I
want to use the newer 3.2 Core profile. The attached patch adds an
additional option when creating an OpenGL context for selecting the desired
profile. Hope this helps someone.
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...