Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenGL is deprecated on MacOS, add Metal implementation #7

Open
erkkah opened this issue Feb 6, 2020 · 6 comments
Open

OpenGL is deprecated on MacOS, add Metal implementation #7

erkkah opened this issue Feb 6, 2020 · 6 comments
Labels
enhancement New feature or request

Comments

@erkkah
Copy link
Owner

erkkah commented Feb 6, 2020

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 erkkah added the enhancement New feature or request label Feb 6, 2020
@erkkah
Copy link
Owner Author

erkkah commented Feb 19, 2020

Or maybe just make a plain coregraphics version..

@r-lyeh
Copy link
Contributor

r-lyeh commented Feb 19, 2020

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

@erkkah
Copy link
Owner Author

erkkah commented Feb 20, 2020

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

@BenStigsen
Copy link

BenStigsen commented May 4, 2022

Any thoughts on a Metal backend for TIGR now?

@erkkah
Copy link
Owner Author

erkkah commented May 9, 2022

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

@BenStigsen
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants