aboutsummaryrefslogtreecommitdiffstats
path: root/src/gbm/main/gbm.c
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2014-03-28 10:17:11 -0700
committerKristian Høgsberg <[email protected]>2014-04-01 12:27:26 -0700
commita43d286ef7ff65087b1f051d071b829ca7b02073 (patch)
treeca66de52ed5d0f42d7473167aef75086682e7ea4 /src/gbm/main/gbm.c
parentf54f5891be24eea2af2d1c9864a3f74c1e7648fc (diff)
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 <[email protected]>
Diffstat (limited to 'src/gbm/main/gbm.c')
-rw-r--r--src/gbm/main/gbm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gbm/main/gbm.c b/src/gbm/main/gbm.c
index ad5208ca136..6179e5b830d 100644
--- a/src/gbm/main/gbm.c
+++ b/src/gbm/main/gbm.c
@@ -362,6 +362,7 @@ gbm_bo_create(struct gbm_device *gbm,
*
* GBM_BO_IMPORT_WL_BUFFER
* GBM_BO_IMPORT_EGL_IMAGE
+ * GBM_BO_IMPORT_FD
*
* The the gbm bo shares the underlying pixels but its life-time is
* independent of the foreign object.