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

Migrate to OpenGL Core Profile #864

Open
ghutchis opened this issue Apr 22, 2022 · 11 comments
Open

Migrate to OpenGL Core Profile #864

ghutchis opened this issue Apr 22, 2022 · 11 comments
Assignees

Comments

@ghutchis
Copy link
Member

It would be great to move to the OpenGL core profile. At the moment @cryos has started this .. I'm adding this issue to track.

@ghutchis
Copy link
Member Author

It seems like GLEW is no longer a great solution.

I'd be in favor of using gl3w in scripts/ generating our own gl3w.h and gl3w.c and be done with it.

@ghutchis
Copy link
Member Author

@ghutchis
Copy link
Member Author

This should also solve #567

@avo-bot
Copy link

avo-bot commented Apr 6, 2023

This issue has been mentioned on Avogadro Discussion. There might be relevant details there:

https://discuss.avogadro.cc/t/avogadro-2023-roadmap/4412/1

@perminder-17
Copy link
Contributor

Hi @ghutchis I understand the issue now. Do you have a specific version of OpenGL in mind for our migration? If we're considering implementing geometry shaders, we might need to update the OpenGL version. Could you clarify our exact plans regarding this? Also we need to keep make sure that changing to a "modern" version doesn't result in any issues for the users???

@ghutchis
Copy link
Member Author

ghutchis commented Mar 8, 2024

We had discussed at least OpenGL 3.2 core, but you can see that was ~2 years ago, so we might be able to set on OpenGL 4.0 core.

I think the main thing would be to check baseline support, but probably 4.0 / 4.1 is fine.

@ghutchis
Copy link
Member Author

ghutchis commented Mar 8, 2024

I'll mention that beyond 4.1 is problematic because Apple doesn't support more recent OpenGL on Mac. (Which is a shame, because compute shaders would be nice for some features.)

@perminder-17
Copy link
Contributor

I'll mention that beyond 4.1 is problematic because Apple doesn't support more recent OpenGL on Mac. (Which is a shame, because compute shaders would be nice for some features.)

Oh , I didn't know that. Thanks for quickly addressing my questions.

@matterhorn103
Copy link
Contributor

I'll mention that beyond 4.1 is problematic because Apple doesn't support more recent OpenGL on Mac. (Which is a shame, because compute shaders would be nice for some features.)

I know very little about graphics stacks and assume that moving to Vulkan, and VulkanVK on macOS, is not a trivial thing but rather a ridiculous amount of work?

@ghutchis
Copy link
Member Author

ghutchis commented Mar 8, 2024

I know very little about graphics stacks and assume that moving to Vulkan, and VulkanVK on macOS, is not a trivial thing but rather a ridiculous amount of work?

Yes. Vulkan is not something I'd want to pursue at this point. OpenGL 4.0 / 4.1 are well supported and likely to continue because of WebGL needs in browsers.

@avo-bot
Copy link

avo-bot commented May 10, 2024

This issue has been mentioned on Avogadro Discussion. There might be relevant details there:

https://discuss.avogadro.cc/t/feedback-requested-introducing-gsoc-24-plans-for-review-by-fellow-contributors/5429/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants