/external/crosvm/rutabaga_gfx/src/rutabaga_gralloc/ |
D | minigbm_bindings.rs | 22 pub struct gbm_bo { struct 99 ) -> *mut gbm_bo; in gbm_bo_create() argument 109 ) -> *mut gbm_bo; in gbm_bo_create_with_modifiers() argument 138 ) -> *mut gbm_bo; in gbm_bo_import() argument 148 pub fn gbm_bo_unmap(bo: *mut gbm_bo, map_data: *mut c_void); in gbm_bo_unmap() argument 151 pub fn gbm_bo_get_width(bo: *mut gbm_bo) -> u32; in gbm_bo_get_width() 154 pub fn gbm_bo_get_height(bo: *mut gbm_bo) -> u32; in gbm_bo_get_height() 157 pub fn gbm_bo_get_stride(bo: *mut gbm_bo) -> u32; in gbm_bo_get_stride() 160 pub fn gbm_bo_get_stride_for_plane(bo: *mut gbm_bo, plane: usize) -> u32; in gbm_bo_get_stride_for_plane() argument 163 pub fn gbm_bo_get_format(bo: *mut gbm_bo) -> u32; in gbm_bo_get_format() [all …]
|
D | minigbm.rs | 177 pub struct MinigbmBuffer(*mut gbm_bo, MinigbmDevice);
|
/external/minigbm/ |
D | gbm.h | 47 struct gbm_bo; 316 struct gbm_bo * 321 struct gbm_bo * 355 struct gbm_bo * 387 gbm_bo_map(struct gbm_bo *bo, 392 gbm_bo_unmap(struct gbm_bo *bo, void *map_data); 395 gbm_bo_get_width(struct gbm_bo *bo); 398 gbm_bo_get_height(struct gbm_bo *bo); 401 gbm_bo_get_stride(struct gbm_bo *bo); 404 gbm_bo_get_stride_for_plane(struct gbm_bo *bo, size_t plane); [all …]
|
D | gbm.c | 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() [all …]
|
D | gbm_priv.h | 24 struct gbm_bo { struct 29 void (*destroy_user_data)(struct gbm_bo *, void *); argument
|
/external/mesa3d/src/gbm/main/ |
D | gbm.h | 47 struct gbm_bo; 270 struct gbm_bo * 275 struct gbm_bo * 307 struct gbm_bo * 339 gbm_bo_map(struct gbm_bo *bo, 344 gbm_bo_unmap(struct gbm_bo *bo, void *map_data); 347 gbm_bo_get_width(struct gbm_bo *bo); 350 gbm_bo_get_height(struct gbm_bo *bo); 353 gbm_bo_get_stride(struct gbm_bo *bo); 356 gbm_bo_get_stride_for_plane(struct gbm_bo *bo, int plane); [all …]
|
D | gbmint.h | 68 struct gbm_bo *(*bo_create)(struct gbm_device *gbm, 74 struct gbm_bo *(*bo_import)(struct gbm_device *gbm, uint32_t type, 76 void *(*bo_map)(struct gbm_bo *bo, 81 void (*bo_unmap)(struct gbm_bo *bo, void *map_data); 82 int (*bo_write)(struct gbm_bo *bo, const void *buf, size_t data); 83 int (*bo_get_fd)(struct gbm_bo *bo); 84 int (*bo_get_planes)(struct gbm_bo *bo); 85 union gbm_bo_handle (*bo_get_handle)(struct gbm_bo *bo, int plane); 86 uint32_t (*bo_get_stride)(struct gbm_bo *bo, int plane); 87 uint32_t (*bo_get_offset)(struct gbm_bo *bo, int plane); [all …]
|
D | gbm.c | 155 gbm_bo_get_width(struct gbm_bo *bo) in gbm_bo_get_width() 166 gbm_bo_get_height(struct gbm_bo *bo) in gbm_bo_get_height() 180 gbm_bo_get_stride(struct gbm_bo *bo) in gbm_bo_get_stride() 193 gbm_bo_get_stride_for_plane(struct gbm_bo *bo, int plane) in gbm_bo_get_stride_for_plane() 206 gbm_bo_get_format(struct gbm_bo *bo) in gbm_bo_get_format() 224 gbm_bo_get_bpp(struct gbm_bo *bo) in gbm_bo_get_bpp() 290 gbm_bo_get_offset(struct gbm_bo *bo, int plane) in gbm_bo_get_offset() 301 gbm_bo_get_device(struct gbm_bo *bo) in gbm_bo_get_device() 315 gbm_bo_get_handle(struct gbm_bo *bo) in gbm_bo_get_handle() 332 gbm_bo_get_fd(struct gbm_bo *bo) in gbm_bo_get_fd() [all …]
|
/external/virglrenderer/src/ |
D | vrend_winsys_gbm.h | 75 int virgl_gbm_transfer(struct gbm_bo *bo, uint32_t direction, const struct iovec *iovecs, 82 int virgl_gbm_export_query(struct gbm_bo *bo, struct virgl_renderer_export_query *query); 84 int virgl_gbm_get_plane_width(struct gbm_bo *bo, int plane); 85 int virgl_gbm_get_plane_height(struct gbm_bo *bo, int plane); 86 int virgl_gbm_get_plane_bytes_per_pixel(struct gbm_bo *bo, int plane);
|
D | vrend_winsys_egl.h | 34 struct gbm_bo; 70 void *virgl_egl_image_from_gbm_bo(struct virgl_egl *egl, struct gbm_bo *bo); 71 void *virgl_egl_aux_plane_image_from_gbm_bo(struct virgl_egl *egl, struct gbm_bo *bo, int plane);
|
D | vrend_winsys_gbm.c | 323 int virgl_gbm_transfer(struct gbm_bo *bo, uint32_t direction, const struct iovec *iovecs, in virgl_gbm_transfer() 454 int virgl_gbm_export_query(struct gbm_bo *bo, struct virgl_renderer_export_query *query) in virgl_gbm_export_query() 526 int virgl_gbm_get_plane_width(struct gbm_bo *bo, int plane) { in virgl_gbm_get_plane_width() 534 int virgl_gbm_get_plane_height(struct gbm_bo *bo, int plane) { in virgl_gbm_get_plane_height() 542 int virgl_gbm_get_plane_bytes_per_pixel(struct gbm_bo *bo, int plane) { in virgl_gbm_get_plane_bytes_per_pixel()
|
D | vrend_winsys_egl.c | 476 void *virgl_egl_image_from_gbm_bo(struct virgl_egl *egl, struct gbm_bo *bo) in virgl_egl_image_from_gbm_bo() 517 void *virgl_egl_aux_plane_image_from_gbm_bo(struct virgl_egl *egl, struct gbm_bo *bo, int plane) in virgl_egl_aux_plane_image_from_gbm_bo()
|
D | vrend_renderer.c | 6087 gbm_bo_get_handle(res->gbm_bo).u32, fd); in vrend_pipe_resource_export_fd() 6701 struct gbm_bo *bo = gbm_bo_create(gbm->device, width, 1, in vrend_create_buffer() 6717 gr->gbm_bo = bo; in vrend_create_buffer() 6842 struct gbm_bo *bo = gbm_bo_create(gbm->device, gr->base.width0, gr->base.height0, in vrend_resource_gbm_init() 6847 gr->gbm_bo = bo; in vrend_resource_gbm_init() 6860 gr->gbm_bo = NULL; in vrend_resource_gbm_init() 6918 if (gr->gbm_bo && !has_bit(gr->storage_bits, VREND_STORAGE_EGL_IMAGE)) in vrend_resource_alloc_texture() 7064 if (image_oes && gr->gbm_bo) { in vrend_resource_alloc_texture() 7068 for (int i = 0; i < gbm_bo_get_plane_count(gr->gbm_bo); i++) { in vrend_resource_alloc_texture() 7070 virgl_egl_aux_plane_image_from_gbm_bo(egl, gr->gbm_bo, i); in vrend_resource_alloc_texture() [all …]
|
D | vrend_renderer.h | 85 void *gbm_bo, *egl_image; member
|
/external/autotest/client/site_tests/graphics_Gbm/src/ |
D | gbmtest.c | 193 static int check_bo(struct gbm_bo *bo) in check_bo() 410 struct gbm_bo *bo; in test_reinit() 425 struct gbm_bo *bo; in test_alloc_free() 440 struct gbm_bo *bo; in test_alloc_free_sizes() 447 struct gbm_bo *bo; in test_alloc_free_sizes() 454 struct gbm_bo *bo; in test_alloc_free_sizes() 473 struct gbm_bo *bo; in test_alloc_free_formats() 496 struct gbm_bo *bo; in test_alloc_free_usage() 518 void destroy_data1(struct gbm_bo *bo, void *data) in destroy_data1() 523 void destroy_data2(struct gbm_bo *bo, void *data) in destroy_data2() [all …]
|
/external/libkmsxx/kmscube/ |
D | cube-gbm.cpp | 72 gbm_bo* lock_front_buffer() in lock_front_buffer() 77 void release_buffer(gbm_bo* bo) in release_buffer() 119 static void drm_fb_destroy_callback(struct gbm_bo* bo, void* data) in drm_fb_destroy_callback() 125 static Framebuffer* drm_fb_get_from_bo(struct gbm_bo* bo, Card& card) in drm_fb_get_from_bo() 177 struct gbm_bo* bo_prev; 178 struct gbm_bo* bo_next;
|
/external/mesa3d/src/gbm/backends/dri/ |
D | gbm_dri.c | 654 gbm_dri_bo_write(struct gbm_bo *_bo, const void *buf, size_t count) in gbm_dri_bo_write() 669 gbm_dri_bo_get_fd(struct gbm_bo *_bo) in gbm_dri_bo_get_fd() 702 gbm_dri_bo_get_planes(struct gbm_bo *_bo) in gbm_dri_bo_get_planes() 711 gbm_dri_bo_get_handle_for_plane(struct gbm_bo *_bo, int plane) in gbm_dri_bo_get_handle_for_plane() 754 gbm_dri_bo_get_stride(struct gbm_bo *_bo, int plane) in gbm_dri_bo_get_stride() 793 gbm_dri_bo_get_offset(struct gbm_bo *_bo, int plane) in gbm_dri_bo_get_offset() 829 gbm_dri_bo_get_modifier(struct gbm_bo *_bo) in gbm_dri_bo_get_modifier() 861 gbm_dri_bo_destroy(struct gbm_bo *_bo) in gbm_dri_bo_destroy() 879 static struct gbm_bo * 1044 static struct gbm_bo * [all …]
|
D | gbm_driint.h | 124 struct gbm_bo base; 146 gbm_dri_bo(struct gbm_bo *bo) in gbm_dri_bo()
|
/external/angle/src/libANGLE/renderer/gl/egl/gbm/ |
D | DisplayGbm.h | 20 struct gbm_bo; 90 gbm_bo *mBO;
|
/external/swiftshader/include/EGL/ |
D | eglplatform.h | 95 typedef struct gbm_bo *EGLNativePixmapType;
|
/external/mesa3d/include/EGL/ |
D | eglplatform.h | 107 typedef struct gbm_bo *EGLNativePixmapType;
|
/external/angle/include/EGL/ |
D | eglplatform.h | 94 typedef struct gbm_bo *EGLNativePixmapType;
|
/external/mesa3d/src/egl/drivers/dri2/ |
D | platform_drm.c | 44 static struct gbm_bo * 50 struct gbm_bo *bo; in lock_front_buffer() 68 release_buffer(struct gbm_surface *_surf, struct gbm_bo *bo) in release_buffer() 470 struct gbm_dri_bo *dri_bo = gbm_dri_bo((struct gbm_bo *) buffer); in dri2_drm_create_image_khr_pixmap()
|
D | egl_dri2.h | 319 struct gbm_bo *bo;
|
/external/mesa3d/docs/relnotes/ |
D | 19.0.0.rst | 462 - gbm: Clarify acceptable formats for gbm_bo
|