TianoCore EDK2 master
Loading...
Searching...
No Matches
UgaDraw.h
Go to the documentation of this file.
1
11#ifndef __UGA_DRAW_H__
12#define __UGA_DRAW_H__
13
14#define EFI_UGA_DRAW_PROTOCOL_GUID \
15 { \
16 0x982c298b, 0xf4fa, 0x41cb, {0xb8, 0x38, 0x77, 0xaa, 0x68, 0x8f, 0xb8, 0x39 } \
17 }
18
20
35typedef
39 OUT UINT32 *HorizontalResolution,
40 OUT UINT32 *VerticalResolution,
41 OUT UINT32 *ColorDepth,
42 OUT UINT32 *RefreshRate
43 );
44
58typedef
62 IN UINT32 HorizontalResolution,
63 IN UINT32 VerticalResolution,
64 IN UINT32 ColorDepth,
65 IN UINT32 RefreshRate
66 );
67
68typedef struct {
69 UINT8 Blue;
70 UINT8 Green;
71 UINT8 Red;
72 UINT8 Reserved;
74
75typedef union {
76 EFI_UGA_PIXEL Pixel;
77 UINT32 Raw;
79
83typedef enum {
88
95
102
107
111
132typedef
136 IN EFI_UGA_PIXEL *BltBuffer OPTIONAL,
137 IN EFI_UGA_BLT_OPERATION BltOperation,
138 IN UINTN SourceX,
139 IN UINTN SourceY,
140 IN UINTN DestinationX,
141 IN UINTN DestinationY,
142 IN UINTN Width,
143 IN UINTN Height,
144 IN UINTN Delta OPTIONAL
145 );
146
155};
156
157extern EFI_GUID gEfiUgaDrawProtocolGuid;
158
159#endif
UINT64 UINTN
#define OPTIONAL
Definition: Base.h:290
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
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)
Definition: UgaDraw.h:60
EFI_UGA_BLT_OPERATION
Definition: UgaDraw.h:83
@ EfiUgaVideoToVideo
Definition: UgaDraw.h:103
@ EfiUgaVideoToBltBuffer
Definition: UgaDraw.h:89
@ EfiUgaBltBufferToVideo
Definition: UgaDraw.h:96
@ EfiUgaVideoFill
Definition: UgaDraw.h:84
@ EfiUgaBltMax
Definition: UgaDraw.h:108
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)
Definition: UgaDraw.h:37
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)
Definition: UgaDraw.h:134
Definition: Base.h:213