Lines Matching refs:whandle
115 struct winsys_handle whandle; in st_vdpau_resource_from_description() local
131 memset(&whandle, 0, sizeof(whandle)); in st_vdpau_resource_from_description()
132 whandle.type = WINSYS_HANDLE_TYPE_FD; in st_vdpau_resource_from_description()
133 whandle.handle = desc->handle; in st_vdpau_resource_from_description()
134 whandle.modifier = DRM_FORMAT_MOD_INVALID; in st_vdpau_resource_from_description()
135 whandle.offset = desc->offset; in st_vdpau_resource_from_description()
136 whandle.stride = desc->stride; in st_vdpau_resource_from_description()
137 whandle.format = VdpFormatRGBAToPipe(desc->format); in st_vdpau_resource_from_description()
139 res = st->screen->resource_from_handle(st->screen, &templ, &whandle, in st_vdpau_resource_from_description()
216 struct winsys_handle whandle = { .type = WINSYS_HANDLE_TYPE_FD }; in st_vdpau_map_surface() local
221 res->screen->resource_get_handle(res->screen, NULL, res, &whandle, in st_vdpau_map_surface()
223 whandle.modifier = DRM_FORMAT_MOD_INVALID; in st_vdpau_map_surface()
224 new_res = screen->resource_from_handle(screen, res, &whandle, usage); in st_vdpau_map_surface()
225 close(whandle.handle); in st_vdpau_map_surface()