eglCreatePbufferSurface isn't supported in Mesa for Wayland

Kristian Høgsberg krh at
Wed Apr 11 05:23:25 PDT 2012

On Wed, Apr 11, 2012 at 5:07 AM, Samuel Rødal <samuel.rodal at> wrote:
> On 04/11/2012 10:21 AM, ext at wrote:
>> Hi,
>>   I found eglCreatePbufferSurface API isn't supported in Mesa for Wayland.
>> Will it be implemented in the future? Or should I use
>> eglCreatePixmapSurface instead of it?
>>   Thanks.
>> Yan Wang
> Maybe you can use surfaceless EGL with an FBO.
> When the KHR_surfaceless_gles2 extension is present you should be able
> to do eglMakeCurrent with only an EGLContext and no EGLSurface.

If you're using the wayland egl platform you can just create a dummy
wl_egl_window and then create an EGL window surface for that.


More information about the wayland-devel mailing list