eglCreatePbufferSurface isn't supported in Mesa for Wayland
yan.wang at linux.intel.com
yan.wang at linux.intel.com
Fri Apr 13 00:43:45 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
>
I have tried to use dummy wl_egl_window and achieved this goal.
Thanks.
Yan Wang
More information about the wayland-devel
mailing list