gbm: implement FD import with modifier
authorLucas Stach <l.stach@pengutronix.de>
Thu, 8 Jun 2017 18:56:17 +0000 (20:56 +0200)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 15 Jun 2017 09:43:36 +0000 (10:43 +0100)
commit4026744fcb31f1d27c1b32e6945aadd4da415c6d
treedd1c3c8d0703e766b30f2e9b80859799b5bd015e
parent71b78b6b0c8f42f09d4f9d3a0e72004bded4fbe8
gbm: implement FD import with modifier

This implements a way to import FDs with modifiers on plain GBM devices,
without the need to go through EGL. This is mostly to the benefit of
gbm_gralloc, which can keep its dependencies low.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Tested-by: Robert Foss <robert.foss@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
src/gbm/backends/dri/gbm_dri.c