aboutsummaryrefslogtreecommitdiffstats
path: root/UefiMonitorTest/Graphics.c
diff options
context:
space:
mode:
Diffstat (limited to 'UefiMonitorTest/Graphics.c')
-rw-r--r--UefiMonitorTest/Graphics.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/UefiMonitorTest/Graphics.c b/UefiMonitorTest/Graphics.c
index ce0b757..0570dd8 100644
--- a/UefiMonitorTest/Graphics.c
+++ b/UefiMonitorTest/Graphics.c
@@ -33,6 +33,25 @@ CONST EFI_PIXEL_BITMASK mBgrPixelMasks = {
0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000
};
+CONST GRAPHICS_PIXEL_COLOR gUmtColors[UMT_COLOR_END] = {
+ { 0x00, 0x00, 0x00, 0x00 },
+ { 0xFF, 0xFF, 0xFF, 0x00 },
+ { 0x00, 0x00, 0xFF, 0x00 },
+ { 0x00, 0xFF, 0x00, 0x00 },
+ { 0xFF, 0x00, 0x00, 0x00 },
+ { 0x00, 0xFF, 0xFF, 0x00 },
+ { 0xFF, 0xFF, 0x00, 0x00 },
+ { 0xFF, 0x00, 0xFF, 0x00 },
+ { 0xC0, 0xC0, 0xC0, 0x00 },
+ { 0x80, 0x80, 0x80, 0x00 },
+ { 0x00, 0x00, 0x80, 0x00 },
+ { 0x00, 0x80, 0x80, 0x00 },
+ { 0x00, 0x80, 0x00, 0x00 },
+ { 0x80, 0x00, 0x80, 0x00 },
+ { 0x80, 0x80, 0x00, 0x00 },
+ { 0x80, 0x00, 0x00, 0x00 }
+};
+
STATIC
VOID
ParseGraphicsPixelFormat (