OSDN Git Service

minigbm: Use the stride value returned by mapImage
[android-x86/external-minigbm.git] / helpers.h
index b292baf..4c649c2 100644 (file)
--- a/helpers.h
+++ b/helpers.h
 #include "drv.h"
 #include "helpers_array.h"
 
-uint32_t drv_width_from_format(uint32_t format, uint32_t width, size_t plane);
 uint32_t drv_height_from_format(uint32_t format, uint32_t height, size_t plane);
 uint32_t drv_size_from_format(uint32_t format, uint32_t stride, uint32_t height, size_t plane);
 int drv_bo_from_format(struct bo *bo, uint32_t stride, uint32_t aligned_height, uint32_t format);
-uint32_t drv_bytes_per_pixel_from_format(uint32_t format, size_t plane);
 int drv_dumb_bo_create(struct bo *bo, uint32_t width, uint32_t height, uint32_t format,
                       uint64_t use_flags);
 int drv_dumb_bo_destroy(struct bo *bo);