Searched refs:wl_drm (Results 1 - 9 of 9) sorted by relevance
/third_party/mesa3d/src/vulkan/device-select-layer/ |
H A D | device_select_wayland.c | 33 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() 86 if (strcmp(interface, "wl_drm") == 0) { in device_select_registry_global() 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() [all...] |
/third_party/mesa3d/src/egl/wayland/wayland-drm/ |
H A D | wayland-drm.h | 22 struct wl_drm { struct 37 struct wl_drm *drm; 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);
|
H A D | wayland-drm.c | 46 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/ |
H A D | egl_dri2.h | 51 struct wl_drm; 281 struct wl_drm *wl_server_drm; 282 struct wl_drm *wl_drm; member 334 struct wl_drm *wl_drm_wrapper;
|
H A D | platform_wayland.c | 188 /* wl_drm format codes overlap with DRIImage FourCC codes for all formats in dri2_wl_visual_idx_from_fourcc() 670 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() 1652 * because it is using wl_dmabuf/wl_drm as a proxy factory. We want the in dri2_wl_create_wayland_buffer_from_image() 1680 wl_drm_authenticate(dri2_dpy->wl_drm, i in dri2_wl_authenticate() [all...] |
H A D | egl_dri2.c | 2329 * __DRIimages. A wl_drm_buffer stores the wl_drm format code and the 2331 * wl_drm format code to a description of the planes in the buffer 3302 /* We have to share the wl_drm instance with gbm, so gbm can convert in dri2_bind_wayland_display_wl() 3305 dri2_dpy->gbm_dri->wl_drm = dri2_dpy->wl_server_drm; in dri2_bind_wayland_display_wl()
|
/third_party/mesa3d/src/gbm/backends/dri/ |
H A D | gbm_driint.h | 122 struct wl_drm *wl_drm; member
|
H A D | gbm_dri.c | 1006 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/ |
H A D | v3dv_device.c | 403 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() 464 if (strcmp(interface, "wl_drm") == 0) { in v3dv_registry_global() 465 info->wl_drm = wl_registry_bind(registry, name, &wl_drm_interface, in v3dv_registry_global() 467 wl_drm_add_listener(info->wl_drm, in v3dv_registry_global() [all...] |
Completed in 15 milliseconds