Lines Matching refs:surf
206 vlVdpOutputSurface *surf; in vlVdpPresentationQueueDisplay() local
220 surf = vlGetDataHTAB(surface); in vlVdpPresentationQueueDisplay()
221 if (!surf) in vlVdpPresentationQueueDisplay()
242 surf->timestamp = (vlVdpTime)earliest_presentation_time; in vlVdpPresentationQueueDisplay()
266 … vl_compositor_set_rgba_layer(cstate, compositor, 0, surf->sampler_view, &src_rect, NULL, NULL); in vlVdpPresentationQueueDisplay()
278 pipe->screen->fence_reference(pipe->screen, &surf->fence, NULL); in vlVdpPresentationQueueDisplay()
279 pipe->flush(pipe, &surf->fence); in vlVdpPresentationQueueDisplay()
313 vlVdpOutputSurface *surf; in vlVdpPresentationQueueBlockUntilSurfaceIdle() local
323 surf = vlGetDataHTAB(surface); in vlVdpPresentationQueueBlockUntilSurfaceIdle()
324 if (!surf) in vlVdpPresentationQueueBlockUntilSurfaceIdle()
328 if (surf->fence) { in vlVdpPresentationQueueBlockUntilSurfaceIdle()
330 screen->fence_finish(screen, surf->fence, 0); in vlVdpPresentationQueueBlockUntilSurfaceIdle()
347 vlVdpOutputSurface *surf; in vlVdpPresentationQueueQuerySurfaceStatus() local
357 surf = vlGetDataHTAB(surface); in vlVdpPresentationQueueQuerySurfaceStatus()
358 if (!surf) in vlVdpPresentationQueueQuerySurfaceStatus()
363 if (!surf->fence) { in vlVdpPresentationQueueQuerySurfaceStatus()
368 if (screen->fence_signalled(screen, surf->fence)) { in vlVdpPresentationQueueQuerySurfaceStatus()
369 screen->fence_reference(screen, &surf->fence, NULL); in vlVdpPresentationQueueQuerySurfaceStatus()