> On Wed, Apr 11, 2012 at 5:07 AM, Samuel Rødal <[email protected]>
> wrote:
>> On 04/11/2012 10:21 AM, ext [email protected] 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
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
I have tried to use dummy wl_egl_window and achieved this goal.
Thanks.

Yan Wang
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to