Home
last modified time | relevance | path

Searched full:gbm (Results 1 – 25 of 144) sorted by relevance

123456

/third_party/mesa3d/src/gbm/main/
Dgbm.c44 #include "gbm.h"
48 /** Returns the file description for the gbm device
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()
58 /** Get the backend name for the given gbm device
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()
71 * \param gbm The created buffer manager
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()
[all …]
Dgbm_backend_abi.h33 #include "gbm.h"
37 * \brief ABI between the GBM loader and its backends
43 * The GBM backend interface version defined by this file.
45 * The GBM device interface version must be incremented whenever the structures
78 * GBM device interface corresponding to GBM_BACKEND_ABI_VERSION = 0
87 * The version of the GBM backend interface supported by this device and its
89 * GBM loader if the device was created by an older backend, or less than the
93 * MIN(backend GBM interface version, loader GBM interface version)
96 * in by the GBM loader to the backend's create_device function. The GBM
108 void (*destroy)(struct gbm_device *gbm);
[all …]
Dgbm_abi_check.c25 #include "gbm_backend_abi.h" /* Current GBM backend ABI implementation */
36 * Changing them implies breaking the GBM backend ABI. Instead, to extend the
50 * From: Simon Ser - "gbm: assume USE_SCANOUT in create_with_modifiers"
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,
110 * GBM buffer object interface corresponding to GBM_BACKEND_ABI_VERSION = 0
134 struct gbm_device *gbm; member
[all …]
Dgbm.h42 * \file gbm.h
83 * re-namespaced. New GBM formats must not be added, unless they are
262 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,
[all …]
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()
/third_party/skia/third_party/externals/egl-registry/extensions/MESA/
DEGL_MESA_platform_gbm.txt46 This extension defines how to create EGL resources from native GBM
47 resources using the functions defined by EGL_EXT_platform_base. (GBM is
73 To obtain an EGLDisplay from an GBM device, call eglGetPlatformDisplayEXT with
75 specifies the GBM device to use and must either point to a `struct
78 implementation-chosen GBM device.
80 For each EGLConfig that belongs to the GBM platform, the
81 EGL_NATIVE_VISUAL_ID attribute is a GBM color format, such as
84 To obtain a rendering surface from a GBM surface, call
85 eglCreatePlatformWindowSurfaceEXT with a <dpy> that belongs to the GBM
92 belongs to the GBM platform. Any such call fails and generates
[all …]
/third_party/EGL/extensions/KHR/
DEGL_KHR_platform_gbm.txt46 This extension defines how to create EGL resources from native GBM
47 resources using the EGL 1.5 platform functionality (GBM is a Generic
73 To obtain an EGLDisplay from an GBM device, call eglGetPlatformDisplay with
75 specifies the GBM device to use and must either point to a `struct
78 implementation-chosen GBM device.
80 For each EGLConfig that belongs to the GBM platform, the
81 EGL_NATIVE_VISUAL_ID attribute is a GBM color format, such as
84 To obtain a rendering surface from a GBM surface, call
85 eglCreatePlatformWindowSurface with a <dpy> that belongs to the GBM
92 belongs to the GBM platform. Any such call fails and generates
[all …]
/third_party/skia/third_party/externals/egl-registry/extensions/KHR/
DEGL_KHR_platform_gbm.txt46 This extension defines how to create EGL resources from native GBM
47 resources using the EGL 1.5 platform functionality (GBM is a Generic
73 To obtain an EGLDisplay from an GBM device, call eglGetPlatformDisplay with
75 specifies the GBM device to use and must either point to a `struct
78 implementation-chosen GBM device.
80 For each EGLConfig that belongs to the GBM platform, the
81 EGL_NATIVE_VISUAL_ID attribute is a GBM color format, such as
84 To obtain a rendering surface from a GBM surface, call
85 eglCreatePlatformWindowSurface with a <dpy> that belongs to the GBM
92 belongs to the GBM platform. Any such call fails and generates
[all …]
/third_party/EGL/extensions/MESA/
DEGL_MESA_platform_gbm.txt46 This extension defines how to create EGL resources from native GBM
47 resources using the functions defined by EGL_EXT_platform_base. (GBM is
73 To obtain an EGLDisplay from an GBM device, call eglGetPlatformDisplayEXT with
75 specifies the GBM device to use and must either point to a `struct
77 EGLDisplay will be backed by some implementation-chosen GBM device.
79 For each EGLConfig that belongs to the GBM platform, the
80 EGL_NATIVE_VISUAL_ID attribute is a GBM color format, such as
83 To obtain a rendering surface from a GBM surface, call
84 eglCreatePlatformWindowSurfaceEXT with a <dpy> that belongs to the GBM
91 belongs to the GBM platform. Any such call fails and generates
[all …]
/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()
334 fprintf(stderr, "gbm: did not find extension %s version %d\n", in dri_bind_extensions()
350 * osx/cygwin/windows/bsd gets support for GBM.. in dri_open_driver()
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()
[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/vk-gl-cts/external/vulkan-docs/src/appendices/
DVK_EXT_image_drm_format_modifier.txt81 GBM, providing the chosen _modifier_ to code:gbm_bo_create_with_modifiers.
233 GBM, a graphics buffer manager for Linux, allows creation of a `gbm_bo`
238 `gbm.h`^<<VK_EXT_image_drm_format_modifier-fn5,5>>^.
256 However, developers of the GBM and kernel APIs concede it was a mistake.
261 And GBM provides an entry point, code:gbm_bo_get_modifier, for querying the
288 However, Vulkan differs from EGL and GBM with regards to image creation in
298 In particular, neither the GBM documentation nor the EGL extension
307 set of dma_bufs as an code:EGLImage or code:gbm_bo, EGL and GBM create
309 This allows EGL and GBM to query each dma_buf's size during image
404 …https://cgit.freedesktop.org/mesa/mesa/tree/src/gbm/main/gbm.h?id=refs/tags/mesa-18.0.0-rc1[`gbm.h…
DVK_EXT_image_drm_format_modifier.adoc81 GBM, providing the chosen _modifier_ to code:gbm_bo_create_with_modifiers.
233 GBM, a graphics buffer manager for Linux, allows creation of a `gbm_bo`
238 `gbm.h`^<<VK_EXT_image_drm_format_modifier-fn5,5>>^.
256 However, developers of the GBM and kernel APIs concede it was a mistake.
261 And GBM provides an entry point, code:gbm_bo_get_modifier, for querying the
288 However, Vulkan differs from EGL and GBM with regards to image creation in
298 In particular, neither the GBM documentation nor the EGL extension
307 set of dma_bufs as an code:EGLImage or code:gbm_bo, EGL and GBM create
309 This allows EGL and GBM to query each dma_buf's size during image
404 …https://cgit.freedesktop.org/mesa/mesa/tree/src/gbm/main/gbm.h?id=refs/tags/mesa-18.0.0-rc1[`gbm.h…
/third_party/mesa3d/src/egl/drivers/dri2/
Dplatform_drm.c49 struct gbm_dri_device *device = gbm_dri_device(_surf->gbm); in lock_front_buffer()
170 _eglError(EGL_BAD_MATCH, "EGL config not compatible with GBM format"); in dri2_drm_create_window_surface()
198 * that belongs to the GBM platform. Any such call fails and generates in dri2_drm_create_pixmap_surface()
201 _eglError(EGL_BAD_PARAMETER, "cannot create EGL pixmap surfaces on GBM"); in dri2_drm_create_pixmap_surface()
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()
705 err = "DRI2: failed to create gbm device"; in dri2_initialize_drm()
[all …]
/third_party/mesa3d/.gitlab-ci/build/
Dgitlab-ci.yml74 -D gbm=enabled
136 -D gbm=disabled
154 -D gbm=enabled
184 -D gbm=enabled
224 -D gbm=enabled
275 -D gbm=disabled
311 -D gbm=enabled
442 -D gbm=disabled
465 -D gbm=disabled
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/gbm/
DSurfaceGbm.cpp7 // SurfaceGbm.cpp: Gbm implementation of egl::SurfaceGL
9 #include "libANGLE/renderer/gl/egl/gbm/SurfaceGbm.h"
12 #include "libANGLE/renderer/gl/egl/gbm/DisplayGbm.h"
DSurfaceGbm.h7 // SurfaceGbm.h: Gbm implementation of egl::SurfaceGL
13 #include "libANGLE/renderer/gl/egl/gbm/DisplayGbm.h"
/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/src/gallium/drivers/radeonsi/glsl_tests/
Damdgcn_glslc.c51 #include <gbm.h>
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()
83 fprintf(stderr, "ERROR: Couldn't create gbm device\n"); in create_gl_core_context()
88 gbm, NULL); in create_gl_core_context()
/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
D21.3.2.rst38 - [bisected] Mesa 21.3.x breaks GBM with NVIDIA closed source driver 495.44
80 - gbm: Don't pass default usage flags on ABIs < 1
D11.0.1.rst96 - gbm: convert gbm bo format to fourcc format on dma-buf import
/third_party/mesa3d/
Dmeson_options.txt287 'gbm', combo
291 description : 'Build support for gbm platform'
294 'gbm-backends-path',
297 …description : 'Locations to search for gbm backends, passed as colon separated list. Default: $lib…

123456