eglCreatePbufferSurface isn't supported in Mesa for Wayland

yan.wang at linux.intel.com yan.wang at linux.intel.com
Wed Apr 11 19:19:58 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:
>>> 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.
>
> Kristian
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
  eglCreatePixmapSurface is implemented in Mesa, but available? I don't
see its usage in weston client demos. Or I could use SHM surface to
achieve this  goal?
  Thanks.

Yan Wang


More information about the wayland-devel mailing list