Lines Matching refs:gbm_device
21 PUBLIC int gbm_device_get_fd(struct gbm_device *gbm) in gbm_device_get_fd()
27 PUBLIC const char *gbm_device_get_backend_name(struct gbm_device *gbm) in gbm_device_get_backend_name()
32 PUBLIC int gbm_device_is_format_supported(struct gbm_device *gbm, uint32_t format, uint32_t usage) in gbm_device_is_format_supported()
44 PUBLIC struct gbm_device *gbm_create_device(int fd) in gbm_create_device()
46 struct gbm_device *gbm; in gbm_create_device()
48 gbm = (struct gbm_device *)malloc(sizeof(*gbm)); in gbm_create_device()
62 PUBLIC void gbm_device_destroy(struct gbm_device *gbm) in gbm_device_destroy()
68 PUBLIC struct gbm_surface *gbm_surface_create(struct gbm_device *gbm, uint32_t width, in gbm_surface_create()
93 static struct gbm_bo *gbm_bo_new(struct gbm_device *gbm, uint32_t format) in gbm_bo_new()
107 PUBLIC struct gbm_bo *gbm_bo_create(struct gbm_device *gbm, uint32_t width, uint32_t height, in gbm_bo_create()
130 PUBLIC struct gbm_bo *gbm_bo_create_with_modifiers(struct gbm_device *gbm, uint32_t width, in gbm_bo_create_with_modifiers()
163 PUBLIC struct gbm_bo *gbm_bo_import(struct gbm_device *gbm, uint32_t type, void *buffer, in gbm_bo_import()
286 PUBLIC struct gbm_device *gbm_bo_get_device(struct gbm_bo *bo) in gbm_bo_get_device()