summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Protocol/UgaDraw.h
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-25 10:37:15 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-25 10:37:15 +0000
commit4ca9b6c4e7dbbcf94f21b54f41f761cefc6b1086 (patch)
tree9a160b769c30da11432d201c7ba7214ef452f650 /MdePkg/Include/Protocol/UgaDraw.h
parentbb80e3b213f1d9409cd97a63e4d40191ce502912 (diff)
downloadedk2-platforms-4ca9b6c4e7dbbcf94f21b54f41f761cefc6b1086.tar.xz
Code Scrub for Protocol and Ppi Definition
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5564 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Protocol/UgaDraw.h')
-rw-r--r--MdePkg/Include/Protocol/UgaDraw.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/MdePkg/Include/Protocol/UgaDraw.h b/MdePkg/Include/Protocol/UgaDraw.h
index 658de1e6da..d84620ced0 100644
--- a/MdePkg/Include/Protocol/UgaDraw.h
+++ b/MdePkg/Include/Protocol/UgaDraw.h
@@ -158,6 +158,25 @@ EFI_STATUS
IN UINTN Delta OPTIONAL
);
+/**
+ This protocol provides a basic abstraction to set video modes and
+ copy pixels to and from the graphics controller's frame buffer.
+
+ @par Protocol Description:
+ The EFI_UGA_DRAW_PROTOCOL provides a software abstraction to allow pixels to be drawn
+ directly to the frame buffer. The EFI_UGA_DRAW_PROTOCOL is designed to be lightweight and
+ to support the basic needs of graphics output prior to Operating System boot.
+
+ @param GetMode
+ Returns information about the geometry and configuration of the
+ graphics controller's current frame buffer configuration.
+
+ @param SetMode
+ Set the graphics device into a given mode and clears the frame buffer to black.
+
+ @param Blt
+ Software abstraction to draw on the video device's frame buffer.
+**/
struct _EFI_UGA_DRAW_PROTOCOL {
EFI_UGA_DRAW_PROTOCOL_GET_MODE GetMode;
EFI_UGA_DRAW_PROTOCOL_SET_MODE SetMode;