1#ifndef _IPXE_EFI_UGADRAW_H
2#define _IPXE_EFI_UGADRAW_H
20#define EFI_UGA_DRAW_PROTOCOL_GUID \
22 0x982c298b, 0xf4fa, 0x41cb, {0xb8, 0x38, 0x77, 0xaa, 0x68, 0x8f, 0xb8, 0x39 } \
UINT64 UINTN
Unsigned value of native width.
unsigned char UINT8
1-byte unsigned value.
unsigned int UINT32
4-byte unsigned value.
#define OPTIONAL
Passing the datum to the function is optional, and a NULL is passed if the value is not supplied.
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
GUID EFI_GUID
128-bit buffer containing a unique identifier value.
EFI_STATUS(EFIAPI * EFI_UGA_DRAW_PROTOCOL_SET_MODE)(IN EFI_UGA_DRAW_PROTOCOL *This, IN UINT32 HorizontalResolution, IN UINT32 VerticalResolution, IN UINT32 ColorDepth, IN UINT32 RefreshRate)
Set the current video mode information.
EFI_GUID gEfiUgaDrawProtocolGuid
EFI_UGA_BLT_OPERATION
Enumration value for actions of Blt operations.
@ EfiUgaVideoToVideo
Copy from the video display rectangle (SourceX, SourceY) (SourceX + Width, SourceY + Height) ....
@ EfiUgaVideoToBltBuffer
Read data from the video display rectangle (SourceX, SourceY) (SourceX + Width, SourceY + Height) and...
@ EfiUgaBltBufferToVideo
Write data from the BltBuffer rectangle (SourceX, SourceY) (SourceX + Width, SourceY + Height) direct...
@ EfiUgaVideoFill
Write data from the BltBuffer pixel (SourceX, SourceY) directly to every pixel of the video display r...
@ EfiUgaBltMax
Maxmimum value for enumration value of Blt operation.
EFI_STATUS(EFIAPI * EFI_UGA_DRAW_PROTOCOL_GET_MODE)(IN EFI_UGA_DRAW_PROTOCOL *This, OUT UINT32 *HorizontalResolution, OUT UINT32 *VerticalResolution, OUT UINT32 *ColorDepth, OUT UINT32 *RefreshRate)
Return the current video mode information.
struct _EFI_UGA_DRAW_PROTOCOL EFI_UGA_DRAW_PROTOCOL
EFI_STATUS(EFIAPI * EFI_UGA_DRAW_PROTOCOL_BLT)(IN EFI_UGA_DRAW_PROTOCOL *This, IN EFI_UGA_PIXEL *BltBuffer OPTIONAL, IN EFI_UGA_BLT_OPERATION BltOperation, IN UINTN SourceX, IN UINTN SourceY, IN UINTN DestinationX, IN UINTN DestinationY, IN UINTN Width, IN UINTN Height, IN UINTN Delta OPTIONAL)
Blt a rectangle of pixels on the graphics screen.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
This protocol provides a basic abstraction to set video modes and copy pixels to and from the graphic...
EFI_UGA_DRAW_PROTOCOL_SET_MODE SetMode
EFI_UGA_DRAW_PROTOCOL_GET_MODE GetMode
EFI_UGA_DRAW_PROTOCOL_BLT Blt