gbm: add gbm_bo_get_device() function
[mesa.git] / src / gbm / main / gbm.h
index 16489f36bba6c8261cf56013516ddba761bc7afc..cf3d4752c36486dc51b139da6b848eeba0a472f3 100644 (file)
@@ -242,6 +242,9 @@ gbm_bo_get_pitch(struct gbm_bo *bo);
 uint32_t
 gbm_bo_get_format(struct gbm_bo *bo);
 
+struct gbm_device *
+gbm_bo_get_device(struct gbm_bo *bo);
+
 union gbm_bo_handle
 gbm_bo_get_handle(struct gbm_bo *bo);