Home | History | Annotate | Download | only in vdpau

Lines Matching full:res_tmpl

50    struct pipe_resource res_tmpl, *res;
73 memset(&res_tmpl, 0, sizeof(res_tmpl));
75 res_tmpl.target = PIPE_TEXTURE_2D;
76 res_tmpl.format = FormatRGBAToPipe(rgba_format);
77 res_tmpl.width0 = width;
78 res_tmpl.height0 = height;
79 res_tmpl.depth0 = 1;
80 res_tmpl.array_size = 1;
81 res_tmpl.bind = PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_RENDER_TARGET;
82 res_tmpl.usage = PIPE_USAGE_STATIC;
85 res = pipe->screen->resource_create(pipe->screen, &res_tmpl);
288 struct pipe_resource *res, res_tmpl;
317 memset(&res_tmpl, 0, sizeof(res_tmpl));
318 res_tmpl.target = PIPE_TEXTURE_2D;
319 res_tmpl.format = index_format;
322 res_tmpl.width0 = abs(destination_rect->x0-destination_rect->x1);
323 res_tmpl.height0 = abs(destination_rect->y0-destination_rect->y1);
325 res_tmpl.width0 = vlsurface->surface->texture->width0;
326 res_tmpl.height0 = vlsurface->surface->texture->height0;
328 res_tmpl.depth0 = 1;
329 res_tmpl.array_size = 1;
330 res_tmpl.usage = PIPE_USAGE_STAGING;
331 res_tmpl.bind = PIPE_BIND_SAMPLER_VIEW;
336 res = context->screen->resource_create(context->screen, &res_tmpl);
358 memset(&res_tmpl, 0, sizeof(res_tmpl));
359 res_tmpl.target = PIPE_TEXTURE_1D;
360 res_tmpl.format = colortbl_format;
361 res_tmpl.width0 = 1 << util_format_get_component_bits(
363 res_tmpl.height0 = 1;
364 res_tmpl.depth0 = 1;
365 res_tmpl.array_size = 1;
366 res_tmpl.usage = PIPE_USAGE_STAGING;
367 res_tmpl.bind = PIPE_BIND_SAMPLER_VIEW;
369 res = context->screen->resource_create(context->screen, &res_tmpl);