tigr icon indicating copy to clipboard operation
tigr copied to clipboard

OpenGL is deprecated on MacOS, add Metal implementation

Open erkkah opened this issue 4 years ago • 6 comments

To make TIGR live alive on MacOS, a Metal implementation should be added and me made the default. The OpenGL version can be kept as a fallback.

erkkah avatar Feb 06 '20 19:02 erkkah

Or maybe just make a plain coregraphics version..

erkkah avatar Feb 19 '20 17:02 erkkah

Is it worth the effort? I removed DirectX from Win32 port just because it was not portable enough for other platforms. I'd rather stick to common rendering APIs.

Btw found this somewhere else:

#ifdef __APPLE__
#define GL_SILENCE_DEPRECATION
#include <OpenGL/gl.h>
#else
#include <GL/gl.h>
#endif

r-lyeh avatar Feb 19 '20 18:02 r-lyeh

It's not worth it now. We'll see what happens. I'll try the GL_SILENCE_DEPRECATION define for now.

erkkah avatar Feb 20 '20 19:02 erkkah

Any thoughts on a Metal backend for TIGR now?

benstigsen avatar May 04 '22 11:05 benstigsen

Hi @BenStigsen. I don't have the time, but PRs are always welcome.

erkkah avatar May 09 '22 05:05 erkkah

That is understandable. It's not critical in my case, but I will look into it in the future, but I cannot guarantee that anything will come of it.

benstigsen avatar May 09 '22 12:05 benstigsen