X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FInclude%2FProtocol%2FGraphicsOutput.h;h=c1340301b535ea0fff4d92639f91d0906311d046;hp=afcc2b7d29bda04e1b9720e329a301a229cbf534;hb=ed66e1bc0d2be0a185fc47adab4930c3b7e2767f;hpb=8b13229b469f05ec22d76098b052bd6e943fecee diff --git a/MdePkg/Include/Protocol/GraphicsOutput.h b/MdePkg/Include/Protocol/GraphicsOutput.h index afcc2b7d29..c1340301b5 100644 --- a/MdePkg/Include/Protocol/GraphicsOutput.h +++ b/MdePkg/Include/Protocol/GraphicsOutput.h @@ -3,7 +3,7 @@ Abstraction of a very simple graphics device. - Copyright (c) 2006, Intel Corporation + Copyright (c) 2006 - 2008, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -72,8 +72,7 @@ EFI_STATUS IN UINT32 ModeNumber, OUT UINTN *SizeOfInfo, OUT EFI_GRAPHICS_OUTPUT_MODE_INFORMATION **Info - ) -; + ); /** Return the current video mode information. @@ -91,8 +90,7 @@ EFI_STATUS (EFIAPI *EFI_GRAPHICS_OUTPUT_PROTOCOL_SET_MODE)( IN EFI_GRAPHICS_OUTPUT_PROTOCOL *This, IN UINT32 ModeNumber - ) -; + ); typedef struct { UINT8 Blue; @@ -182,6 +180,27 @@ typedef struct { UINTN FrameBufferSize; } EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE; +/** + @par Protocol Description: + Provides a basic abstraction to set video modes and copy pixels to and from + the graphics controller's frame buffer. The linear address of the hardware + frame buffer is also exposed so software can write directly to the video hardware. + + @param QueryMode + Returns information for an available graphics mode that the graphics device + and the set of active video output devices supports. + + @param SetMode + Set the video device into the specified mode and clears the visible portions + of the output display to black. + + @param Blt + Software abstraction to draw on the video device's frame buffer. + + @param Mode + Pointer to EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE data. + +**/ struct _EFI_GRAPHICS_OUTPUT_PROTOCOL { EFI_GRAPHICS_OUTPUT_PROTOCOL_QUERY_MODE QueryMode; EFI_GRAPHICS_OUTPUT_PROTOCOL_SET_MODE SetMode;