Skip to content

Toga/Beeware and Vulkan #2168

Answered by freakboy3742
skiwan asked this question in Q&A
Oct 23, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Toga doesn't currently have any OpenGL support.

I've never used GLFW before; but based on a quick scan of the documentation, it seems at least plausible that you would be able to write a Toga widget that wraps a GLFW context. Toga doesn't do any window management or compositing on its own - it's a wrapper around whatever tools and libraries are provided by native platforms. If you're able to work out how to get a Cocoa/Winforms/GTK compatible "widget" out of GLFW (something you could add to a normal Cocoa NSView/Winforms Form, or GTK layout), wrapping that in a Toga layer should be reasonably straightforward.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@skiwan
Comment options

@mhsmith
Comment options

mhsmith Oct 23, 2023
Collaborator

Answer selected by skiwan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants