eglCreatePbufferSurface isn't supported in Mesa for Wayland
krh at bitplanet.net
Wed Apr 11 05:23:25 PDT 2012
On Wed, Apr 11, 2012 at 5:07 AM, Samuel Rødal <samuel.rodal at nokia.com> wrote:
> On 04/11/2012 10:21 AM, ext yan.wang at linux.intel.com wrote:
>> 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?
>> 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