Ekstrand
wrote:
> On Sat, Mar 28, 2015 at 6:57 AM, x414e54 wrote:
>
> > I was originally blitting the texture to the default framebuffer and then
> > trying to use eglSwapBuffers. But for some reason eglSwapBuffers was
> > returning EGL_BAD_SURFACE even though eglMakeCurrent ha
I am attempting to pass a GL_TEXTURE_2D directly to a Wayland compositor by
first converting it so an EGLImageKHR and then to a wl_buffer.
eglCreateImageKHR appears to work fine but when calling
glCreateWaylandBufferFromImageWL I get EGL_BAD_MATCH "unsupported image
format".
The GL_TEXTURE_2D is