<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">GL_RGBA should corresponds to ABGR8888.<br>
<br>
Try GL_BGRA, which is
<meta http-equiv="content-type" content="text/html; charset=utf-8">
ARGB8888.<br>
<br>
Note: Actually it is possible intel vs gallium drivers GL_RGBA and
GL_BGRA have different argb ordering. So perhaps try both so that
all drivers are happy.<br>
<br>
Le 28/03/2015 14:57, x414e54 a écrit :<br>
</div>
<blockquote
cite="mid:CABrZ_7zurasT0DAy_+fm-iL6rsmeGncSFV37MsDX70be2AFB+Q@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>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.</div>
<div><br>
</div>
<div>eglCreateImageKHR appears to work fine but when calling
glCreateWaylandBufferFromImageWL I get EGL_BAD_MATCH
"unsupported image format". </div>
<div><br>
</div>
<div>The GL_TEXTURE_2D is in GL_RGBA format.</div>
<div><br>
</div>
<div>Is this going to be possible or should I look for an
alternative way?</div>
<div><br>
</div>
<div><br>
</div>
<div>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.</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
mesa-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>