• 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->v0.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->v0.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->v0.is_format_supported(gbm, format, flags); in gbm_device_is_format_supported()
95 gbm_device_get_format_modifier_plane_count(struct gbm_device *gbm, in gbm_device_get_format_modifier_plane_count() argument
99 return gbm->v0.get_format_modifier_plane_count(gbm, format, modifier); in gbm_device_get_format_modifier_plane_count()
110 gbm_device_destroy(struct gbm_device *gbm) in gbm_device_destroy() argument
112 _gbm_device_destroy(gbm); in gbm_device_destroy()
130 struct gbm_device *gbm = NULL; in gbm_create_device() local
138 gbm = _gbm_create_device(fd); in gbm_create_device()
139 if (gbm == NULL) in gbm_create_device()
142 gbm->dummy = gbm_create_device; in gbm_create_device()
144 return gbm; in gbm_create_device()
194 return bo->gbm->v0.bo_get_stride(bo, plane); in gbm_bo_get_stride_for_plane()
296 return bo->gbm->v0.bo_get_offset(bo, plane); in gbm_bo_get_offset()
307 return bo->gbm; in gbm_bo_get_device()
338 return bo->gbm->v0.bo_get_fd(bo); in gbm_bo_get_fd()
349 return bo->gbm->v0.bo_get_planes(bo); in gbm_bo_get_plane_count()
367 return bo->gbm->v0.bo_get_handle(bo, plane); in gbm_bo_get_handle_for_plane()
387 return bo->gbm->v0.bo_get_plane_fd(bo, plane); in gbm_bo_get_fd_for_plane()
406 return bo->gbm->v0.bo_get_modifier(bo); in gbm_bo_get_modifier()
425 return bo->gbm->v0.bo_write(bo, buf, count); in gbm_bo_write()
469 bo->gbm->v0.bo_destroy(bo); in gbm_bo_destroy()
489 gbm_bo_create(struct gbm_device *gbm, in gbm_bo_create() argument
498 return gbm->v0.bo_create(gbm, width, height, format, flags, NULL, 0); in gbm_bo_create()
502 gbm_bo_create_with_modifiers(struct gbm_device *gbm, in gbm_bo_create_with_modifiers() argument
518 if (gbm->v0.backend_version >= 1) { in gbm_bo_create_with_modifiers()
522 return gbm_bo_create_with_modifiers2(gbm, width, height, format, modifiers, in gbm_bo_create_with_modifiers()
527 gbm_bo_create_with_modifiers2(struct gbm_device *gbm, in gbm_bo_create_with_modifiers2() argument
549 return gbm->v0.bo_create(gbm, width, height, format, flags, modifiers, count); in gbm_bo_create_with_modifiers2()
580 gbm_bo_import(struct gbm_device *gbm, in gbm_bo_import() argument
583 return gbm->v0.bo_import(gbm, type, buffer, flags); in gbm_bo_import()
625 return bo->gbm->v0.bo_map(bo, x, y, width, height, in gbm_bo_map()
641 bo->gbm->v0.bo_unmap(bo, map_data); in gbm_bo_unmap()
659 gbm_surface_create(struct gbm_device *gbm, in gbm_surface_create() argument
663 return gbm->v0.surface_create(gbm, width, height, format, flags, NULL, 0); in gbm_surface_create()
667 gbm_surface_create_with_modifiers(struct gbm_device *gbm, in gbm_surface_create_with_modifiers() argument
683 if (gbm->v0.backend_version >= 1) { in gbm_surface_create_with_modifiers()
687 return gbm_surface_create_with_modifiers2(gbm, width, height, format, in gbm_surface_create_with_modifiers()
693 gbm_surface_create_with_modifiers2(struct gbm_device *gbm, in gbm_surface_create_with_modifiers2() argument
710 return gbm->v0.surface_create(gbm, width, height, format, flags, in gbm_surface_create_with_modifiers2()
726 surf->gbm->v0.surface_destroy(surf); in gbm_surface_destroy()
751 return surf->gbm->v0.surface_lock_front_buffer(surf); in gbm_surface_lock_front_buffer()
769 surf->gbm->v0.surface_release_buffer(surf, bo); in gbm_surface_release_buffer()
791 return surf->gbm->v0.surface_has_free_buffers(surf); in gbm_surface_has_free_buffers()