Lines Matching refs:screen
51 static enum pipe_format XvIDToPipe(struct pipe_screen *screen,
55 assert(screen);
64 if (!screen->is_format_supported(
65 screen, ret, PIPE_TEXTURE_2D, 0, 0, PIPE_BIND_SAMPLER_VIEW))
71 if (!screen->is_format_supported(
72 screen, ret, PIPE_TEXTURE_2D, 0, 0, PIPE_BIND_SAMPLER_VIEW))
81 if (!screen->is_format_supported(
82 screen, ret, PIPE_TEXTURE_2D, 0, 0, PIPE_BIND_SAMPLER_VIEW)) {
106 static int PipeToComponentOrder(struct pipe_screen *screen,
111 assert(screen);
127 if (!screen->is_format_supported(
128 screen, *palette_format, PIPE_TEXTURE_1D, 0, 0,
299 tex_templ.format = XvIDToPipe(pipe->screen, xvimage_id);
301 if (pipe->screen->get_video_param(pipe->screen,
318 tex = pipe->screen->resource_create(pipe->screen, &tex_templ);
338 pipe->screen, tex_templ.format, &palette_format,
349 tex = pipe->screen->resource_create(pipe->screen, &tex_templ);