dri: allow 16bit R/GR images to be exported via drm buffers
authorRainer Hochecker <fernetmenta@online.de>
Thu, 5 Jan 2017 15:58:56 +0000 (16:58 +0100)
committerBen Widawsky <ben@bwidawsk.net>
Mon, 23 Jan 2017 16:47:15 +0000 (08:47 -0800)
commit09b140abb532dede5de6b03b1cc3c03852c1c9e9
tree8c0aa7210fba34a1a3a07581364dd8ef54df6dd0
parent1338d912f52b69f76ef75d1ad313893db77d4da8
dri: allow 16bit R/GR images to be exported via drm buffers

This allows eglCreateImageKHR to access P010 surfaces created by vaapi

Signed-off-by: Rainer Hochecker <fernetmenta@online.de>
Acked-by: Ben Widawky <ben@bwidawsk.net>
include/GL/internal/dri_interface.h
src/egl/drivers/dri2/egl_dri2.c
src/mesa/drivers/dri/common/dri_util.c
src/mesa/drivers/dri/i965/intel_screen.c