Lines Matching refs:res_tmpl
45 struct pipe_resource *res, res_tmpl; in vdp_imp_device_create_x11() local
86 memset(&res_tmpl, 0, sizeof(res_tmpl)); in vdp_imp_device_create_x11()
88 res_tmpl.target = PIPE_TEXTURE_2D; in vdp_imp_device_create_x11()
89 res_tmpl.format = PIPE_FORMAT_R8G8B8A8_UNORM; in vdp_imp_device_create_x11()
90 res_tmpl.width0 = 1; in vdp_imp_device_create_x11()
91 res_tmpl.height0 = 1; in vdp_imp_device_create_x11()
92 res_tmpl.depth0 = 1; in vdp_imp_device_create_x11()
93 res_tmpl.array_size = 1; in vdp_imp_device_create_x11()
94 res_tmpl.bind = PIPE_BIND_SAMPLER_VIEW; in vdp_imp_device_create_x11()
95 res_tmpl.usage = PIPE_USAGE_DEFAULT; in vdp_imp_device_create_x11()
97 if (!CheckSurfaceParams(pscreen, &res_tmpl)) { in vdp_imp_device_create_x11()
102 res = pscreen->resource_create(pscreen, &res_tmpl); in vdp_imp_device_create_x11()