gbm: Export a plane getter function
[mesa.git] / src / gbm / main / gbmint.h
index cfef5eea291fb2261a4c67e532c15c73dada85e5..c6a6701464a4aeb32ddd0d22512204aa8b3f4409 100644 (file)
@@ -76,6 +76,7 @@ struct gbm_device {
    void (*bo_unmap)(struct gbm_bo *bo, void *map_data);
    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);
    void (*bo_destroy)(struct gbm_bo *bo);
 
    struct gbm_surface *(*surface_create)(struct gbm_device *gbm,