/third_party/mesa3d/src/gbm/main/ |
D | gbm.c | 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() 107 gbm_device_destroy(struct gbm_device *gbm) in gbm_device_destroy() argument 109 _gbm_device_destroy(gbm); in gbm_device_destroy() [all …]
|
D | gbm.h | 253 gbm_device_get_fd(struct gbm_device *gbm); 256 gbm_device_get_backend_name(struct gbm_device *gbm); 259 gbm_device_is_format_supported(struct gbm_device *gbm, 263 gbm_device_get_format_modifier_plane_count(struct gbm_device *gbm, 268 gbm_device_destroy(struct gbm_device *gbm); 274 gbm_bo_create(struct gbm_device *gbm, 279 gbm_bo_create_with_modifiers(struct gbm_device *gbm, 286 gbm_bo_create_with_modifiers2(struct gbm_device *gbm, 320 gbm_bo_import(struct gbm_device *gbm, uint32_t type, 414 gbm_surface_create(struct gbm_device *gbm, [all …]
|
D | gbm_backend_abi.h | 108 void (*destroy)(struct gbm_device *gbm); 109 int (*is_format_supported)(struct gbm_device *gbm, 120 struct gbm_bo *(*bo_create)(struct gbm_device *gbm, 126 struct gbm_bo *(*bo_import)(struct gbm_device *gbm, uint32_t type, 148 struct gbm_surface *(*surface_create)(struct gbm_device *gbm, 199 struct gbm_device *gbm; member 227 struct gbm_device *gbm; member
|
D | gbm_abi_check.c | 61 void (*destroy)(struct gbm_device *gbm); 62 int (*is_format_supported)(struct gbm_device *gbm, 68 struct gbm_bo *(*bo_create)(struct gbm_device *gbm, 74 struct gbm_bo *(*bo_import)(struct gbm_device *gbm, uint32_t type, 91 struct gbm_surface *(*surface_create)(struct gbm_device *gbm, 134 struct gbm_device *gbm; member 162 struct gbm_device *gbm; member 372 CHECK_MEMBER_CURRENT(gbm_bo, _abi0, gbm); in main() 388 CHECK_MEMBER_CURRENT(gbm_surface, _abi0, gbm); in main()
|
D | backend.c | 231 _gbm_device_destroy(struct gbm_device *gbm) in _gbm_device_destroy() argument 233 const struct gbm_backend_desc *backend_desc = gbm->v0.backend_desc; in _gbm_device_destroy() 234 gbm->v0.destroy(gbm); in _gbm_device_destroy()
|
D | backend.h | 37 _gbm_device_destroy(struct gbm_device *gbm);
|
/third_party/mesa3d/src/gbm/ |
D | meson.build | 26 'main/gbm.c', 27 'main/gbm.h', 49 'gbm', 63 test('gbm-abi-check', abi_check, suite : ['gbm']) 66 install_headers('main/gbm.h') 69 name : 'gbm', 70 filebase : 'gbm', 71 description : 'Mesa gbm library', 80 'gbm-symbols-check', 84 '--symbols-file', files('gbm-symbols.txt'), [all …]
|
/third_party/weston/libweston/backend-drm/ |
D | drm-gbm.c | 52 struct gbm_device *gbm; in create_gbm_device() local 66 gbm = gbm_create_device(fd); in create_gbm_device() 68 return gbm; in create_gbm_device() 103 .egl_native_display = b->gbm, in drm_backend_create_gl_renderer() 121 b->gbm = create_gbm_device(b->drm.fd); in init_egl() 123 if (!b->gbm) in init_egl() 127 gbm_device_destroy(b->gbm); in init_egl() 156 bo = gbm_bo_create(b->gbm, b->cursor_width, b->cursor_height, in drm_output_init_cursor_egl() 212 gbm_surface_create_with_modifiers(b->gbm, in drm_output_init_egl() 227 gbm_surface_create(b->gbm, mode->width, mode->height, in drm_output_init_egl() [all …]
|
D | meson.build | 45 dep_gbm = dependency('gbm', required: false) 47 …error('drm-backend with GL renderer requires gbm which was not found. Or, you can use \'-Drenderer… 56 srcs_drm += 'drm-gbm.c'
|
/third_party/mesa3d/src/gbm/backends/dri/ |
D | gbm_dri.c | 100 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm); in dri_get_buffers() 113 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm); in dri_flush_front_buffer() 126 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm); in dri_get_buffers_with_format() 157 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm); in image_get_buffers() 194 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm); in swrast_put_image2() 226 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm); in swrast_get_image() 629 gbm_dri_is_format_supported(struct gbm_device *gbm, in gbm_dri_is_format_supported() argument 633 struct gbm_dri_device *dri = gbm_dri_device(gbm); in gbm_dri_is_format_supported() 665 gbm_dri_get_format_modifier_plane_count(struct gbm_device *gbm, in gbm_dri_get_format_modifier_plane_count() argument 669 struct gbm_dri_device *dri = gbm_dri_device(gbm); in gbm_dri_get_format_modifier_plane_count() [all …]
|
D | gbm_driint.h | 143 gbm_dri_device(struct gbm_device *gbm) in gbm_dri_device() argument 145 return (struct gbm_dri_device *) gbm; in gbm_dri_device() 175 ret = drmIoctl(bo->base.gbm->v0.fd, DRM_IOCTL_MODE_MAP_DUMB, &map_arg); in gbm_dri_bo_map_dumb() 180 MAP_SHARED, bo->base.gbm->v0.fd, map_arg.offset); in gbm_dri_bo_map_dumb()
|
/third_party/EGL/extensions/KHR/ |
D | EGL_KHR_platform_gbm.txt | 121 #include <gbm.h> 124 struct gbm_device *gbm; 135 struct gbm_surface *gbm; 165 dpy.gbm = gbm_create_device(fd); 166 if (!dpy.gbm) { 172 dpy.egl = eglGetPlatformDisplay(EGL_PLATFORM_GBM_KHR, dpy.gbm, NULL); 174 dpy.egl = eglGetDisplay(dpy.gbm); 246 window.gbm = gbm_surface_create(config.dpy.gbm, 250 if (!window.gbm) { 257 window.gbm, [all …]
|
/third_party/skia/third_party/externals/egl-registry/extensions/KHR/ |
D | EGL_KHR_platform_gbm.txt | 121 #include <gbm.h> 124 struct gbm_device *gbm; 135 struct gbm_surface *gbm; 165 dpy.gbm = gbm_create_device(fd); 166 if (!dpy.gbm) { 172 dpy.egl = eglGetPlatformDisplay(EGL_PLATFORM_GBM_KHR, dpy.gbm, NULL); 174 dpy.egl = eglGetDisplay(dpy.gbm); 246 window.gbm = gbm_surface_create(config.dpy.gbm, 250 if (!window.gbm) { 257 window.gbm, [all …]
|
/third_party/skia/third_party/externals/egl-registry/extensions/MESA/ |
D | EGL_MESA_platform_gbm.txt | 121 #include <gbm.h> 124 struct gbm_device *gbm; 135 struct gbm_surface *gbm; 165 dpy.gbm = gbm_create_device(fd); 166 if (!dpy.gbm) { 172 dpy.egl = eglGetPlatformDisplayEXT(EGL_PLATFORM_GBM_MESA, dpy.gbm, NULL); 174 dpy.egl = eglGetDisplay(dpy.gbm); 246 window.gbm = gbm_surface_create(config.dpy.gbm, 250 if (!window.gbm) { 257 window.gbm, [all …]
|
/third_party/weston/shared/ |
D | simple_gbm.h | 27 void gbm_device_destroy(struct gbm_device *gbm); 30 struct gbm_bo * gbm_bo_create(struct gbm_device *gbm, 33 struct gbm_bo * gbm_bo_import(struct gbm_device *gbm, uint32_t type, void *buffer, uint32_t usage); 46 struct gbm_surface * gbm_surface_create(struct gbm_device *gbm,
|
/third_party/EGL/extensions/MESA/ |
D | EGL_MESA_platform_gbm.txt | 119 #include <gbm.h> 122 struct gbm_device *gbm; 133 struct gbm_surface *gbm; 163 dpy.gbm = gbm_create_device(fd); 164 if (!dpy.gbm) { 170 dpy.egl = eglGetPlatformDisplayEXT(EGL_PLATFORM_GBM_MESA, dpy.gbm, NULL); 172 dpy.egl = eglGetDisplay(dpy.gbm); 244 window.gbm = gbm_surface_create(config.dpy.gbm, 248 if (!window.gbm) { 255 window.gbm, [all …]
|
/third_party/weston/clients/ |
D | simple-dmabuf-egl.c | 107 } gbm; member 348 buffer->bo = gbm_bo_create_with_modifiers(display->gbm.device, in create_dmabuf_buffer() 360 buffer->bo = gbm_bo_create(display->gbm.device, in create_dmabuf_buffer() 385 ret = drmPrimeHandleToFD(display->gbm.drm_fd, handle.u32, 0, in create_dmabuf_buffer() 1085 if (display->gbm.device) in destroy_display() 1086 gbm_device_destroy(display->gbm.device); in destroy_display() 1088 if (display->gbm.drm_fd >= 0) in destroy_display() 1089 close(display->gbm.drm_fd); in destroy_display() 1145 display->gbm.device, NULL); in display_set_up_egl() 1344 display->gbm.drm_fd = open(drm_render_node, O_RDWR); in display_set_up_gbm() [all …]
|
D | simple-dmabuf-egl-hos.c | 108 } gbm; member 349 buffer->bo = gbm_bo_create_with_modifiers(display->gbm.device, in create_dmabuf_buffer() 361 buffer->bo = gbm_bo_create(display->gbm.device, in create_dmabuf_buffer() 386 ret = drmPrimeHandleToFD(display->gbm.drm_fd, handle.u32, 0, in create_dmabuf_buffer() 1140 if (display->gbm.device) in destroy_display() 1141 gbm_device_destroy(display->gbm.device); in destroy_display() 1143 if (display->gbm.drm_fd >= 0) in destroy_display() 1144 close(display->gbm.drm_fd); in destroy_display() 1194 display->gbm.device, NULL); in display_set_up_egl() 1396 display->gbm.drm_fd = open(drm_render_node, O_RDWR); in display_set_up_gbm() [all …]
|
/third_party/mesa3d/src/egl/drivers/dri2/ |
D | platform_drm.c | 49 struct gbm_dri_device *device = gbm_dri_device(_surf->gbm); in lock_front_buffer() 687 struct gbm_device *gbm; in dri2_initialize_drm() local 697 gbm = disp->PlatformDisplay; in dri2_initialize_drm() 698 if (gbm == NULL) { in dri2_initialize_drm() 703 gbm = gbm_create_device(dri2_dpy->fd); in dri2_initialize_drm() 704 if (gbm == NULL) { in dri2_initialize_drm() 710 dri2_dpy->fd = os_dupfd_cloexec(gbm_device_get_fd(gbm)); in dri2_initialize_drm() 716 dri2_dpy->gbm_dri = gbm_dri_device(gbm); in dri2_initialize_drm() 718 if (strcmp(gbm_device_get_backend_name(gbm), "drm") != 0) { in dri2_initialize_drm()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/glsl_tests/ |
D | amdgcn_glslc.c | 81 struct gbm_device *gbm = gbm_create_device(fd); in create_gl_core_context() local 82 if (unlikely(gbm == NULL)) { in create_gl_core_context() 88 gbm, NULL); in create_gl_core_context()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | BUILD.gn | 161 "egl/gbm/DisplayGbm.cpp", 162 "egl/gbm/DisplayGbm.h", 163 "egl/gbm/SurfaceGbm.cpp", 164 "egl/gbm/SurfaceGbm.h",
|
/third_party/mesa3d/docs/relnotes/ |
D | 10.6.1.rst | 61 - gbm: do not (over)link against libglapi.so 66 - gbm: dlopen libglapi so gbm_create_device works
|
/third_party/mesa3d/ohos/pkgconfig_template/ |
D | gbm.pc | 5 Name: gbm pkg
|
/third_party/skia/third_party/externals/angle2/third_party/minigbm/ |
D | BUILD.gn | 8 packages = [ "gbm" ]
|
/third_party/flutter/skia/third_party/externals/angle2/third_party/minigbm/ |
D | BUILD.gn | 8 packages = [ "gbm" ]
|