Lines Matching refs:device

40 vlVdpPresentationQueueCreate(VdpDevice device,  in vlVdpPresentationQueueCreate()  argument
50 vlVdpDevice *dev = vlGetDataHTAB(device); in vlVdpPresentationQueueCreate()
58 if (dev != pqt->device) in vlVdpPresentationQueueCreate()
65 pq->device = dev; in vlVdpPresentationQueueCreate()
102 pipe_mutex_lock(pq->device->mutex); in vlVdpPresentationQueueDestroy()
104 pipe_mutex_unlock(pq->device->mutex); in vlVdpPresentationQueueDestroy()
134 pipe_mutex_lock(pq->device->mutex); in vlVdpPresentationQueueSetBackgroundColor()
136 pipe_mutex_unlock(pq->device->mutex); in vlVdpPresentationQueueSetBackgroundColor()
158 pipe_mutex_lock(pq->device->mutex); in vlVdpPresentationQueueGetBackgroundColor()
160 pipe_mutex_unlock(pq->device->mutex); in vlVdpPresentationQueueGetBackgroundColor()
186 pipe_mutex_lock(pq->device->mutex); in vlVdpPresentationQueueGetTime()
187 *current_time = vl_screen_get_timestamp(pq->device->vscreen, pq->drawable); in vlVdpPresentationQueueGetTime()
188 pipe_mutex_unlock(pq->device->mutex); in vlVdpPresentationQueueGetTime()
224 pipe = pq->device->context; in vlVdpPresentationQueueDisplay()
225 compositor = &pq->device->compositor; in vlVdpPresentationQueueDisplay()
228 pipe_mutex_lock(pq->device->mutex); in vlVdpPresentationQueueDisplay()
229 tex = vl_screen_texture_from_drawable(pq->device->vscreen, pq->drawable); in vlVdpPresentationQueueDisplay()
231 pipe_mutex_unlock(pq->device->mutex); in vlVdpPresentationQueueDisplay()
235 dirty_area = vl_screen_get_dirty_area(pq->device->vscreen); in vlVdpPresentationQueueDisplay()
249 if (pq->device->delayed_rendering.surface == surface && in vlVdpPresentationQueueDisplay()
253 cstate = pq->device->delayed_rendering.cstate; in vlVdpPresentationQueueDisplay()
255 vlVdpResolveDelayedRendering(pq->device, surf_draw, dirty_area); in vlVdpPresentationQueueDisplay()
258 vlVdpResolveDelayedRendering(pq->device, NULL, NULL); in vlVdpPresentationQueueDisplay()
271 vl_screen_set_next_timestamp(pq->device->vscreen, earliest_presentation_time); in vlVdpPresentationQueueDisplay()
275 vl_screen_get_private(pq->device->vscreen) in vlVdpPresentationQueueDisplay()
299 pipe_mutex_unlock(pq->device->mutex); in vlVdpPresentationQueueDisplay()
327 pipe_mutex_lock(pq->device->mutex); in vlVdpPresentationQueueBlockUntilSurfaceIdle()
329 screen = pq->device->vscreen->pscreen; in vlVdpPresentationQueueBlockUntilSurfaceIdle()
332 pipe_mutex_unlock(pq->device->mutex); in vlVdpPresentationQueueBlockUntilSurfaceIdle()
366 pipe_mutex_lock(pq->device->mutex); in vlVdpPresentationQueueQuerySurfaceStatus()
367 screen = pq->device->vscreen->pscreen; in vlVdpPresentationQueueQuerySurfaceStatus()
371 pipe_mutex_unlock(pq->device->mutex); in vlVdpPresentationQueueQuerySurfaceStatus()
378 pipe_mutex_unlock(pq->device->mutex); in vlVdpPresentationQueueQuerySurfaceStatus()