[PATCH] xwayland: Use drm buffers for cursors if available

Daniel Stone daniel at fooishbar.org
Wed Feb 10 17:16:43 UTC 2016


On 10 February 2016 at 17:08, Kristian Høgsberg <krh at bitplanet.net> wrote:
> On Wed, Feb 10, 2016 at 7:39 AM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
>> On 5 February 2016 at 08:42, Pekka Paalanen <ppaalanen at gmail.com> wrote:
>>
>>> umm, do we really want to add even more uses of the Mesa-private wl_drm
>>> protocol outside of Mesa? Though it seems that ship sailed a long time
>>> ago.
>>>
>>> Should we just bite the bullet, and have Mesa install drm.xml for
>>> public consumption? Or move drm.xml to wayland-protocols.git?
>>>
>>> I thought all that was a Bad Idea(tm).
>>>
>> If we consider that distributing the protocol for public consumption
>> is OK, please use wayland-protocols.git. Keeping it in mesa will lead
>> to nasty circular dependencies.
>
> I think we should. It's pretty much the equivalent of dri2proto and
> it's useful for projects such as libva as well.

Why not a stabliised zlinux_dmabuf instead? The only thing I can
really say against it is that it lacks FB modifier support, but, well,
so does wl_drm (and gbm, which means you can't extract multi-plane
buffers to overlays, or particularly sensibly to
non-TEXTURE_EXTERNAL_OES GL ...).

Cheers,
Daniel


More information about the xorg-devel mailing list