gbm: add gbm_bo_get_bpp()
[mesa.git] / src / gbm / main / gbm.h
index 879f003f1b403a0ef552329c3cae4488ee6beb42..aed26a0162106b7794935717ae1df3efb740e4e9 100644 (file)
@@ -333,6 +333,9 @@ gbm_bo_get_stride_for_plane(struct gbm_bo *bo, int plane);
 uint32_t
 gbm_bo_get_format(struct gbm_bo *bo);
 
+uint32_t
+gbm_bo_get_bpp(struct gbm_bo *bo);
+
 uint32_t
 gbm_bo_get_offset(struct gbm_bo *bo, int plane);