Lines Matching refs:device

44 vlVdpOutputSurfaceCreate(VdpDevice device,  in vlVdpOutputSurfaceCreate()  argument
59 vlVdpDevice *dev = vlGetDataHTAB(device); in vlVdpOutputSurfaceCreate()
71 vlsurface->device = dev; in vlVdpOutputSurfaceCreate()
142 pipe = vlsurface->device->context; in vlVdpOutputSurfaceDestroy()
144 pipe_mutex_lock(vlsurface->device->mutex); in vlVdpOutputSurfaceDestroy()
145 vlVdpResolveDelayedRendering(vlsurface->device, NULL, NULL); in vlVdpOutputSurfaceDestroy()
151 pipe_mutex_unlock(vlsurface->device->mutex); in vlVdpOutputSurfaceDestroy()
201 pipe = vlsurface->device->context; in vlVdpOutputSurfaceGetBitsNative()
205 pipe_mutex_lock(vlsurface->device->mutex); in vlVdpOutputSurfaceGetBitsNative()
206 vlVdpResolveDelayedRendering(vlsurface->device, NULL, NULL); in vlVdpOutputSurfaceGetBitsNative()
212 pipe_mutex_unlock(vlsurface->device->mutex); in vlVdpOutputSurfaceGetBitsNative()
219 pipe_mutex_unlock(vlsurface->device->mutex); in vlVdpOutputSurfaceGetBitsNative()
228 pipe_mutex_unlock(vlsurface->device->mutex); in vlVdpOutputSurfaceGetBitsNative()
251 pipe = vlsurface->device->context; in vlVdpOutputSurfacePutBitsNative()
255 pipe_mutex_lock(vlsurface->device->mutex); in vlVdpOutputSurfacePutBitsNative()
256 vlVdpResolveDelayedRendering(vlsurface->device, NULL, NULL); in vlVdpOutputSurfacePutBitsNative()
262 pipe_mutex_unlock(vlsurface->device->mutex); in vlVdpOutputSurfacePutBitsNative()
299 context = vlsurface->device->context; in vlVdpOutputSurfacePutBitsIndexed()
300 compositor = &vlsurface->device->compositor; in vlVdpOutputSurfacePutBitsIndexed()
333 pipe_mutex_lock(vlsurface->device->mutex); in vlVdpOutputSurfacePutBitsIndexed()
334 vlVdpResolveDelayedRendering(vlsurface->device, NULL, NULL); in vlVdpOutputSurfacePutBitsIndexed()
397 pipe_mutex_unlock(vlsurface->device->mutex); in vlVdpOutputSurfacePutBitsIndexed()
404 pipe_mutex_unlock(vlsurface->device->mutex); in vlVdpOutputSurfacePutBitsIndexed()
437 pipe = vlsurface->device->context; in vlVdpOutputSurfacePutBitsYCbCr()
438 compositor = &vlsurface->device->compositor; in vlVdpOutputSurfacePutBitsYCbCr()
448 pipe_mutex_lock(vlsurface->device->mutex); in vlVdpOutputSurfacePutBitsYCbCr()
449 vlVdpResolveDelayedRendering(vlsurface->device, NULL, NULL); in vlVdpOutputSurfacePutBitsYCbCr()
464 pipe_mutex_unlock(vlsurface->device->mutex); in vlVdpOutputSurfacePutBitsYCbCr()
471 pipe_mutex_unlock(vlsurface->device->mutex); in vlVdpOutputSurfacePutBitsYCbCr()
502 pipe_mutex_unlock(vlsurface->device->mutex); in vlVdpOutputSurfacePutBitsYCbCr()
651 if (dst_vlsurface->device != src_vlsurface->device) in vlVdpOutputSurfaceRenderOutputSurface()
654 pipe_mutex_lock(dst_vlsurface->device->mutex); in vlVdpOutputSurfaceRenderOutputSurface()
655 vlVdpResolveDelayedRendering(dst_vlsurface->device, NULL, NULL); in vlVdpOutputSurfaceRenderOutputSurface()
657 context = dst_vlsurface->device->context; in vlVdpOutputSurfaceRenderOutputSurface()
658 compositor = &dst_vlsurface->device->compositor; in vlVdpOutputSurfaceRenderOutputSurface()
672 pipe_mutex_unlock(dst_vlsurface->device->mutex); in vlVdpOutputSurfaceRenderOutputSurface()
710 if (dst_vlsurface->device != src_vlsurface->device) in vlVdpOutputSurfaceRenderBitmapSurface()
713 context = dst_vlsurface->device->context; in vlVdpOutputSurfaceRenderBitmapSurface()
714 compositor = &dst_vlsurface->device->compositor; in vlVdpOutputSurfaceRenderBitmapSurface()
717 pipe_mutex_lock(dst_vlsurface->device->mutex); in vlVdpOutputSurfaceRenderBitmapSurface()
718 vlVdpResolveDelayedRendering(dst_vlsurface->device, NULL, NULL); in vlVdpOutputSurfaceRenderBitmapSurface()
731 pipe_mutex_unlock(dst_vlsurface->device->mutex); in vlVdpOutputSurfaceRenderBitmapSurface()