[Mesa-dev] GL_TEXTURE_2D to wl_buffer
x414e54
x414e54 at linux.com
Sat Mar 28 06:57:47 PDT 2015
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 in GL_RGBA format.
Is this going to be possible or should I look for an alternative way?
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 had no errors.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150328/4812eed4/attachment.html>
More information about the mesa-dev
mailing list