pub struct VirtIOGpu<'a> { /* private fields */ }
Expand description

A virtio based graphics adapter.

It can operate in 2D mode and in 3D (virgl) mode. 3D mode will offload rendering ops to the host gpu and therefore requires a gpu with 3D support on the host machine. In 2D mode the virtio-gpu device provides support for ARGB Hardware cursors and multiple scanouts (aka heads).

Implementations

Create a new VirtIO-Gpu driver.

Acknowledge interrupt.

Get the resolution (width, height).

Setup framebuffer

Flush framebuffer to screen.

Set the pointer shape and position.

Move the pointer without updating the shape.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.