bo flags isn't passed through wayland-drm protocl, how weston respect these flags?
HalleyZhao
halleyzhao at sina.com
Tue Aug 6 01:03:51 UTC 2019
Hi experts:when we create buffer object at wayland client side, there are some usage flags, for example gbm_bo_flags.but when we pass these buffer fd to weston through wayland-drm protocl, these flags are ignored.then, how weston respect these flags when using the buffer object?thanks.
<!-- Create a wayland buffer for the prime fd. Use for regular and planar buffers. Pass 0 for offset and stride for unused planes. --> <request name="create_prime_buffer" since="2"> <arg name="id" type="new_id" interface="wl_buffer"/> <arg name="name" type="fd"/> <arg name="width" type="int"/> <arg name="height" type="int"/> <arg name="format" type="uint"/> <arg name="offset0" type="int"/> <arg name="stride0" type="int"/> <arg name="offset1" type="int"/> <arg name="stride1" type="int"/> <arg name="offset2" type="int"/> <arg name="stride2" type="int"/> </request>
--------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20190806/8c4a46fe/attachment.html>
More information about the wayland-devel
mailing list