Searched defs:gbm (Results 1 - 8 of 8) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/gbm/
H A Dgbm_gallium_drmint.h57 gbm_gallium_drm_device(struct gbm_device *gbm) argument
59 return (struct gbm_gallium_drm_device *) gbm;
H A Dgbm_drm.c76 gbm_gallium_drm_is_format_supported(struct gbm_device *gbm, argument
80 struct gbm_gallium_drm_device *gdrm = gbm_gallium_drm_device(gbm);
107 gbm_gallium_drm_bo_import(struct gbm_device *gbm, argument
110 struct gbm_gallium_drm_device *gdrm = gbm_gallium_drm_device(gbm);
143 bo->base.base.gbm = gbm;
172 gbm_gallium_drm_bo_create(struct gbm_device *gbm, argument
176 struct gbm_gallium_drm_device *gdrm = gbm_gallium_drm_device(gbm);
186 bo->base.base.gbm = gbm;
222 gbm_gallium_drm_destroy(struct gbm_device *gbm) argument
[all...]
/external/mesa3d/src/gbm/backends/dri/
H A Dgbm_driint.h88 gbm_dri_device(struct gbm_device *gbm) argument
90 return (struct gbm_dri_device *) gbm;
H A Dgbm_dri.c71 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm);
84 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm);
97 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm);
207 fprintf(stderr, "gbm: failed to open any driver (search paths %s)",
214 fprintf(stderr, "gbm: driver exports no extensions (%s)", dlerror());
277 gbm_dri_is_format_supported(struct gbm_device *gbm, argument
317 struct gbm_dri_device *dri = gbm_dri_device(_bo->gbm);
360 gbm_dri_bo_import(struct gbm_device *gbm, argument
363 struct gbm_dri_device *dri = gbm_dri_device(gbm);
436 bo->base.base.gbm
452 create_dumb(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t format, uint32_t usage) argument
513 gbm_dri_bo_create(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t format, uint32_t usage) argument
577 gbm_dri_surface_create(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t format, uint32_t flags) argument
605 dri_destroy(struct gbm_device *gbm) argument
[all...]
/external/mesa3d/src/gbm/main/
H A Dgbmint.h31 #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,
65 struct gbm_bo *(*bo_create)(struct gbm_device *gbm,
69 struct gbm_bo *(*bo_import)(struct gbm_device *gbm, uint32_t type,
74 struct gbm_surface *(*surface_create)(struct gbm_device *gbm,
90 struct gbm_device *gbm; member in struct:gbm_bo
101 struct gbm_device *gbm; member in struct:gbm_surface
H A Dgbm.c40 #include "gbm.h"
51 /** Returns the file description for the gbm device
56 gbm_device_get_fd(struct gbm_device *gbm) argument
58 return gbm->fd;
62 /** Get the backend name for the given gbm device
68 gbm_device_get_backend_name(struct gbm_device *gbm) argument
70 return gbm->name;
75 * \param gbm The created buffer manager
86 gbm_device_is_format_supported(struct gbm_device *gbm, argument
89 return gbm
97 gbm_device_destroy(struct gbm_device *gbm) argument
107 struct gbm_device *gbm = NULL; local
145 struct gbm_device *gbm = NULL; local
325 gbm_bo_create(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t format, uint32_t usage) argument
364 gbm_bo_import(struct gbm_device *gbm, uint32_t type, void *buffer, uint32_t usage) argument
385 gbm_surface_create(struct gbm_device *gbm, uint32_t width, uint32_t height, uint32_t format, uint32_t flags) argument
[all...]
/external/mesa3d/src/egl/drivers/dri2/
H A Dplatform_drm.c398 struct gbm_device *gbm; local
410 gbm = disp->PlatformDisplay;
411 if (gbm == NULL) {
414 gbm = gbm_create_device(fd);
415 if (gbm == NULL)
419 if (strcmp(gbm_device_get_backend_name(gbm), "drm") != 0) {
424 dri2_dpy->gbm_dri = gbm_dri_device(gbm);
431 fd = dup(gbm_device_get_fd(gbm));
/external/mesa3d/src/gallium/state_trackers/egl/drm/
H A Dnative_drm.c131 /* gbm owns screen */
310 struct gbm_gallium_drm_device *gbm; local
314 gbm = dpy;
316 if (gbm == NULL) {
327 /* FIXME: Use an internal constructor to create a gbm
330 gbm = gbm_gallium_drm_device(gbm_create_device(fd));
334 if (gbm == NULL)
337 if (strcmp(gbm_device_get_backend_name(&gbm->base.base), "drm") != 0 ||
338 gbm->base.type != GBM_DRM_DRIVER_TYPE_GALLIUM) {
340 gbm_device_destroy(&gbm
[all...]

Completed in 138 milliseconds