Enum uefi::proto::console::gop::BltOp [−][src]
pub enum BltOp<'buf> {
VideoFill {
color: BltPixel,
dest: (usize, usize),
dims: (usize, usize),
},
VideoToBltBuffer {
buffer: &'buf mut [BltPixel],
src: (usize, usize),
dest: BltRegion,
dims: (usize, usize),
},
BufferToVideo {
buffer: &'buf [BltPixel],
src: BltRegion,
dest: (usize, usize),
dims: (usize, usize),
},
VideoToVideo {
src: (usize, usize),
dest: (usize, usize),
dims: (usize, usize),
},
}
Expand description
Blit operation to perform.
Variants
Fills a rectangle of video display with a pixel color.
Fields of VideoFill
color: BltPixel
The color to fill with.
dest: (usize, usize)
The X / Y coordinates of the destination rectangle.
dims: (usize, usize)
The width / height of the rectangle.
Reads data from the video display to the buffer.
Fields of VideoToBltBuffer
Write data from the buffer to the video rectangle. Delta must be the stride (count of bytes in a row) of the buffer.
Fields of BufferToVideo
Copy from the source rectangle in video memory to the destination rectangle, also in video memory.