gbm: manage only the required set of DRI extensions
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 11 May 2017 15:46:51 +0000 (16:46 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 29 May 2017 15:50:12 +0000 (16:50 +0100)
commit46cc022d5d392802e60415cc2d0da3969c8d6981
tree4172c7940815f518002c9fec493bc340f6b23fa7
parent90d0ad14ca900aeedf1ae9bbff32266067a33b6e
gbm: manage only the required set of DRI extensions

Currently GBM attempts to know all the extensions that might be required
by EGL/DRM [at some later stage].

That is a bit unclear and we often forget to update GBM as EGL gets
attention.

To avoid that, simply let EGL manage it's own required extensions based
on the base primitive (screen) we provide it.

v2: Rework the approach - GBM should not dive into EGL/DRM.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Tested-by: Rob Herring <robh@kernel.org>
src/gbm/backends/dri/gbm_dri.c
src/gbm/backends/dri/gbm_driint.h