linux-dmabuf: Move the attributes part of linux_dmabuf_buffer into its own struct
authorEmmanuel Gil Peyrot <emmanuel.peyrot@collabora.com>
Tue, 24 Nov 2015 19:28:24 +0000 (19:28 +0000)
committerDerek Foreman <derekf@osg.samsung.com>
Wed, 2 Dec 2015 22:50:15 +0000 (16:50 -0600)
commitc399692b8ea07938623b22918d1fe279cded18a1
tree4c98f9b37ae6e82dc1350ca39d85d8c6791efee9
parent6207b6af095dc8fa42abfab053fae216212d56bd
linux-dmabuf: Move the attributes part of linux_dmabuf_buffer into its own struct

This allows renderers to use that struct to create their own dmabufs,
in case they can’t import the one provided by the client directly but
know how to convert it into a format they can render.

Signed-off-by: Emmanuel Gil Peyrot <emmanuel.peyrot@collabora.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Differential Revision: https://phabricator.freedesktop.org/D332
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
src/compositor-drm.c
src/gl-renderer.c
src/linux-dmabuf.c
src/linux-dmabuf.h