aboutsummaryrefslogtreecommitdiffstats
path: root/UefiMonitorTest/UefiMonitorTest.h
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2022-03-27 10:12:24 +0300
committerJoursoir <chat@joursoir.net>2022-03-27 10:13:51 +0300
commite32e65f7f87e75482c037e88c28ed7391461c25f (patch)
tree9eb7ca68c1a74856c12273bbd1b5c7b716200447 /UefiMonitorTest/UefiMonitorTest.h
parent444d9d9b38f94973f965e335719c6c46265f70ef (diff)
downloadumt-e32e65f7f87e75482c037e88c28ed7391461c25f.tar.gz
umt-e32e65f7f87e75482c037e88c28ed7391461c25f.tar.bz2
umt-e32e65f7f87e75482c037e88c28ed7391461c25f.zip
main: support different pixel formats
Diffstat (limited to 'UefiMonitorTest/UefiMonitorTest.h')
-rw-r--r--UefiMonitorTest/UefiMonitorTest.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/UefiMonitorTest/UefiMonitorTest.h b/UefiMonitorTest/UefiMonitorTest.h
index 97ada85..eb49249 100644
--- a/UefiMonitorTest/UefiMonitorTest.h
+++ b/UefiMonitorTest/UefiMonitorTest.h
@@ -28,6 +28,20 @@ typedef struct {
///
UINT32 Height;
///
+ /// Bit-mask defines what bits are used for different colors.
+ ///
+ EFI_PIXEL_BITMASK PixelMasks;
+ ///
+ /// Amount of bits to shift left.
+ /// R-G-B-Rsvd
+ ///
+ INT8 PixelShl[4];
+ ///
+ /// Amount of bits to shift right.
+ /// R-G-B-Rsvd
+ ///
+ INT8 PixelShr[4];
+ ///
/// The size of pixel color in bytes.
///
UINT32 PixelWidth;