Lines Matching refs:res_tmpl
251 struct pipe_resource res_tmpl, *res; in vlVdpVideoMixerRender() local
349 memset(&res_tmpl, 0, sizeof(res_tmpl)); in vlVdpVideoMixerRender()
351 res_tmpl.target = PIPE_TEXTURE_2D; in vlVdpVideoMixerRender()
352 res_tmpl.format = dst->sampler_view->format; in vlVdpVideoMixerRender()
353 res_tmpl.depth0 = 1; in vlVdpVideoMixerRender()
354 res_tmpl.array_size = 1; in vlVdpVideoMixerRender()
355 res_tmpl.bind = PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_RENDER_TARGET; in vlVdpVideoMixerRender()
356 res_tmpl.usage = PIPE_USAGE_DEFAULT; in vlVdpVideoMixerRender()
359 res_tmpl.width0 = dst->surface->width; in vlVdpVideoMixerRender()
360 res_tmpl.height0 = dst->surface->height; in vlVdpVideoMixerRender()
362 res_tmpl.width0 = surf->templat.width; in vlVdpVideoMixerRender()
363 res_tmpl.height0 = surf->templat.height; in vlVdpVideoMixerRender()
366 res = pipe->screen->resource_create(pipe->screen, &res_tmpl); in vlVdpVideoMixerRender()
411 res = pipe->screen->resource_create(pipe->screen, &res_tmpl); in vlVdpVideoMixerRender()
432 res = pipe->screen->resource_create(pipe->screen, &res_tmpl); in vlVdpVideoMixerRender()