• Home
  • Raw
  • Download

Lines Matching refs:tex_templ

267    struct pipe_resource tex_templ, *tex;  in XvMCCreateSubpicture()  local
297 memset(&tex_templ, 0, sizeof(tex_templ)); in XvMCCreateSubpicture()
298 tex_templ.target = PIPE_TEXTURE_2D; in XvMCCreateSubpicture()
299 tex_templ.format = XvIDToPipe(pipe->screen, xvimage_id); in XvMCCreateSubpicture()
300 tex_templ.last_level = 0; in XvMCCreateSubpicture()
305 tex_templ.width0 = width; in XvMCCreateSubpicture()
306 tex_templ.height0 = height; in XvMCCreateSubpicture()
309 tex_templ.width0 = util_next_power_of_two(width); in XvMCCreateSubpicture()
310 tex_templ.height0 = util_next_power_of_two(height); in XvMCCreateSubpicture()
312 tex_templ.depth0 = 1; in XvMCCreateSubpicture()
313 tex_templ.array_size = 1; in XvMCCreateSubpicture()
314 tex_templ.usage = PIPE_USAGE_DYNAMIC; in XvMCCreateSubpicture()
315 tex_templ.bind = PIPE_BIND_SAMPLER_VIEW; in XvMCCreateSubpicture()
316 tex_templ.flags = 0; in XvMCCreateSubpicture()
318 tex = pipe->screen->resource_create(pipe->screen, &tex_templ); in XvMCCreateSubpicture()
338 pipe->screen, tex_templ.format, &palette_format, in XvMCCreateSubpicture()
343 tex_templ.target = PIPE_TEXTURE_1D; in XvMCCreateSubpicture()
344 tex_templ.format = palette_format; in XvMCCreateSubpicture()
345 tex_templ.width0 = subpicture->num_palette_entries; in XvMCCreateSubpicture()
346 tex_templ.height0 = 1; in XvMCCreateSubpicture()
347 tex_templ.usage = PIPE_USAGE_DEFAULT; in XvMCCreateSubpicture()
349 tex = pipe->screen->resource_create(pipe->screen, &tex_templ); in XvMCCreateSubpicture()