Changeset 58459 in vbox for trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Protocol/GraphicsOutput.h
- Timestamp:
- Oct 28, 2015 8:17:18 PM (9 years ago)
- Location:
- trunk/src/VBox/Devices/EFI/Firmware
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware
-
Property svn:mergeinfo
set to (toggle deleted branches)
/vendor/edk2/current 103735-103757
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Protocol/GraphicsOutput.h
r48674 r58459 4 4 Abstraction of a very simple graphics device. 5 5 6 Copyright (c) 2006 - 20 08, Intel Corporation. All rights reserved.<BR>6 Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR> 7 7 This program and the accompanying materials 8 8 are licensed and made available under the terms and conditions of the BSD License … … 102 102 @param Info A pointer to callee allocated buffer that returns information about ModeNumber. 103 103 104 @retval EFI_SUCCESS Mode information returned. 105 @retval EFI_BUFFER_TOO_SMALL The Info buffer was too small. 104 @retval EFI_SUCCESS Valid mode information was returned. 106 105 @retval EFI_DEVICE_ERROR A hardware error occurred trying to retrieve the video mode. 107 @retval EFI_NOT_STARTED Video display is not initialized. Call SetMode () 108 @retval EFI_INVALID_PARAMETER One of the input args was NULL. 106 @retval EFI_INVALID_PARAMETER ModeNumber is not valid. 109 107 110 108 **/ … … 154 152 typedef enum { 155 153 /// 156 /// Write data from the BltBuffer pixel (SourceX, SourceY)154 /// Write data from the BltBuffer pixel (0, 0) 157 155 /// directly to every pixel of the video display rectangle 158 156 /// (DestinationX, DestinationY) (DestinationX + Width, DestinationY + Height). … … 172 170 173 171 /// 174 /// Write data from the 172 /// Write data from the BltBuffer rectangle 175 173 /// (SourceX, SourceY) (SourceX + Width, SourceY + Height) directly to the 176 174 /// video display rectangle (DestinationX, DestinationY) … … 183 181 /// 184 182 /// Copy from the video display rectangle (SourceX, SourceY) 185 /// (SourceX + Width, SourceY + Height) .to the video display rectangle183 /// (SourceX + Width, SourceY + Height) to the video display rectangle 186 184 /// (DestinationX, DestinationY) (DestinationX + Width, DestinationY + Height). 187 /// The BltBuffer and Delta are not used in this mode. 188 /// EfiBltVideoToVideo, 185 /// The BltBuffer and Delta are not used in this mode. 189 186 /// 190 187 EfiBltVideoToVideo, … … 197 194 198 195 @param This Protocol instance pointer. 199 @param BltBuffer Buffer containing data to blit into video buffer. This 200 buffer has a size of Width*Height*sizeof(EFI_GRAPHICS_OUTPUT_BLT_PIXEL) 201 @param BltOperation Operation to perform on BlitBuffer and video memory 202 @param SourceX X coordinate of source for the BltBuffer. 203 @param SourceY Y coordinate of source for the BltBuffer. 204 @param DestinationX X coordinate of destination for the BltBuffer. 205 @param DestinationY Y coordinate of destination for the BltBuffer. 206 @param Width Width of rectangle in BltBuffer in pixels. 207 @param Height Hight of rectangle in BltBuffer in pixels. 208 @param Delta OPTIONAL 209 210 @retval EFI_SUCCESS The Blt operation completed. 196 @param BltBuffer The data to transfer to the graphics screen. 197 Size is at least Width*Height*sizeof(EFI_GRAPHICS_OUTPUT_BLT_PIXEL). 198 @param BltOperation The operation to perform when copying BltBuffer on to the graphics screen. 199 @param SourceX The X coordinate of source for the BltOperation. 200 @param SourceY The Y coordinate of source for the BltOperation. 201 @param DestinationX The X coordinate of destination for the BltOperation. 202 @param DestinationY The Y coordinate of destination for the BltOperation. 203 @param Width The width of a rectangle in the blt rectangle in pixels. 204 @param Height The height of a rectangle in the blt rectangle in pixels. 205 @param Delta Not used for EfiBltVideoFill or the EfiBltVideoToVideo operation. 206 If a Delta of zero is used, the entire BltBuffer is being operated on. 207 If a subrectangle of the BltBuffer is being used then Delta 208 represents the number of bytes in a row of the BltBuffer. 209 210 @retval EFI_SUCCESS BltBuffer was drawn to the graphics screen. 211 211 @retval EFI_INVALID_PARAMETER BltOperation is not valid. 212 @retval EFI_DEVICE_ERROR A hardware error occured writting to the video buffer.212 @retval EFI_DEVICE_ERROR The device had an error and could not complete the request. 213 213 214 214 **/ … … 251 251 EFI_PHYSICAL_ADDRESS FrameBufferBase; 252 252 /// 253 /// Size of the frame buffer represented by FrameBufferBase in bytes. 253 /// Amount of frame buffer needed to support the active mode as defined by 254 /// PixelsPerScanLine xVerticalResolution x PixelElementSize. 254 255 /// 255 256 UINTN FrameBufferSize;
Note:
See TracChangeset
for help on using the changeset viewer.