Home
last modified time | relevance | path

Searched refs:gbm (Results 1 – 25 of 98) sorted by relevance

1234

/third_party/mesa3d/src/gbm/main/
Dgbm.c53 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()
[all …]
Dgbm.h262 gbm_device_get_fd(struct gbm_device *gbm);
265 gbm_device_get_backend_name(struct gbm_device *gbm);
268 gbm_device_is_format_supported(struct gbm_device *gbm,
272 gbm_device_get_format_modifier_plane_count(struct gbm_device *gbm,
277 gbm_device_destroy(struct gbm_device *gbm);
283 gbm_bo_create(struct gbm_device *gbm,
288 gbm_bo_create_with_modifiers(struct gbm_device *gbm,
295 gbm_bo_create_with_modifiers2(struct gbm_device *gbm,
329 gbm_bo_import(struct gbm_device *gbm, uint32_t type,
423 gbm_surface_create(struct gbm_device *gbm,
[all …]
Dgbm_backend_abi.h108 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
Dgbm_abi_check.c61 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()
Dbackend.c231 _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()
Dbackend.h37 _gbm_device_destroy(struct gbm_device *gbm);
/third_party/mesa3d/src/gbm/
Dmeson.build26 '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/mesa3d/src/gbm/backends/dri/
Dgbm_dri.c101 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm); in dri_get_buffers()
114 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm); in dri_flush_front_buffer()
127 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm); in dri_get_buffers_with_format()
158 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm); in image_get_buffers()
195 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm); in swrast_put_image2()
227 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm); in swrast_get_image()
660 gbm_dri_is_format_supported(struct gbm_device *gbm, in gbm_dri_is_format_supported() argument
664 struct gbm_dri_device *dri = gbm_dri_device(gbm); in gbm_dri_is_format_supported()
696 gbm_dri_get_format_modifier_plane_count(struct gbm_device *gbm, in gbm_dri_get_format_modifier_plane_count() argument
700 struct gbm_dri_device *dri = gbm_dri_device(gbm); in gbm_dri_get_format_modifier_plane_count()
[all …]
Dgbm_driint.h145 gbm_dri_device(struct gbm_device *gbm) in gbm_dri_device() argument
147 return (struct gbm_dri_device *) gbm; in gbm_dri_device()
177 ret = drmIoctl(bo->base.gbm->v0.fd, DRM_IOCTL_MODE_MAP_DUMB, &map_arg); in gbm_dri_bo_map_dumb()
182 MAP_SHARED, bo->base.gbm->v0.fd, map_arg.offset); in gbm_dri_bo_map_dumb()
/third_party/skia/third_party/externals/egl-registry/extensions/KHR/
DEGL_KHR_platform_gbm.txt121 #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/EGL/extensions/KHR/
DEGL_KHR_platform_gbm.txt121 #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/
DEGL_MESA_platform_gbm.txt121 #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/EGL/extensions/MESA/
DEGL_MESA_platform_gbm.txt119 #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/mesa3d/src/egl/drivers/dri2/
Dplatform_drm.c49 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/
Damdgcn_glslc.c81 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/
DBUILD.gn161 "egl/gbm/DisplayGbm.cpp",
162 "egl/gbm/DisplayGbm.h",
163 "egl/gbm/SurfaceGbm.cpp",
164 "egl/gbm/SurfaceGbm.h",
/third_party/mesa3d/docs/relnotes/
D10.6.1.rst61 - gbm: do not (over)link against libglapi.so
66 - gbm: dlopen libglapi so gbm_create_device works
D10.6.8.rst94 - gbm: convert gbm bo format to fourcc format on dma-buf import
D11.0.1.rst96 - gbm: convert gbm bo format to fourcc format on dma-buf import
D17.0.4.rst67 - Revert "cherry-ignore: add the Flush after unmap in gbm/dri fix"
123 - gbm/dri: Flush after unmap
/third_party/mesa3d/ohos/pkgconfig_template/
Dgbm.pc5 Name: gbm name
/third_party/skia/third_party/externals/angle2/third_party/minigbm/
DBUILD.gn8 packages = [ "gbm" ]
/third_party/flutter/skia/third_party/externals/angle2/third_party/minigbm/
DBUILD.gn8 packages = [ "gbm" ]
/third_party/mesa3d/src/gallium/drivers/nouveau/ci/
Dnouveau-gm206-skips.txt22 # Running under gbm
/third_party/skia/third_party/externals/imgui/
Dimstb_truetype.h3556 stbtt__bitmap gbm; in stbtt_GetGlyphBitmapSubpixel() local
3572 gbm.w = (ix1 - ix0); in stbtt_GetGlyphBitmapSubpixel()
3573 gbm.h = (iy1 - iy0); in stbtt_GetGlyphBitmapSubpixel()
3574 gbm.pixels = NULL; // in case we error in stbtt_GetGlyphBitmapSubpixel()
3576 if (width ) *width = gbm.w; in stbtt_GetGlyphBitmapSubpixel()
3577 if (height) *height = gbm.h; in stbtt_GetGlyphBitmapSubpixel()
3581 if (gbm.w && gbm.h) { in stbtt_GetGlyphBitmapSubpixel()
3582 gbm.pixels = (unsigned char *) STBTT_malloc(gbm.w * gbm.h, info->userdata); in stbtt_GetGlyphBitmapSubpixel()
3583 if (gbm.pixels) { in stbtt_GetGlyphBitmapSubpixel()
3584 gbm.stride = gbm.w; in stbtt_GetGlyphBitmapSubpixel()
[all …]

1234