gbm: Add import from fd
authorKristian Høgsberg <krh@bitplanet.net>
Fri, 28 Mar 2014 17:17:11 +0000 (10:17 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 1 Apr 2014 19:27:26 +0000 (12:27 -0700)
commita43d286ef7ff65087b1f051d071b829ca7b02073
treeca66de52ed5d0f42d7473167aef75086682e7ea4
parentf54f5891be24eea2af2d1c9864a3f74c1e7648fc
gbm: Add import from fd

Add a new import type that lets us create a gbm bo from a
DMA-BUF file descriptor.

Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
src/gbm/backends/dri/gbm_dri.c
src/gbm/main/gbm.c
src/gbm/main/gbm.h