gbm: Export a getter for per plane handles
[mesa.git] / src / gbm / main / gbmint.h
index c6a6701464a4aeb32ddd0d22512204aa8b3f4409..0ec531d09916fc4ad627b87da6b644dfd2ee0242 100644 (file)
@@ -77,6 +77,7 @@ struct gbm_device {
    int (*bo_write)(struct gbm_bo *bo, const void *buf, size_t data);
    int (*bo_get_fd)(struct gbm_bo *bo);
    int (*bo_get_planes)(struct gbm_bo *bo);
+   union gbm_bo_handle (*bo_get_handle)(struct gbm_bo *bo, int plane);
    void (*bo_destroy)(struct gbm_bo *bo);
 
    struct gbm_surface *(*surface_create)(struct gbm_device *gbm,