HomeSort by: relevance | last modified time | path
    Searched refs:gbm (Results 1 - 25 of 49) sorted by relevancy

1 2

  /xsrc/external/mit/MesaLib/dist/src/gbm/main/
backend.h 37 _gbm_device_destroy(struct gbm_device *gbm);
gbm.c 44 #include "gbm.h"
48 /** Returns the file description for the gbm device
53 gbm_device_get_fd(struct gbm_device *gbm)
55 return gbm->v0.fd;
58 /** Get the backend name for the given gbm device
64 gbm_device_get_backend_name(struct gbm_device *gbm)
66 return gbm->v0.name;
71 * \param gbm The created buffer manager
82 gbm_device_is_format_supported(struct gbm_device *gbm,
85 return gbm->v0.is_format_supported(gbm, format, flags)
127 struct gbm_device *gbm = NULL; local
    [all...]
gbm_backend_abi.h 33 #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 GB
199 struct gbm_device *gbm; member in struct:gbm_bo
227 struct gbm_device *gbm; member in struct:gbm_surface
    [all...]
gbm.h 42 * \file gbm.h
83 * re-namespaced. New GBM formats must not be added, unless they are
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,
    [all...]
gbm_abi_check.c 25 #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 in struct:gbm_bo_abi0
162 struct gbm_device *gbm; member in struct:gbm_surface_abi0
    [all...]
backend.c 231 _gbm_device_destroy(struct gbm_device *gbm)
233 const struct gbm_backend_desc *backend_desc = gbm->v0.backend_desc;
234 gbm->v0.destroy(gbm);
  /xsrc/external/mit/MesaLib.old/dist/src/gbm/main/
gbm.c 44 #include "gbm.h"
48 /** Returns the file description for the gbm device
53 gbm_device_get_fd(struct gbm_device *gbm)
55 return gbm->fd;
58 /** Get the backend name for the given gbm device
64 gbm_device_get_backend_name(struct gbm_device *gbm)
66 return gbm->name;
71 * \param gbm The created buffer manager
82 gbm_device_is_format_supported(struct gbm_device *gbm,
85 return gbm->is_format_supported(gbm, format, usage)
129 struct gbm_device *gbm = NULL; local
    [all...]
gbmint.h 31 #include "gbm.h"
43 * \brief Internal implementation details of gbm
60 void (*destroy)(struct gbm_device *gbm);
61 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,
109 struct gbm_device *gbm; member in struct:gbm_bo
120 struct gbm_device *gbm; member in struct:gbm_surface
gbm.h 42 * \file gbm.h
83 * re-namespaced. New GBM formats must not be added, unless they are
235 gbm_device_get_fd(struct gbm_device *gbm);
238 gbm_device_get_backend_name(struct gbm_device *gbm);
241 gbm_device_is_format_supported(struct gbm_device *gbm,
245 gbm_device_get_format_modifier_plane_count(struct gbm_device *gbm,
250 gbm_device_destroy(struct gbm_device *gbm);
256 gbm_bo_create(struct gbm_device *gbm,
261 gbm_bo_create_with_modifiers(struct gbm_device *gbm,
291 gbm_bo_import(struct gbm_device *gbm, uint32_t type
    [all...]
  /xsrc/external/mit/xf86-video-ati-kms/dist/src/
radeon_bo_helper.h 27 #include <gbm.h>
35 struct gbm_bo *gbm; member in union:radeon_buffer::__anon6932
101 gbm_bo_destroy(buf->bo.gbm);
radeon_bo_helper.c 221 bo->bo.gbm = gbm_bo_create(info->gbm, width, height, gbm_format, bo_use);
222 if (!bo->bo.gbm) {
230 *new_pitch = gbm_bo_get_stride(bo->bo.gbm);
488 bo->bo.gbm = gbm_bo_import(info->gbm, GBM_BO_IMPORT_FD, &data, bo_use);
489 if (!bo->bo.gbm)
radeon_glamor.h 40 #include <gbm.h>
  /xsrc/external/mit/xf86-video-amdgpu/dist/src/
amdgpu_bo_helper.c 27 #include <gbm.h>
69 if (!(usage_hint & AMDGPU_CREATE_PIXMAP_GTT) && info->gbm) {
92 pixmap_buffer->bo.gbm = gbm_bo_create(info->gbm, width, height,
95 if (!pixmap_buffer->bo.gbm) {
103 *new_pitch = gbm_bo_get_stride(pixmap_buffer->bo.gbm);
145 *handle = gbm_bo_get_handle(bo->bo.gbm).u32;
246 handle = gbm_bo_get_handle(bo->bo.gbm).u32;
247 stride = gbm_bo_get_stride(bo->bo.gbm);
248 height = gbm_bo_get_height(bo->bo.gbm);
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gbm/backends/dri/
gbm_driint.h 133 gbm_dri_device(struct gbm_device *gbm)
135 return (struct gbm_dri_device *) gbm;
165 ret = drmIoctl(bo->base.gbm->fd, DRM_IOCTL_MODE_MAP_DUMB, &map_arg);
170 MAP_SHARED, bo->base.gbm->fd, map_arg.offset);
gbm_dri.c 77 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm);
90 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm);
103 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm);
122 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm);
159 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm);
191 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm);
303 * osx/cygwin/windows/bsd gets support for GBM..
557 gbm_dri_is_format_supported(struct gbm_device *gbm,
561 struct gbm_dri_device *dri = gbm_dri_device(gbm);
595 gbm_dri_get_format_modifier_plane_count(struct gbm_device *gbm,
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gbm/backends/dri/
gbm_dri.c 100 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm);
113 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm);
126 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm);
157 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm);
194 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm);
226 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm);
325 fprintf(stderr, "gbm: did not find extension %s version %d\n",
341 * osx/cygwin/windows/bsd gets support for GBM..
629 gbm_dri_is_format_supported(struct gbm_device *gbm,
633 struct gbm_dri_device *dri = gbm_dri_device(gbm);
    [all...]
gbm_driint.h 143 gbm_dri_device(struct gbm_device *gbm)
145 return (struct gbm_dri_device *) gbm;
175 ret = drmIoctl(bo->base.gbm->v0.fd, DRM_IOCTL_MODE_MAP_DUMB, &map_arg);
180 MAP_SHARED, bo->base.gbm->v0.fd, map_arg.offset);
  /xsrc/external/mit/mesa-demos/dist/src/egl/opengl/
eglkms.c 30 #include <gbm.h>
171 struct gbm_device *gbm; local
183 gbm = gbm_create_device(fd);
184 if (gbm == NULL) {
185 fprintf(stderr, "couldn't create gbm device\n");
190 dpy = eglGetDisplay(gbm);
225 gs = gbm_surface_create(gbm, kms.mode.hdisplay, kms.mode.vdisplay,
284 gbm_device_destroy(gbm);
  /xsrc/external/mit/MesaLib.old/dist/doxygen/
Makefile 19 gbm.doxy \
  /xsrc/external/mit/xorg-server/dist/hw/xfree86/drivers/modesetting/
present.c 244 struct gbm_bo *gbm; local
259 if (drmmode_crtc->rotate_bo.gbm)
283 gbm = ms->glamor.gbm_bo_from_pixmap(screen, pixmap);
284 if (gbm) {
288 format = gbm_bo_get_format(gbm);
289 modifier = gbm_bo_get_modifier(gbm);
290 gbm_bo_destroy(gbm);
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/glsl_tests/
amdgcn_glslc.c 51 #include <gbm.h>
81 struct gbm_device *gbm = gbm_create_device(fd); local
82 if (unlikely(gbm == NULL)) {
83 fprintf(stderr, "ERROR: Couldn't create gbm device\n");
88 gbm, NULL);
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/glsl_tests/
amdgcn_glslc.c 51 #include <gbm.h>
81 struct gbm_device *gbm = gbm_create_device(fd); local
82 if (unlikely(gbm == NULL)) {
83 fprintf(stderr, "ERROR: Couldn't create gbm device\n");
88 gbm, NULL);
  /xsrc/external/mit/xorg-server/dist/glamor/
glamor_egl.c 42 #include <gbm.h>
59 struct gbm_device *gbm; member in struct:glamor_egl_screen_private
143 return glamor_egl->gbm;
191 /* GBM doesn't have an import path from handles, so we make a
314 bo = gbm_bo_create_with_modifiers(glamor_egl->gbm, width, height,
324 bo = gbm_bo_create(glamor_egl->gbm, width, height, format,
334 "Failed to make %dx%dx%dbpp GBM bo\n",
345 "Failed to make %dx%dx%dbpp pixmap from GBM bo\n",
360 /* Now, swap the tex/gbm/EGLImage/etc. of the exported pixmap into
384 return gbm_bo_import(glamor_egl->gbm, GBM_BO_IMPORT_EGL_IMAGE
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/egl/drivers/dri2/
platform_drm.c 49 struct gbm_dri_device *device = gbm_dri_device(_surf->gbm);
170 _eglError(EGL_BAD_MATCH, "EGL config not compatible with GBM format");
198 * that belongs to the GBM platform. Any such call fails and generates
201 _eglError(EGL_BAD_PARAMETER, "cannot create EGL pixmap surfaces on GBM");
687 struct gbm_device *gbm; local
697 gbm = disp->PlatformDisplay;
698 if (gbm == NULL) {
703 gbm = gbm_create_device(dri2_dpy->fd);
704 if (gbm == NULL) {
705 err = "DRI2: failed to create gbm device"
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/egl/drivers/dri2/
platform_drm.c 48 struct gbm_dri_device *device = gbm_dri_device(_surf->gbm);
164 _eglError(EGL_BAD_MATCH, "EGL config not compatible with GBM format");
193 * that belongs to the GBM platform. Any such call fails and generates
196 _eglError(EGL_BAD_PARAMETER, "cannot create EGL pixmap surfaces on GBM");
685 struct gbm_device *gbm; local
699 gbm = disp->PlatformDisplay;
700 if (gbm == NULL) {
705 gbm = gbm_create_device(dri2_dpy->fd);
706 if (gbm == NULL) {
707 err = "DRI2: failed to create gbm device"
    [all...]

Completed in 15 milliseconds

1 2