bo flags isn't passed through wayland-drm protocl, how weston respect these flags?

Daniel Stone daniel at fooishbar.org
Fri Aug 9 10:32:30 UTC 2019


On Fri, 9 Aug 2019 at 10:47, HalleyZhao <halleyzhao at sina.com> wrote:
> some buffer attributes may influence how weston use it, for example: tiling mode, Swizzling, compression.
> weston may depend on these attribute to decide to assign the buffer to a hw plane or composite it as texture.

Yes. The open-source drivers (as you can see in the Mesa source code)
use dmabuf modifiers to express these attribute.

If the proprietary NXP driver is not using dmabuf modifiers, then it
needs to find another way to pass this information between processes.

These links may help you:
https://ppaalanen.blogspot.com/2012/03/what-does-egl-do-in-wayland-stack.html
https://ppaalanen.blogspot.com/2012/11/on-supporting-wayland-gl-clients-and.html


More information about the wayland-devel mailing list