Lines Matching refs:surf
209 vlVdpOutputSurface *surf;
224 surf = vlGetDataHTAB(surface);
225 if (!surf)
234 if (vscreen->set_back_texture_from_output && surf->send_to_X)
235 vscreen->set_back_texture_from_output(vscreen, surf->surface->texture, clip_width, clip_height);
242 if (!vscreen->set_back_texture_from_output || !surf->send_to_X) {
260 vl_compositor_set_rgba_layer(cstate, compositor, 0, surf->sampler_view, &src_rect, NULL, NULL);
269 pipe->screen->fence_reference(pipe->screen, &surf->fence, NULL);
270 pipe->flush(pipe, &surf->fence, 0);
274 pq->last_surf = surf;
292 if (!vscreen->set_back_texture_from_output || !surf->send_to_X) {
310 vlVdpOutputSurface *surf;
320 surf = vlGetDataHTAB(surface);
321 if (!surf)
325 if (surf->fence) {
327 screen->fence_finish(screen, NULL, surf->fence, PIPE_TIMEOUT_INFINITE);
328 screen->fence_reference(screen, &surf->fence, NULL);
345 vlVdpOutputSurface *surf;
355 surf = vlGetDataHTAB(surface);
356 if (!surf)
361 if (!surf->fence) {
362 if (pq->last_surf == surf)
369 if (screen->fence_finish(screen, NULL, surf->fence, 0)) {
370 screen->fence_reference(screen, &surf->fence, NULL);