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

Add OpenGL support #51

Open
larsoner opened this issue Aug 5, 2015 · 2 comments
Open

Add OpenGL support #51

larsoner opened this issue Aug 5, 2015 · 2 comments
Labels
enhancement New features, or improvements to existing features.

Comments

@larsoner
Copy link

larsoner commented Aug 5, 2015

Is there any plan to support OpenGL contexts / widgets in toga? There is code for creating them for OSX/Linux/Windows in Pyglet, so there is some guideline available. Just curious to know if I should keep an eye on it, because if OpenGL contexts are available then it could be made to operate with / as a backend for vispy.

@freakboy3742
Copy link
Member

Eventually - sure. It's not a high priority for myself personally, but I know 3D visualizations can be very significant for others, and most platforms are now providing relatively simple canvases for OpenGL. So, if some widgets were to mysteriously appear in the pull request queue... :-)

Completely seriously, it's actually not as hard to write a Toga widget as you may think - if there's a good base widget with an obvious API to expose, writing the wrapper API is a relatively simple proposition. The code for the Button widget is a good place to start if you're interested in contributing.

@freakboy3742 freakboy3742 changed the title Q: OpenGL support Add OpenGL support Aug 5, 2015
@freakboy3742 freakboy3742 added enhancement New features, or improvements to existing features. up-for-grabs labels Mar 29, 2022
@jr-garcia
Copy link

Honestly, the lack of an OpenGL widget is what made me consider another toolkit.
But that toolkit's support for Android is very poor, so it's still a pending decision.
Probably grabbing some code from Kivy could speed up the development, since they already have a working cross platform implementation.

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

No branches or pull requests

3 participants