Lines Matching refs:gbm_bo
96 PUBLIC struct gbm_bo *gbm_surface_lock_front_buffer(struct gbm_surface *surface) in gbm_surface_lock_front_buffer()
101 PUBLIC void gbm_surface_release_buffer(struct gbm_surface *surface, struct gbm_bo *bo) in gbm_surface_release_buffer()
115 static struct gbm_bo *gbm_bo_new(struct gbm_device *gbm, uint32_t format) in gbm_bo_new()
117 struct gbm_bo *bo; in gbm_bo_new()
119 bo = (struct gbm_bo *)calloc(1, sizeof(*bo)); in gbm_bo_new()
129 PUBLIC struct gbm_bo *gbm_bo_create(struct gbm_device *gbm, uint32_t width, uint32_t height, in gbm_bo_create()
132 struct gbm_bo *bo; in gbm_bo_create()
160 PUBLIC struct gbm_bo *gbm_bo_create_with_modifiers(struct gbm_device *gbm, uint32_t width, in gbm_bo_create_with_modifiers()
164 struct gbm_bo *bo; in gbm_bo_create_with_modifiers()
181 PUBLIC void gbm_bo_destroy(struct gbm_bo *bo) in gbm_bo_destroy()
193 PUBLIC struct gbm_bo *gbm_bo_import(struct gbm_device *gbm, uint32_t type, void *buffer, in gbm_bo_import()
196 struct gbm_bo *bo; in gbm_bo_import()
264 PUBLIC void *gbm_bo_map(struct gbm_bo *bo, uint32_t x, uint32_t y, uint32_t width, uint32_t height, in gbm_bo_map()
270 PUBLIC void gbm_bo_unmap(struct gbm_bo *bo, void *map_data) in gbm_bo_unmap()
276 PUBLIC uint32_t gbm_bo_get_width(struct gbm_bo *bo) in gbm_bo_get_width()
281 PUBLIC uint32_t gbm_bo_get_height(struct gbm_bo *bo) in gbm_bo_get_height()
286 PUBLIC uint32_t gbm_bo_get_stride(struct gbm_bo *bo) in gbm_bo_get_stride()
291 PUBLIC uint32_t gbm_bo_get_format(struct gbm_bo *bo) in gbm_bo_get_format()
296 PUBLIC uint32_t gbm_bo_get_bpp(struct gbm_bo *bo) in gbm_bo_get_bpp()
301 PUBLIC uint64_t gbm_bo_get_modifier(struct gbm_bo *bo) in gbm_bo_get_modifier()
306 PUBLIC struct gbm_device *gbm_bo_get_device(struct gbm_bo *bo) in gbm_bo_get_device()
311 PUBLIC union gbm_bo_handle gbm_bo_get_handle(struct gbm_bo *bo) in gbm_bo_get_handle()
316 PUBLIC int gbm_bo_get_fd(struct gbm_bo *bo) in gbm_bo_get_fd()
321 PUBLIC int gbm_bo_get_plane_count(struct gbm_bo *bo) in gbm_bo_get_plane_count()
326 PUBLIC union gbm_bo_handle gbm_bo_get_handle_for_plane(struct gbm_bo *bo, size_t plane) in gbm_bo_get_handle_for_plane()
331 PUBLIC int gbm_bo_get_fd_for_plane(struct gbm_bo *bo, int plane) in gbm_bo_get_fd_for_plane()
336 PUBLIC uint32_t gbm_bo_get_offset(struct gbm_bo *bo, size_t plane) in gbm_bo_get_offset()
341 PUBLIC uint32_t gbm_bo_get_stride_for_plane(struct gbm_bo *bo, size_t plane) in gbm_bo_get_stride_for_plane()
346 PUBLIC void gbm_bo_set_user_data(struct gbm_bo *bo, void *data, in gbm_bo_set_user_data()
347 void (*destroy_user_data)(struct gbm_bo *, void *)) in gbm_bo_set_user_data() argument
353 PUBLIC void *gbm_bo_get_user_data(struct gbm_bo *bo) in gbm_bo_get_user_data()
395 PUBLIC uint32_t gbm_bo_get_plane_size(struct gbm_bo *bo, size_t plane) in gbm_bo_get_plane_size()
400 PUBLIC int gbm_bo_get_plane_fd(struct gbm_bo *bo, size_t plane) in gbm_bo_get_plane_fd()
405 PUBLIC void *gbm_bo_map2(struct gbm_bo *bo, uint32_t x, uint32_t y, uint32_t width, uint32_t height, in gbm_bo_map2()