Can I use pre-"profiles" OpenGL versions on Macs? - macos

I want to use a deprecated GL function - glPushAttrib. Ideally, I'd do that by using the Compatibility profile of a recent GL version, but Macs don't support that. So I'm happy to settle for using an old GL version, from before GL profiles existed. My question, though, is: does Mac support that?
Note: Don't tell me that I shouldn't use glPushAttrib unless you're able to link to a good library that replaces it. I don't want to write my own, and using a full-blown engine would be much more trouble than it's worth for my usecase ;)

I found the answer in the OpenGL wiki:
MacOSX gives you a choice: core profile for versions 3.2 or higher, or just version 2.1

Related

Where to find GLSLEditorSample (GLSL IDE)?

Currently I'm doing some GLSL-stuff and to my surprise I cannot find a reasonable IDE for this (MacOS). Nothing to fancy, but just a way to change the code and see the results. I know of the Shadertoy-website, but I'm more interested in an offline solution.
So I came across the built-in OpenGL Shader Builder. According to Wikipedia, this is deprecated and superseded by GLSLEditorSample, which should still be available as an example project for XCode (of which I have version 7.3.1 installed). However, I basically cannot find anything about this, online nor on my computer. Therefor my question: Is this still relevant? If so, where is it located?
PS: if you know of any other GLSL IDEs, I'm open to that as well
Here they explain how to setup OpenGL on a MacOS on Xcode:
https://www.youtube.com/watch?v=Tz0dq2krCW8&list=PLRtjMdoYXLf6zUMDJVRZYV-6g6n62vet8

How to update OpenGL on Windows Server 2016?

I think the title says everything but just to make sure:
I try to update OpenGL on my Windows Server 2016 (V-Server).
Current version is 1.1 and I need > 3.0.
Thanks
Current OpenGL-Viewer output
Full view]2
Mesa3D provides a CPU implementation of OpenGL. The most recent version (17.1.5) supports OpenGL up to version 4.5, but I can't quickly find any information whether that also holds for the CPU implementation. The FAQ (last update 2012...) does mention supporting OpenGL 3.x presumably also in the CPU implementation, so in any case it should be sufficient for your needs.

Connecting SDl 1.25 to Xcode 6.1

I just freshly installed Xcode 6.1 and SDL 1.25. I am trying to link them and get a simple template going so I can finally get this underway.
I have searched far and wide through the internet to find this but there doesn't seem to be any tutorials with correct information on how to set up an SDL_Template and linking the directory correctly.
I would highly recommend you use SDL 2.0 rather than SDL 1.2 but if you really must use 1.2 Lazy Foo's tutorial will still work even though it was done in Xcode 4.4
http://lazyfoo.net/SDL_tutorials/lesson01/mac/xcode/index.php
If you want to use SDL 2.0 then this tutorial shows the setup for it and also comes with a handy template pre-made
http://zamma.co.uk/setup-sdl2-in-xcode-osx/

OSX and OpenGL 4.x compatibility

I'm working on a portable application that should run on OSX-Lion as well.
From what I read here OpenGL/GLSL support seems to be 3.2/150 can someone confirm this?
My application requires at least GLSL ver 400. Is there a way to have it running on Lion? Some cards (i.e. ATI HD6770) are OpenGL 4.1 compliant. Does it mean it can go only as far as 3.2/150 under OSX?
confirmed by alternate source, osx opengl 4.x support is still TBA

Update OpenGL libraries on windows

I'm using a 3rd party DLL which uses OpenGL. Right now that 3rd party does not work correctly as the display does not refresh correctly. I came to suspect that the OpenGL library isn't correctly installed or may be outdated.
Is there a way to update the OpenGL library on windows? Is there like an official site which will hold the correct opengl.dll file or something like that?
I believe the OpenGL libraries are just part of the drivers that ship with your graphics card. Upgrading your graphics drivers should upgrade your OpenGL stuff to the latest your card supports.
OpenGL should be up to date on Windows.
However, if you are getting display/refresh problems, and they're only occuring on windows, this is most likely an issue with your graphics driver.
Try updating to your latest OpenGL graphics driver. This fixes many OpenGL issues on Windows.
opengl.dll is part of your display card driver. Windows comes with a default opengl.dll that offers very little acceleration. Re installing the graphics card driver or upgrading to the latest version should take care of your problem.
OpenGL is implemented in the graphics driver. If you want to use the latest OpenGL version as a developer you download and use GLEW (http://glew.sourceforge.net/) as a normal library. This will give you access to cross platform OpenGL 4.1 or whatever version your card supports.

Resources