Home | History | Annotate | Download | only in common

Lines Matching refs:wsh

427          struct winsys_handle wsh;
429 memset(&wsh, 0, sizeof(wsh));
430 wsh.handle = nbuf->u.drm.name;
431 wsh.stride = nbuf->u.drm.stride;
433 res = screen->resource_from_handle(screen, &nbuf->u.drm.templ, &wsh);
454 struct winsys_handle wsh;
459 memset(&wsh, 0, sizeof(wsh));
460 wsh.type = DRM_API_HANDLE_TYPE_KMS;
461 if (!screen->resource_get_handle(screen, res, &wsh))
464 nbuf->u.drm.handle = wsh.handle;
465 nbuf->u.drm.stride = wsh.stride;
469 memset(&wsh, 0, sizeof(wsh));
470 wsh.type = DRM_API_HANDLE_TYPE_SHARED;
471 if (!screen->resource_get_handle(screen, res, &wsh))
474 nbuf->u.drm.name = wsh.handle;