Lines Matching refs:virtio_gpu
8 mod virtio_gpu; module
47 use self::virtio_gpu::VirtioGpu;
207 virtio_gpu: VirtioGpu, field
211 fn new(virtio_gpu: VirtioGpu) -> Frontend { in new()
216 virtio_gpu, in new()
221 self.virtio_gpu.display() in display()
225 self.virtio_gpu.process_display() in process_display()
230 Ok(ResourceRequest::GetBuffer { id }) => self.virtio_gpu.export_resource(id), in process_resource_bridge()
235 Ok(fence_id) => self.virtio_gpu.export_fence(fence_id), in process_resource_bridge()
256 self.virtio_gpu.force_ctx_0(); in process_gpu_command()
260 self.virtio_gpu.display_info().to_vec(), in process_gpu_command()
278 self.virtio_gpu in process_gpu_command()
282 self.virtio_gpu.unref_resource(info.resource_id.to_native()) in process_gpu_command()
284 GpuCommand::SetScanout(info) => self.virtio_gpu.set_scanout( in process_gpu_command()
290 self.virtio_gpu.flush_resource(info.resource_id.to_native()) in process_gpu_command()
300 self.virtio_gpu.transfer_write(0, resource_id, transfer) in process_gpu_command()
317 self.virtio_gpu in process_gpu_command()
325 self.virtio_gpu.detach_backing(info.resource_id.to_native()) in process_gpu_command()
327 GpuCommand::UpdateCursor(info) => self.virtio_gpu.update_cursor( in process_gpu_command()
333 .virtio_gpu in process_gpu_command()
337 self.virtio_gpu.resource_assign_uuid(resource_id) in process_gpu_command()
340 .virtio_gpu in process_gpu_command()
343 .virtio_gpu in process_gpu_command()
346 .virtio_gpu in process_gpu_command()
349 self.virtio_gpu.destroy_context(info.hdr.ctx_id.to_native()) in process_gpu_command()
352 .virtio_gpu in process_gpu_command()
355 .virtio_gpu in process_gpu_command()
372 self.virtio_gpu in process_gpu_command()
392 self.virtio_gpu in process_gpu_command()
412 self.virtio_gpu in process_gpu_command()
420 self.virtio_gpu in process_gpu_command()
461 self.virtio_gpu.resource_create_blob( in process_gpu_command()
502 self.virtio_gpu in process_gpu_command()
508 self.virtio_gpu.resource_map_blob(resource_id, offset) in process_gpu_command()
512 self.virtio_gpu.resource_unmap_blob(resource_id) in process_gpu_command()
608 gpu_response = match self.virtio_gpu.create_fence(fence_data) { in process_descriptor()
657 let completed_fences = self.virtio_gpu.fence_poll(); in fence_poll()
1150 let virtio_gpu = match build( in activate() localVariable
1176 state: Frontend::new(virtio_gpu), in activate()