Commit graph

12 commits

Author SHA1 Message Date
Chia-I Wu
fb9b2a8731 linux-dmabuf: clarify DRM_FORMAT_MOD_INVALID
DRM_FORMAT_MOD_INVALID means to derive the modifier from the dmabuf.
It provides legacy support and makes it easier to replace wl_drm.

v3: DRM_FORMAT_MOD_INVALID must be advertised to be supported (which
    requires a version bump)
v4: no version bump, but a note for now

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.com>
Reviewed-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Daniel Stone <daniels@collabora.com>
2019-05-02 12:30:32 +01:00
Daniel Stone
c438cbe7dc linux-dmabuf: Bump main protocol version
Unfortunately this hunk fell out during a rebase. Sorry!

Signed-off-by: Daniel Stone <daniels@collabora.com>
2017-05-20 16:12:23 +01:00
Varad Gautam
4ecdb097db linux-dmabuf: advertise format modifiers with modifier event
advertise the supported fourcc format modifiers along with supported
formats to the client. the 'modifier' event introduced here is
intended to replace the 'format' event from zwp_linux_dmabuf_v1
version 1.

bump zwp_linux_dmabuf_v1, zwp_linux_buffer_params_v1 interface
versions to 3.

v2: specify request name in event description for clarity (Yong Bakos)
v3: grammar fixup (Yong Bakos)
v4: add deprecation warning against 'format' event usage (pq)

Signed-off-by: Varad Gautam <varad.gautam@collabora.com>
Acked-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
2017-05-19 10:53:30 +01:00
Varad Gautam
a840b3634a linux-dmabuf: add immediate dmabuf import path
provide a mechanism that allows clients to import the added dmabufs
and immediately use the newly created wl_buffers without waiting on
an event. this is useful to clients that are sure of their import
request succeeding, and wish to avoid the wl_buffer communication
roundtrip.

bump zwp_linux_dmabuf_v1, zwp_linux_buffer_params_v1 interface
versions.

v2: specify using incorrectly imported dmabufs as undefined behavior
instead of sending success/failure events. (pq, daniels)
v3: preserve the optional protocol error added in v2 and explicitly
state the outcome of import success or failure (pq)
v4: clarify create_immed failure cases and error codes (pq)

Signed-off-by: Varad Gautam <varad.gautam@collabora.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Daniel Stone <daniels@collabora.com>
2017-05-19 10:53:22 +01:00
Yong Bakos
ab228a6721 linux-dmabuf-unstable: Use standard copyright notice
Signed-off-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
2017-01-27 11:58:50 +00:00
Varad Gautam
642dd7af50 linux-dmabuf: clarify format event description
clearly state the request name in format event to avoid abmiguous
interpretation between 'zwp_linux_buffer_params_v1::create' and
'zwp_linux_dmabuf_v1::create_params' requests.

v2: grammar fixup (Yong Bakos)

Signed-off-by: Varad Gautam <varad.gautam@collabora.com>
Suggested-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
2016-11-21 11:24:24 +00:00
Yong Bakos
59b6e208e0 (multiple): Remove inconsistent line breaks
Enum entries and message arguments are sometimes preceded by a blank line, but
often aren't.

Standardize the format of the protocol specification by removing blank lines
preceding a list of message arguments and enum entries.

Signed-off-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
2016-11-21 11:20:27 +00:00
Yong Bakos
c9a8cec816 linux-dmabuf: Add missing articles and punctuation, adjust minor whitespace
Remove line breaks preceding closing interface tags, to match conventions
in this, and other, protocol xml docs.

Signed-off-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
2016-04-13 12:35:13 -07:00
Jonas Ådahl
6cd28662aa linux-dmabuf: Change the zlinux_prefix to zwp_linux
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2015-11-09 15:04:24 +08:00
Jonas Ådahl
a776e94477 Apply the new version suffix convention to the protocols
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2015-11-09 15:04:24 +08:00
Jonas Ådahl
ab64cfa492 Add README files containing protocol maintainers
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2015-10-29 11:08:12 +08:00
Jonas Ådahl
0f3a723bc9 Migrate linux-dmabuf protocol
Version postfix added to interface names.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2015-10-21 11:28:59 +08:00