X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=helpers.h;h=4c649c2ceb1466e0f938304b15b13ca4791cb16d;hb=77b7055a1678b5c1d0d0e44d33cda12d86ca193a;hp=b292baf2dd9194cadeeda241cb81d0d3305aa1a2;hpb=478343f363191617619b0899c578fa45e1b637f8;p=android-x86%2Fexternal-minigbm.git diff --git a/helpers.h b/helpers.h index b292baf..4c649c2 100644 --- a/helpers.h +++ b/helpers.h @@ -10,11 +10,9 @@ #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);