• Home
  • Raw
  • Download

Lines Matching refs:gbm

53 gbm_device_get_fd(struct gbm_device *gbm)  in gbm_device_get_fd()  argument
55 return gbm->fd; in gbm_device_get_fd()
64 gbm_device_get_backend_name(struct gbm_device *gbm) in gbm_device_get_backend_name() argument
66 return gbm->name; in gbm_device_get_backend_name()
82 gbm_device_is_format_supported(struct gbm_device *gbm, in gbm_device_is_format_supported() argument
85 return gbm->is_format_supported(gbm, format, usage); in gbm_device_is_format_supported()
93 gbm_device_destroy(struct gbm_device *gbm) in gbm_device_destroy() argument
95 gbm->refcount--; in gbm_device_destroy()
96 if (gbm->refcount == 0) in gbm_device_destroy()
97 gbm->destroy(gbm); in gbm_device_destroy()
115 struct gbm_device *gbm = NULL; in gbm_create_device() local
123 gbm = _gbm_create_device(fd); in gbm_create_device()
124 if (gbm == NULL) in gbm_create_device()
127 gbm->dummy = gbm_create_device; in gbm_create_device()
128 gbm->stat = buf; in gbm_create_device()
129 gbm->refcount = 1; in gbm_create_device()
131 return gbm; in gbm_create_device()
212 return bo->gbm->bo_get_fd(bo); in gbm_bo_get_fd()
232 return bo->gbm->bo_write(bo, buf, count); in gbm_bo_write()
243 return bo->gbm; in gbm_bo_get_device()
287 bo->gbm->bo_destroy(bo); in gbm_bo_destroy()
307 gbm_bo_create(struct gbm_device *gbm, in gbm_bo_create() argument
316 return gbm->bo_create(gbm, width, height, format, usage); in gbm_bo_create()
346 gbm_bo_import(struct gbm_device *gbm, in gbm_bo_import() argument
349 return gbm->bo_import(gbm, type, buffer, usage); in gbm_bo_import()
386 return bo->gbm->bo_map(bo, x, y, width, height, in gbm_bo_map()
402 bo->gbm->bo_unmap(bo, map_data); in gbm_bo_unmap()
420 gbm_surface_create(struct gbm_device *gbm, in gbm_surface_create() argument
424 return gbm->surface_create(gbm, width, height, format, flags); in gbm_surface_create()
439 surf->gbm->surface_destroy(surf); in gbm_surface_destroy()
466 return surf->gbm->surface_lock_front_buffer(surf); in gbm_surface_lock_front_buffer()
484 surf->gbm->surface_release_buffer(surf, bo); in gbm_surface_release_buffer()
506 return surf->gbm->surface_has_free_buffers(surf); in gbm_surface_has_free_buffers()