gbm: Export a get modifiers
[mesa.git] / src / gbm / main / gbmint.h
index d8c9f6e5d7eaea9d433ac939d3d6b7f5997d9c21..5ad85cc80fff21521907544fb6ec51cf1e964c1b 100644 (file)
@@ -82,6 +82,7 @@ struct gbm_device {
    union gbm_bo_handle (*bo_get_handle)(struct gbm_bo *bo, int plane);
    uint32_t (*bo_get_stride)(struct gbm_bo *bo, int plane);
    int64_t (*bo_get_offset)(struct gbm_bo *bo, int plane);
+   uint64_t (*bo_get_modifier)(struct gbm_bo *bo);
    void (*bo_destroy)(struct gbm_bo *bo);
 
    struct gbm_surface *(*surface_create)(struct gbm_device *gbm,