Lines Matching refs:device

47 vlVdpOutputSurfaceCreate(VdpDevice device,
62 vlVdpDevice *dev = vlGetDataHTAB(device);
74 DeviceReference(&vlsurface->device, dev);
136 DeviceReference(&vlsurface->device, NULL);
154 pipe = vlsurface->device->context;
156 mtx_lock(&vlsurface->device->mutex);
162 mtx_unlock(&vlsurface->device->mutex);
165 DeviceReference(&vlsurface->device, NULL);
213 pipe = vlsurface->device->context;
220 mtx_lock(&vlsurface->device->mutex);
226 mtx_unlock(&vlsurface->device->mutex);
234 mtx_unlock(&vlsurface->device->mutex);
257 pipe = vlsurface->device->context;
264 mtx_lock(&vlsurface->device->mutex);
270 mtx_unlock(&vlsurface->device->mutex);
277 mtx_unlock(&vlsurface->device->mutex);
314 context = vlsurface->device->context;
315 compositor = &vlsurface->device->compositor;
351 mtx_lock(&vlsurface->device->mutex);
417 mtx_unlock(&vlsurface->device->mutex);
424 mtx_unlock(&vlsurface->device->mutex);
457 pipe = vlsurface->device->context;
458 compositor = &vlsurface->device->compositor;
468 mtx_lock(&vlsurface->device->mutex);
485 mtx_unlock(&vlsurface->device->mutex);
492 mtx_unlock(&vlsurface->device->mutex);
525 mtx_unlock(&vlsurface->device->mutex);
530 mtx_unlock(&vlsurface->device->mutex);
675 src_sv = dst_vlsurface->device->dummy_sv;
682 if (dst_vlsurface->device != src_vlsurface->device)
688 mtx_lock(&dst_vlsurface->device->mutex);
690 context = dst_vlsurface->device->context;
691 compositor = &dst_vlsurface->device->compositor;
710 mtx_unlock(&dst_vlsurface->device->mutex);
745 src_sv = dst_vlsurface->device->dummy_sv;
752 if (dst_vlsurface->device != src_vlsurface->device)
758 context = dst_vlsurface->device->context;
759 compositor = &dst_vlsurface->device->compositor;
762 mtx_lock(&dst_vlsurface->device->mutex);
776 mtx_unlock(&dst_vlsurface->device->mutex);
789 mtx_lock(&vlsurface->device->mutex);
790 vlsurface->device->context->flush(vlsurface->device->context, NULL, 0);
791 mtx_unlock(&vlsurface->device->mutex);
810 mtx_lock(&vlsurface->device->mutex);
811 vlsurface->device->context->flush(vlsurface->device->context, NULL, 0);
817 if (!pscreen->resource_get_handle(pscreen, vlsurface->device->context,
820 mtx_unlock(&vlsurface->device->mutex);
824 mtx_unlock(&vlsurface->device->mutex);