Home
last modified time | relevance | path

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

/third_party/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()
144 if (info.wl_drm) in device_select_find_wayland_pci_default()
145 wl_drm_destroy(info.wl_drm); in device_select_find_wayland_pci_default()
/third_party/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()
202 struct wl_drm *drm = data; in bind_drm()
264 struct wl_drm *
269 struct wl_drm *drm; in wayland_drm_init()
291 wayland_drm_uninit(struct wl_drm *drm) in wayland_drm_uninit()
/third_party/mesa3d/src/egl/drivers/dri2/
Degl_dri2.h51 struct wl_drm;
281 struct wl_drm *wl_server_drm;
282 struct wl_drm *wl_drm; member
334 struct wl_drm *wl_drm_wrapper;
Dplatform_wayland.c670 if (dri2_dpy->wl_dmabuf || dri2_dpy->wl_drm) { in dri2_wl_create_window_surface()
683 if (dri2_dpy->wl_drm) { in dri2_wl_create_window_surface()
684 dri2_surf->wl_drm_wrapper = wl_proxy_create_wrapper(dri2_dpy->wl_drm); in dri2_wl_create_window_surface()
1463 struct wl_drm *wl_drm = in create_wl_buffer() local
1464 dri2_surf ? dri2_surf->wl_drm_wrapper : dri2_dpy->wl_drm; in create_wl_buffer()
1478 ret = wl_drm_create_prime_buffer(wl_drm, fd, width, height, fourcc, 0, in create_wl_buffer()
1680 wl_drm_authenticate(dri2_dpy->wl_drm, id); in dri2_wl_authenticate()
1694 drm_handle_device(void *data, struct wl_drm *drm, const char *device) in drm_handle_device()
1723 wl_drm_authenticate(dri2_dpy->wl_drm, magic); in drm_handle_device()
1728 drm_handle_format(void *data, struct wl_drm *drm, uint32_t format) in drm_handle_format()
[all …]
Degl_dri2.c3305 dri2_dpy->gbm_dri->wl_drm = dri2_dpy->wl_server_drm; in dri2_bind_wayland_display_wl()
/third_party/mesa3d/src/gbm/backends/dri/
Dgbm_driint.h122 struct wl_drm *wl_drm; member
Dgbm_dri.c1006 if (!dri->wl_drm) { in gbm_dri_bo_import()
1011 wb = wayland_drm_buffer_get(dri->wl_drm, (struct wl_resource *) buffer); in gbm_dri_bo_import()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_device.c403 struct wl_drm *wl_drm; member
410 v3dv_drm_handle_device(void *data, struct wl_drm *drm, const char *device) in v3dv_drm_handle_device()
429 wl_drm_authenticate(info->wl_drm, magic); in v3dv_drm_handle_device()
433 v3dv_drm_handle_format(void *data, struct wl_drm *drm, uint32_t format) in v3dv_drm_handle_format()
438 v3dv_drm_handle_authenticated(void *data, struct wl_drm *drm) in v3dv_drm_handle_authenticated()
445 v3dv_drm_handle_capabilities(void *data, struct wl_drm *drm, uint32_t value) in v3dv_drm_handle_capabilities()
465 info->wl_drm = wl_registry_bind(registry, name, &wl_drm_interface, in v3dv_registry_global()
467 wl_drm_add_listener(info->wl_drm, &v3dv_drm_listener, data); in v3dv_registry_global()
485 .wl_drm = NULL, in create_display_fd_wayland()
516 wl_drm_destroy(info.wl_drm); in create_display_fd_wayland()
/third_party/mesa3d/docs/relnotes/
D9.2.3.rst77 - wayland: Don't rely on static variable for identifying wl_drm buffers
D9.0.1.rst105 - gbm: Reject buffers that are not wl_drm buffers in gbm_bo_import()
D18.3.4.rst129 - egl/wayland-drm: Only announce formats via wl_drm which the driver
D21.1.2.rst92 - vulkan/device_select: avoid segfault on Wayland if wl_drm is unavailable
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
D21.2.0.rst2399 - vulkan/device_select: avoid segfault on Wayland if wl_drm is unavailable
4874 - vulkan/wsi/wayland: remove swapchain wl_drm wrapper
D21.0.0.rst3115 - egl: fix typo in wl_drm error message
D22.0.0.rst2534 - egl/wayland: do not try to bind to wl_drm if not advertised
D21.3.0.rst4008 - vulkan/wsi/wayland: drop support for wl_drm
D21.1.0.rst5266 - egl: use render node for wl_drm if available