Home
last modified time | relevance | path

Searched refs:drmdpy (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/egl/wayland/
Dnative_drm.c72 struct wayland_drm_display *drmdpy = wayland_drm_display(ndpy); in wayland_drm_display_destroy() local
74 if (drmdpy->wl_drm) in wayland_drm_display_destroy()
75 wl_drm_destroy(drmdpy->wl_drm); in wayland_drm_display_destroy()
76 if (drmdpy->device_name) in wayland_drm_display_destroy()
77 FREE(drmdpy->device_name); in wayland_drm_display_destroy()
78 if (drmdpy->base.configs) in wayland_drm_display_destroy()
79 FREE(drmdpy->base.configs); in wayland_drm_display_destroy()
80 if (drmdpy->base.own_dpy) in wayland_drm_display_destroy()
81 wl_display_disconnect(drmdpy->base.dpy); in wayland_drm_display_destroy()
85 if (drmdpy->fd) in wayland_drm_display_destroy()
[all …]
Dnative_wayland.h123 wayland_roundtrip(struct wayland_display *drmdpy);
/external/mesa3d/src/gallium/state_trackers/egl/drm/
Dnative_drm.c56 struct drm_display *drmdpy = drm_display(ndpy); in drm_display_get_configs() local
60 if (!drmdpy->config) { in drm_display_get_configs()
64 drmdpy->config = CALLOC(1, sizeof(*drmdpy->config)); in drm_display_get_configs()
65 if (!drmdpy->config) in drm_display_get_configs()
68 nconf = &drmdpy->config->base; in drm_display_get_configs()
75 if (!drm_display_is_format_supported(&drmdpy->base, format, TRUE)) { in drm_display_get_configs()
77 if (!drm_display_is_format_supported(&drmdpy->base, format, TRUE)) in drm_display_get_configs()
81 FREE(drmdpy->config); in drm_display_get_configs()
82 drmdpy->config = NULL; in drm_display_get_configs()
89 if (drmdpy->resources) in drm_display_get_configs()
[all …]
Dmodeset.c66 struct drm_display *drmdpy = drmsurf->drmdpy; in drm_surface_init_framebuffers() local
104 if (!drmdpy->base.screen->resource_get_handle(drmdpy->base.screen, in drm_surface_init_framebuffers()
109 err = drmModeAddFB(drmdpy->fd, drmsurf->width, drmsurf->height, in drm_surface_init_framebuffers()
126 struct drm_display *drmdpy = drmsurf->drmdpy; in drm_surface_flush_frontbuffer() local
129 drmModeDirtyFB(drmdpy->fd, drmsurf->front_fb.buffer_id, NULL, 0); in drm_surface_flush_frontbuffer()
139 struct drm_display *drmdpy = drmsurf->drmdpy; in drm_surface_copy_swap() local
142 if (!resource_surface_copy_swap(drmsurf->rsurf, &drmdpy->base)) in drm_surface_copy_swap()
145 (void) resource_surface_flush(drmsurf->rsurf, &drmdpy->base); in drm_surface_copy_swap()
159 struct drm_display *drmdpy = drmsurf->drmdpy; in drm_surface_swap_buffers() local
172 err = drmModePageFlip(drmdpy->fd, drmcrtc->crtc->crtc_id, in drm_surface_swap_buffers()
[all …]
Dnative_drm.h96 struct drm_display *drmdpy; member