Abstraction of a very simple graphics device.\r
\r
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
- This program and the accompanying materials\r
- are licensed and made available under the terms and conditions of the BSD License\r
- which accompanies this distribution. The full text of the license may be found at\r
- http://opensource.org/licenses/bsd-license.php\r
-\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+ SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\r
#ifndef __UGA_DRAW_H__\r
#define __UGA_DRAW_H__\r
\r
-\r
#define EFI_UGA_DRAW_PROTOCOL_GUID \\r
{ \\r
0x982c298b, 0xf4fa, 0x41cb, {0xb8, 0x38, 0x77, 0xaa, 0x68, 0x8f, 0xb8, 0x39 } \\r
);\r
\r
typedef struct {\r
- UINT8 Blue;\r
- UINT8 Green;\r
- UINT8 Red;\r
- UINT8 Reserved;\r
+ UINT8 Blue;\r
+ UINT8 Green;\r
+ UINT8 Red;\r
+ UINT8 Reserved;\r
} EFI_UGA_PIXEL;\r
\r
typedef union {\r
- EFI_UGA_PIXEL Pixel;\r
- UINT32 Raw;\r
+ EFI_UGA_PIXEL Pixel;\r
+ UINT32 Raw;\r
} EFI_UGA_PIXEL_UNION;\r
\r
///\r
\r
@retval EFI_SUCCESS - The Blt operation completed.\r
@retval EFI_INVALID_PARAMETER - BltOperation is not valid.\r
- @retval EFI_DEVICE_ERROR - A hardware error occured writting to the video buffer.\r
+ @retval EFI_DEVICE_ERROR - A hardware error occurred writting to the video buffer.\r
\r
**/\r
typedef\r
EFI_STATUS\r
(EFIAPI *EFI_UGA_DRAW_PROTOCOL_BLT)(\r
- IN EFI_UGA_DRAW_PROTOCOL * This,\r
- IN EFI_UGA_PIXEL * BltBuffer, OPTIONAL\r
+ IN EFI_UGA_DRAW_PROTOCOL *This,\r
+ IN EFI_UGA_PIXEL *BltBuffer OPTIONAL,\r
IN EFI_UGA_BLT_OPERATION BltOperation,\r
IN UINTN SourceX,\r
IN UINTN SourceY,\r
/// copy pixels to and from the graphics controller's frame buffer.\r
///\r
struct _EFI_UGA_DRAW_PROTOCOL {\r
- EFI_UGA_DRAW_PROTOCOL_GET_MODE GetMode;\r
- EFI_UGA_DRAW_PROTOCOL_SET_MODE SetMode;\r
- EFI_UGA_DRAW_PROTOCOL_BLT Blt;\r
+ EFI_UGA_DRAW_PROTOCOL_GET_MODE GetMode;\r
+ EFI_UGA_DRAW_PROTOCOL_SET_MODE SetMode;\r
+ EFI_UGA_DRAW_PROTOCOL_BLT Blt;\r
};\r
\r
-extern EFI_GUID gEfiUgaDrawProtocolGuid;\r
+extern EFI_GUID gEfiUgaDrawProtocolGuid;\r
\r
#endif\r