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

RenderContext: OpenGL #37

Open
almarklein opened this issue Nov 22, 2024 · 0 comments
Open

RenderContext: OpenGL #37

almarklein opened this issue Nov 22, 2024 · 0 comments

Comments

@almarklein
Copy link
Member

I'm pretty sure it's possible to obtain an OpenGL context from the windowId that the RenderCanvas provides for rendering to screen. With that, it would be possible to render to our canvases using OpenGL.

OpenGL is deprecated. It's unlikely that I will work on this myself. Just putting this idea out there, because there's plenty of OpenGL code around, so this would actually be useful. Not sure if a get_gl_context_from_window_id() could be part of rendercanvas. Maybe in utils?

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

No branches or pull requests

1 participant