From 444d9d9b38f94973f965e335719c6c46265f70ef Mon Sep 17 00:00:00 2001 From: Joursoir Date: Sat, 26 Mar 2022 17:16:41 +0300 Subject: add double buffering --- UefiMonitorTest/UefiMonitorTest.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'UefiMonitorTest/UefiMonitorTest.h') diff --git a/UefiMonitorTest/UefiMonitorTest.h b/UefiMonitorTest/UefiMonitorTest.h index d6306bc..97ada85 100644 --- a/UefiMonitorTest/UefiMonitorTest.h +++ b/UefiMonitorTest/UefiMonitorTest.h @@ -10,7 +10,15 @@ typedef struct { /// Base address of graphics linear frame buffer. /// Starts from the upper left pixel. /// - UINT8 *Base; + UINT8 *FrontBuffer; + /// + /// Pointer to allocated memory. Secondary linear buffer. + /// + UINT8 *BackBuffer; + /// + /// Amount of frame buffer needed to support the active mode. + /// + UINTN BufferSize; /// /// The size of video screen in pixels in the X dimension. /// -- cgit v1.2.3-18-g5258