diff options
author | Kristian Høgsberg <[email protected]> | 2014-03-28 00:33:54 -0700 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2014-04-01 12:27:13 -0700 |
commit | f54f5891be24eea2af2d1c9864a3f74c1e7648fc (patch) | |
tree | ce4d2e4b2f463f51a6f96265f6018c15a34b2234 /src/gbm/main/gbm.h | |
parent | 7c379ebe173b43e6ee76bc37a122aa4642bdf43e (diff) |
gbm: Add gbm_bo_get_fd()
Add gbm function to get a DMA-BUF file descriptor for a gbm bo.
Signed-off-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'src/gbm/main/gbm.h')
-rw-r--r-- | src/gbm/main/gbm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gbm/main/gbm.h b/src/gbm/main/gbm.h index 9d2a0308766..9e0c7705ea8 100644 --- a/src/gbm/main/gbm.h +++ b/src/gbm/main/gbm.h @@ -256,6 +256,9 @@ union gbm_bo_handle gbm_bo_get_handle(struct gbm_bo *bo); int +gbm_bo_get_fd(struct gbm_bo *bo); + +int gbm_bo_write(struct gbm_bo *bo, const void *buf, size_t count); void |