Lines Matching refs:pipe
52 struct pipe_context *pipe;
66 pipe = dev->context;
67 if (!pipe)
98 if (!CheckSurfaceParams(pipe->screen, &res_tmpl))
101 res = pipe->screen->resource_create(pipe->screen, &res_tmpl);
106 vlsurface->sampler_view = pipe->create_sampler_view(pipe, res, &sv_templ);
112 vlsurface->surface = pipe->create_surface(pipe, res, &surf_templ);
122 if (!vl_compositor_init_state(&vlsurface->cstate, pipe))
148 struct pipe_context *pipe;
154 pipe = vlsurface->device->context;
160 pipe->screen->fence_reference(pipe->screen, &vlsurface->fence, NULL);
203 struct pipe_context *pipe;
213 pipe = vlsurface->device->context;
214 if (!pipe)
224 map = pipe->texture_map(pipe, res, 0, PIPE_MAP_READ, &box, &transfer);
233 pipe_texture_unmap(pipe, transfer);
251 struct pipe_context *pipe;
257 pipe = vlsurface->device->context;
258 if (!pipe)
274 pipe->texture_subdata(pipe, vlsurface->sampler_view->texture, 0,
444 struct pipe_context *pipe;
457 pipe = vlsurface->device->context;
483 vbuffer = pipe->create_video_buffer(pipe, &vtmpl);
505 pipe->texture_subdata(pipe, sv->texture, 0, PIPE_MAP_WRITE, &dst_box,