Lines Matching refs:gbm_bo

45 struct gbm_bo;
239 struct gbm_bo *gbm_bo_create(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t format, uint32_t flags);
241 struct gbm_bo *gbm_bo_create_with_modifiers(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t format,
268 struct gbm_bo *bm_bo_import(struct gbm_device *gbm, uint32_t type, void *buffer, uint32_t usage);
297 void *gbm_bo_map(struct gbm_bo *bo, uint32_t x, uint32_t y, uint32_t width, uint32_t height, uint32_t flags,
300 void gbm_bo_unmap(struct gbm_bo *bo, void *map_data);
302 uint32_t gbm_bo_get_width(struct gbm_bo *bo);
304 uint32_t gbm_bo_get_height(struct gbm_bo *bo);
306 uint32_t gbm_bo_get_stride(struct gbm_bo *bo);
308 uint32_t gbm_bo_get_stride_for_plane(struct gbm_bo *bo, int plane);
310 uint32_t gbm_bo_get_format(struct gbm_bo *bo);
312 uint32_t gbm_bo_get_bpp(struct gbm_bo *bo);
314 uint32_t gbm_bo_get_offset(struct gbm_bo *bo, int plane);
316 struct gbm_device *gbm_bo_get_device(struct gbm_bo *bo);
318 union gbm_bo_handle gbm_bo_get_handle(struct gbm_bo *bo);
320 int gbm_bo_get_fd(struct gbm_bo *bo);
322 uint64_t gbm_bo_get_modifier(struct gbm_bo *bo);
324 int gbm_bo_get_plane_count(struct gbm_bo *bo);
326 union gbm_bo_handle gbm_bo_get_handle_for_plane(struct gbm_bo *bo, int plane);
328 int gbm_bo_write(struct gbm_bo *bo, const void *buf, size_t count);
330 void gbm_bo_set_user_data(struct gbm_bo *bo, void *data, void (*destroy_user_data)(struct gbm_bo *, void *));
332 void *gbm_bo_get_user_data(struct gbm_bo *bo);
334 void gbm_bo_destroy(struct gbm_bo *bo);
343 struct gbm_bo *gbm_iSurface_lock_front_buffer(struct gbm_iSurface *iSurface);
345 void gbm_iSurface_release_buffer(struct gbm_iSurface *iSurface, struct gbm_bo *bo);