/external/chromium_org/third_party/mesa/src/src/egl/drivers/dri2/ |
platform_drm.c | 398 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/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/drm/ |
native_drm.c | 131 /* 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->base.base) [all...] |
/external/chromium_org/third_party/mesa/src/src/gbm/main/ |
gbm.c | 40 #include "gbm.h" 51 /** Returns the file description for the gbm device 56 gbm_device_get_fd(struct gbm_device *gbm) 58 return gbm->fd; 62 /** Get the backend name for the given gbm device 68 gbm_device_get_backend_name(struct gbm_device *gbm) 70 return gbm->name; 75 * \param gbm The created buffer manager 86 gbm_device_is_format_supported(struct gbm_device *gbm, 89 return gbm->is_format_supported(gbm, format, usage) 107 struct gbm_device *gbm = NULL; local 145 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, 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
|
/external/mesa3d/src/egl/drivers/dri2/ |
platform_drm.c | 398 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/ |
native_drm.c | 131 /* 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->base.base) [all...] |
/external/mesa3d/src/gbm/main/ |
gbm.c | 40 #include "gbm.h" 51 /** Returns the file description for the gbm device 56 gbm_device_get_fd(struct gbm_device *gbm) 58 return gbm->fd; 62 /** Get the backend name for the given gbm device 68 gbm_device_get_backend_name(struct gbm_device *gbm) 70 return gbm->name; 75 * \param gbm The created buffer manager 86 gbm_device_is_format_supported(struct gbm_device *gbm, 89 return gbm->is_format_supported(gbm, format, usage) 107 struct gbm_device *gbm = NULL; local 145 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, 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
|