Home › Forums › PowerVR Insider Graphics › EGL window Handle error
This topic contains 0 replies, has 1 voice, and was last updated by aRc 6 years ago.
Well, I’m trying to draw over a gtk# window in Linux Embedded. The fact is that Egl/openglesv2 only starts if :
But in this case, the window opened is not over the GTK# window.
If the display for eglCreateContext or the windowhandle for eglCreateWindowSurface are obtained from gdk (X11), the execution of createContext and createWindowSurface always returns the errors about
EGL_BAD_DISPLAY or EGL_BAD_NATIVE_WINDOW (respectively)
So, How can I do to start the openglesv2 app over a gtk window?
Can I use the display or the window handle pointing to a different place than zero for initializing EGL (context and surface)??