Struct uefi::proto::console::gop::GraphicsOutput [−][src]
#[repr(C)]pub struct GraphicsOutput<'boot> { /* fields omitted */ }
Provides access to the video hardware’s frame buffer.
The GOP can be used to set the properties of the frame buffer, and also allows the app to access the in-memory buffer.
Implementations
impl<'boot> GraphicsOutput<'boot>
[src]
impl<'boot> GraphicsOutput<'boot>
[src]pub fn modes(&self) -> impl ExactSizeIterator<Item = Completion<Mode>> + '_
[src]
pub fn modes(&self) -> impl ExactSizeIterator<Item = Completion<Mode>> + '_
[src]Returns information about all available graphics modes.
pub fn set_mode(&mut self, mode: &Mode) -> Result
[src]
pub fn set_mode(&mut self, mode: &Mode) -> Result
[src]Sets the video device into the specified mode, clearing visible portions of the output display to black.
This function will invalidate the current framebuffer.
pub fn blt(&mut self, op: BltOp<'_>) -> Result
[src]
pub fn blt(&mut self, op: BltOp<'_>) -> Result
[src]Performs a blt (block transfer) operation on the frame buffer.
Every operation requires different parameters.
pub fn current_mode_info(&self) -> ModeInfo
[src]
pub fn current_mode_info(&self) -> ModeInfo
[src]Returns the frame buffer information for the current mode.
pub fn frame_buffer(&mut self) -> FrameBuffer<'_>
[src]
pub fn frame_buffer(&mut self) -> FrameBuffer<'_>
[src]Access the frame buffer directly