Searched refs:wsh (Results 1 – 4 of 4) sorted by relevance
/external/mesa3d/src/gallium/state_trackers/egl/common/ |
D | native_helper.c | 427 struct winsys_handle wsh; in drm_display_import_native_buffer() local 429 memset(&wsh, 0, sizeof(wsh)); in drm_display_import_native_buffer() 430 wsh.handle = nbuf->u.drm.name; in drm_display_import_native_buffer() 431 wsh.stride = nbuf->u.drm.stride; in drm_display_import_native_buffer() 433 res = screen->resource_from_handle(screen, &nbuf->u.drm.templ, &wsh); in drm_display_import_native_buffer() 454 struct winsys_handle wsh; in drm_display_export_native_buffer() local 459 memset(&wsh, 0, sizeof(wsh)); in drm_display_export_native_buffer() 460 wsh.type = DRM_API_HANDLE_TYPE_KMS; in drm_display_export_native_buffer() 461 if (!screen->resource_get_handle(screen, res, &wsh)) in drm_display_export_native_buffer() 464 nbuf->u.drm.handle = wsh.handle; in drm_display_export_native_buffer() [all …]
|
D | native_wayland_drm_bufmgr_helper.c | 21 struct winsys_handle wsh; in egl_g3d_wl_drm_helper_reference_buffer() local 48 memset(&wsh, 0, sizeof(wsh)); in egl_g3d_wl_drm_helper_reference_buffer() 49 wsh.handle = name; in egl_g3d_wl_drm_helper_reference_buffer() 50 wsh.stride = buffer->stride[0]; in egl_g3d_wl_drm_helper_reference_buffer() 53 ndpy->screen->resource_from_handle(ndpy->screen, &templ, &wsh); in egl_g3d_wl_drm_helper_reference_buffer()
|
/external/mesa3d/src/gallium/state_trackers/egl/wayland/ |
D | native_shm.c | 84 struct winsys_handle wsh; in wayland_create_shm_buffer() local 93 screen->resource_get_handle(screen, resource, &wsh); in wayland_create_shm_buffer() 109 pool = wl_shm_create_pool(shmdpy->wl_shm, wsh.fd, wsh.size); in wayland_create_shm_buffer() 111 wsh.stride, format); in wayland_create_shm_buffer()
|
D | native_drm.c | 99 struct winsys_handle wsh; in wayland_create_drm_buffer() local 106 wsh.type = DRM_API_HANDLE_TYPE_SHARED; in wayland_create_drm_buffer() 107 screen->resource_get_handle(screen, resource, &wsh); in wayland_create_drm_buffer() 123 return wl_drm_create_buffer(drmdpy->wl_drm, wsh.handle, in wayland_create_drm_buffer() 124 width, height, wsh.stride, format); in wayland_create_drm_buffer()
|