![opengl 4.1 mac opengl 4.1 mac](https://i1.wp.com/lowendmac.com/wp-content/uploads/about-mac-os-9.png)
In order to go one step further, you use this ‘basic’ context to retrieve the OpenGL extensions, in fact the WGL/GLX extensions (on Windows/Linux, for Mac I have yet to understand precisely how it works) needed to set up advanced Pixel Formats and Profiles. It only gives the opportunity to (slightly) adjust the ‘basic’ pixel format use by ‘basic’ OpenGL contexts. Regarding OpenGLSurface.Configure, it wont suffice to set OpenGL Profiles. It is safe to assume OpenGL Core at least v3.3 is available on all Macbook available working on a product I plan to sell in a near future, all bindings to OpenGL will be include but I may release those bindings separately as well, for free.It is safe to assume OpenGL Legacy v2.1 is available on all Macbook available nowadays.With all these informations (and the charts, thanks again Michael) I can now summarize: It gives indeed all the correct versions, 2.1 for legacy and 4.1 Core on my MBPro. To have a better view of the different supported versions, there is GLView available free on the AppStore:
#Opengl 4.1 mac software#
Personaly I don’t rely on this module and I’ve re-creating bindings for all OpenGL this is the version of the Apple OpenGL software renderer. The Xojo OpenGL Module has its own functions binding, and while it is supposed to support even the most basic version it lacks from OpenGL.glGetString for instance, which is part of OpenGL v1.0. On Mac - from what I understand - you don’t need to ‘bind’ the functions, just use Declares but this is precisely what I’m working on as I’m experimenting OpenGL on Mac for the first time. to bind the OpenGL functions from/up to a specific version from this context (Windows/Linux).to create an OpenGL ‘Context’ on this surface with a specific ‘Profile’ (OpenGL version, Legacy/Core, Debug, …).to create a ‘surface’ with a specific ‘Pixel Format’ (color bits, acceleration, sRGB, multisampling, etc…).to first retrieve platform specific OpenGL utilities functions and possibly some extensions (WGL on Windows, GLX on Linux, CGL/Cocoa on Mac).The Xojo docs imply its OpenGL module implements v1.1 but I find calls in there for most of point sprites which are v1.5.Ĭhoosing an OpenGL version and a profile requires, in this order: This versioning is something that has always confused me.