Home
last modified time | relevance | path

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

/external/mesa3d/src/vulkan/device-select-layer/
Ddevice_select_wayland.c33 struct wl_drm *wl_drm; member
39 device_select_drm_handle_device(void *data, struct wl_drm *drm, const char *device) in device_select_drm_handle_device()
55 device_select_drm_handle_format(void *data, struct wl_drm *drm, uint32_t format) in device_select_drm_handle_format()
61 device_select_drm_handle_authenticated(void *data, struct wl_drm *drm) in device_select_drm_handle_authenticated()
68 device_select_drm_handle_capabilities(void *data, struct wl_drm *drm, uint32_t value) in device_select_drm_handle_capabilities()
87 info->wl_drm = wl_registry_bind(registry, name, &wl_drm_interface, MIN2(version, 2)); in device_select_registry_global()
88 wl_drm_add_listener(info->wl_drm, &ds_drm_listener, data); in device_select_registry_global()
142 wl_drm_destroy(info.wl_drm); in device_select_find_wayland_pci_default()
/external/mesa3d/src/egl/wayland/wayland-drm/
Dwayland-drm.h22 struct wl_drm { struct
37 struct wl_drm *drm; argument
49 wayland_drm_buffer_get(struct wl_drm *drm, struct wl_resource *resource) in wayland_drm_buffer_get()
61 struct wl_drm *
67 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()
181 struct wl_drm *drm = wl_resource_get_user_data(resource); in drm_authenticate()
201 struct wl_drm *drm = data; in bind_drm()
263 struct wl_drm *
268 struct wl_drm *drm; in wayland_drm_init()
290 wayland_drm_uninit(struct wl_drm *drm) in wayland_drm_uninit()
/external/mesa3d/src/vulkan/wsi/
Dwsi_common_wayland.c55 struct wl_drm * wl_drm; member
191 drm_handle_device(void *data, struct wl_drm *drm, const char *name) in drm_handle_device()
240 drm_handle_format(void *data, struct wl_drm *drm, uint32_t wl_format) in drm_handle_format()
250 drm_handle_authenticated(void *data, struct wl_drm *drm) in drm_handle_authenticated()
255 drm_handle_capabilities(void *data, struct wl_drm *drm, uint32_t capabilities) in drm_handle_capabilities()
325 assert(display->drm.wl_drm == NULL); in registry_handle_global()
328 display->drm.wl_drm = in registry_handle_global()
330 wl_drm_add_listener(display->drm.wl_drm, &drm_listener, display); in registry_handle_global()
359 if (display->drm.wl_drm) in wsi_wl_display_finish()
360 wl_drm_destroy(display->drm.wl_drm); in wsi_wl_display_finish()
[all …]
/external/mesa3d/src/egl/drivers/dri2/
Dplatform_wayland.c344 if (dri2_dpy->wl_dmabuf || dri2_dpy->wl_drm) { in dri2_wl_create_window_surface()
357 if (dri2_dpy->wl_drm) { in dri2_wl_create_window_surface()
358 dri2_surf->wl_drm_wrapper = wl_proxy_create_wrapper(dri2_dpy->wl_drm); in dri2_wl_create_window_surface()
1007 struct wl_drm *wl_drm = in create_wl_buffer() local
1008 dri2_surf ? dri2_surf->wl_drm_wrapper : dri2_dpy->wl_drm; in create_wl_buffer()
1016 ret = wl_drm_create_prime_buffer(wl_drm, fd, width, height, fourcc, 0, in create_wl_buffer()
1020 struct wl_drm *wl_drm = in create_wl_buffer() local
1021 dri2_surf ? dri2_surf->wl_drm_wrapper : dri2_dpy->wl_drm; in create_wl_buffer()
1029 ret = wl_drm_create_buffer(wl_drm, name, width, height, stride, fourcc); in create_wl_buffer()
1226 wl_drm_authenticate(dri2_dpy->wl_drm, id); in dri2_wl_authenticate()
[all …]
Degl_dri2.h51 struct wl_drm;
236 struct wl_drm *wl_server_drm;
237 struct wl_drm *wl_drm; member
294 struct wl_drm *wl_drm_wrapper;
Degl_dri2.c3264 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.h117 struct wl_drm *wl_drm; member
Dgbm_dri.c901 if (!dri->wl_drm) { in gbm_dri_bo_import()
906 wb = wayland_drm_buffer_get(dri->wl_drm, (struct wl_resource *) buffer); in gbm_dri_bo_import()
/external/mesa3d/docs/relnotes/
D9.2.3.rst77 - wayland: Don't rely on static variable for identifying wl_drm buffers
D18.3.4.rst129 - egl/wayland-drm: Only announce formats via wl_drm which the driver
D9.0.1.rst105 - gbm: Reject buffers that are not wl_drm buffers in gbm_bo_import()
D19.1.0.rst1050 - vulkan/wsi: create wl_drm wrapper as needed
1054 - vulkan/wsi: make wl_drm optional
D19.0.0.rst1833 - egl/wayland-drm: Only announce formats via wl_drm which the driver