gallium/winsys/drm: introduce modifier field to winsys_handle
authorVarad Gautam <varad.gautam@collabora.com>
Tue, 30 May 2017 11:53:41 +0000 (17:23 +0530)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 9 Jun 2017 13:12:37 +0000 (14:12 +0100)
commit3f8513172ff65ce93a0f8a04c59afbe6b02d60d8
treed1891f98d3a88420d88a58c6796acadd73fd2f4d
parentcde963ec359c07182f8633863ec0ecc1ea9fe451
gallium/winsys/drm: introduce modifier field to winsys_handle

we use this to import resources with format modifiers, and to support
per-resource modifier queries.

Signed-off-by: Varad Gautam <varad.gautam@collabora.com>
Cc: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
src/gallium/include/state_tracker/drm_driver.h
src/gallium/state_trackers/dri/dri2.c