How am I supposed to use this in Linux? #350
Replies: 2 comments 10 replies
-
After much struggle, I've decided that the best solution is to continue using libepoxy. No initialization is needed; everything works magically, whether EGL or GLX. |
Beta Was this translation helpful? Give feedback.
-
Following your example, you like to use hardware-accelerated, but vendor-specific and platform-specific rendering APIs wrapped through OpenGL in your code. You mention GTK, which I try use to focus my answer, although it's general in nature. Context 1 - Context Management: Context 2 - Extension Handling: Problem: General Answer: Specific Answer: Best regards, |
Beta Was this translation helpful? Give feedback.
-
The documentation indicates I have to make the following call:
glbinding::Binding::initialize(glXGetProcAddress);
What if I use GTK? I cannot even be sure if GTK uses GLX or EGL. How do I get this function address from GTK? Also, I have to make this call after the context is created. Which is when in GTK?
If I don't use GTK, am I supposed to manually load some .so and call
dlsym
?Beta Was this translation helpful? Give feedback.
All reactions