Home
last modified time | relevance | path

Searched refs:wl_drm (Results 1 – 8 of 8) sorted by relevance

/external/mesa3d/src/egl/wayland/wayland-drm/
Dwayland-drm.h20 struct wl_drm { struct
35 struct wl_drm *drm; argument
47 wayland_drm_buffer_get(struct wl_drm *drm, struct wl_resource *resource) in wayland_drm_buffer_get()
59 struct wl_drm *
65 wayland_drm_uninit(struct wl_drm *drm);
Dwayland-drm.c46 struct wl_drm *drm = buffer->drm; in destroy_buffer()
67 struct wl_drm *drm = wl_resource_get_user_data(resource); in create_buffer()
179 struct wl_drm *drm = wl_resource_get_user_data(resource); in drm_authenticate()
199 struct wl_drm *drm = data; in bind_drm()
240 struct wl_drm *
245 struct wl_drm *drm; in wayland_drm_init()
267 wayland_drm_uninit(struct wl_drm *drm) in wayland_drm_uninit()
/external/mesa3d/src/egl/drivers/dri2/
Dplatform_wayland.c150 if (dri2_dpy->wl_dmabuf || dri2_dpy->wl_drm) { in dri2_wl_create_window_surface()
181 if (dri2_dpy->wl_drm) { in dri2_wl_create_window_surface()
182 dri2_surf->wl_drm_wrapper = wl_proxy_create_wrapper(dri2_dpy->wl_drm); in dri2_wl_create_window_surface()
816 struct wl_drm *wl_drm = in create_wl_buffer() local
817 dri2_surf ? dri2_surf->wl_drm_wrapper : dri2_dpy->wl_drm; in create_wl_buffer()
825 ret = wl_drm_create_prime_buffer(wl_drm, fd, width, height, fourcc, 0, in create_wl_buffer()
829 struct wl_drm *wl_drm = in create_wl_buffer() local
830 dri2_surf ? dri2_surf->wl_drm_wrapper : dri2_dpy->wl_drm; in create_wl_buffer()
838 ret = wl_drm_create_buffer(wl_drm, name, width, height, stride, fourcc); in create_wl_buffer()
1049 wl_drm_authenticate(dri2_dpy->wl_drm, id); in dri2_wl_authenticate()
[all …]
Degl_dri2.h207 struct wl_drm *wl_server_drm;
208 struct wl_drm *wl_drm; member
271 struct wl_drm *wl_drm_wrapper;
Degl_dri2.c2781 dri2_dpy->gbm_dri->wl_drm = dri2_dpy->wl_server_drm; in dri2_bind_wayland_display_wl()
/external/mesa3d/src/gbm/backends/dri/
Dgbm_driint.h99 struct wl_drm *wl_drm; member
Dgbm_dri.c907 if (!dri->wl_drm) { in gbm_dri_bo_import()
912 wb = wayland_drm_buffer_get(dri->wl_drm, (struct wl_resource *) buffer); in gbm_dri_bo_import()
/external/mesa3d/src/vulkan/wsi/
Dwsi_common_wayland.c55 struct wl_drm * drm;
99 drm_handle_device(void *data, struct wl_drm *drm, const char *name) in drm_handle_device()
148 drm_handle_format(void *data, struct wl_drm *drm, uint32_t wl_format) in drm_handle_format()
207 drm_handle_authenticated(void *data, struct wl_drm *drm) in drm_handle_authenticated()
212 drm_handle_capabilities(void *data, struct wl_drm *drm, uint32_t capabilities) in drm_handle_capabilities()
571 struct wl_drm * drm_wrapper;