Searched refs:wdt (Results 1 – 1 of 1) sorted by relevance
88 wsw_dt_get_stride(struct wrapper_sw_displaytarget *wdt, unsigned *stride) in wsw_dt_get_stride() argument90 struct pipe_context *pipe = wdt->winsys->pipe; in wsw_dt_get_stride()91 struct pipe_resource *tex = wdt->tex; in wsw_dt_get_stride()96 0, 0, wdt->tex->width0, wdt->tex->height0); in wsw_dt_get_stride()101 wdt->stride = tr->stride; in wsw_dt_get_stride()112 struct wrapper_sw_displaytarget *wdt = CALLOC_STRUCT(wrapper_sw_displaytarget); in wsw_dt_wrap_texture() local113 if (!wdt) in wsw_dt_wrap_texture()116 wdt->tex = tex; in wsw_dt_wrap_texture()117 wdt->winsys = wsw; in wsw_dt_wrap_texture()119 if (!wsw_dt_get_stride(wdt, stride)) in wsw_dt_wrap_texture()[all …]