[Webkit-unassigned] [Bug 272958] [WPE] Qt View is tied to fdo backend

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 17 07:11:04 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=272958

--- Comment #2 from Alfred E. Neumayer <dev.beidl at gmail.com> ---
Thanks for the link, I will take a look in a short moment.

To answer your question: libhybris is doing the low-level Android way of passing buffer references around, using more than one fd and some ints, ie buffers that have been allocated by Android's gralloc. That means that DMA-Buf behavior cannot be mimicked easily as that one only needs one fd and done.

For example, for Wayland compositors and clients to work together they follow this additional protocol:

https://github.com/libhybris/libhybris/blob/9dea23ce225eb03e2c2f9091ea1cde0b33c6098c/hybris/platforms/common/wayland-android.xml

A libhybris meta-EGL library wraps the Android libEGL and stuffs its own Wayland listener in between, so that Android buffers are passed without requiring apps to be modified. After all in the end hybris EGL extensions can turn those into EGLImages for use on the client-side as already done in the QML Item in question.

I was also wondering about performance issues with WPEWebKit at the moment, but have not received an answer on that topic in the mailing list from April 2024. Should I open another bug report or should we discuss there still?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240517/8f0149ca/attachment.htm>


More information about the webkit-unassigned mailing list