Home
last modified time | relevance | path

Searched refs:gdrm (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/gbm/
Dgbm_drm.c80 struct gbm_gallium_drm_device *gdrm = gbm_gallium_drm_device(gbm); in gbm_gallium_drm_is_format_supported() local
87 if (!gdrm->screen->is_format_supported(gdrm->screen, PIPE_TEXTURE_2D, pf, 0, in gbm_gallium_drm_is_format_supported()
110 struct gbm_gallium_drm_device *gdrm = gbm_gallium_drm_device(gbm); in gbm_gallium_drm_bo_import() local
127 if (!gdrm->lookup_egl_image) in gbm_gallium_drm_bo_import()
130 resource = gdrm->lookup_egl_image(gdrm->lookup_egl_image_data, buffer); in gbm_gallium_drm_bo_import()
163 gdrm->screen->resource_get_handle(gdrm->screen, bo->resource, &whandle); in gbm_gallium_drm_bo_import()
176 struct gbm_gallium_drm_device *gdrm = gbm_gallium_drm_device(gbm); in gbm_gallium_drm_bo_create() local
205 bo->resource = gdrm->screen->resource_create(gdrm->screen, &templ); in gbm_gallium_drm_bo_create()
213 gdrm->screen->resource_get_handle(gdrm->screen, bo->resource, &whandle); in gbm_gallium_drm_bo_create()
224 struct gbm_gallium_drm_device *gdrm = gbm_gallium_drm_device(gbm); in gbm_gallium_drm_destroy() local
[all …]
Dgbm_gallium_drmint.h72 gallium_screen_create(struct gbm_gallium_drm_device *gdrm);
75 gallium_screen_destroy(struct gbm_gallium_drm_device *gdrm);
/external/mesa3d/src/gallium/targets/gbm/
Dgbm.c49 gallium_screen_create(struct gbm_gallium_drm_device *gdrm) in gallium_screen_create() argument
55 ret = pipe_loader_drm_probe_fd(&dev, gdrm->base.base.fd); in gallium_screen_create()
60 gdrm->screen = pipe_loader_create_screen(dev, get_library_search_path()); in gallium_screen_create()
61 if (gdrm->screen == NULL) { in gallium_screen_create()
62 debug_printf("failed to load driver: %s\n", gdrm->base.driver_name); in gallium_screen_create()
67 gdrm->driver = dev; in gallium_screen_create()
68 gdrm->base.driver_name = strdup(dev->driver_name); in gallium_screen_create()
73 gallium_screen_destroy(struct gbm_gallium_drm_device *gdrm) in gallium_screen_destroy() argument
75 FREE(gdrm->base.driver_name); in gallium_screen_destroy()
76 gdrm->screen->destroy(gdrm->screen); in gallium_screen_destroy()
[all …]