MdeModulePkg[all]  0.98
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
FrameBufferBltLib.h File Reference

Typedefs

typedef struct
FRAME_BUFFER_CONFIGURE 
FRAME_BUFFER_CONFIGURE
 

Functions

RETURN_STATUS EFIAPI FrameBufferBltConfigure (IN VOID *FrameBuffer, IN EFI_GRAPHICS_OUTPUT_MODE_INFORMATION *FrameBufferInfo, IN OUT FRAME_BUFFER_CONFIGURE *Configure, IN OUT UINTN *ConfigureSize)
 
RETURN_STATUS EFIAPI FrameBufferBlt (IN FRAME_BUFFER_CONFIGURE *Configure, IN OUT EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer, IN EFI_GRAPHICS_OUTPUT_BLT_OPERATION BltOperation, IN UINTN SourceX, IN UINTN SourceY, IN UINTN DestinationX, IN UINTN DestinationY, IN UINTN Width, IN UINTN Height, IN UINTN Delta)
 

Detailed Description

Library for performing UEFI GOP Blt operations on a framebuffer

Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Typedef Documentation

Function Documentation

RETURN_STATUS EFIAPI FrameBufferBlt ( IN FRAME_BUFFER_CONFIGURE Configure,
IN OUT EFI_GRAPHICS_OUTPUT_BLT_PIXEL *  BltBuffer,
IN EFI_GRAPHICS_OUTPUT_BLT_OPERATION  BltOperation,
IN UINTN  SourceX,
IN UINTN  SourceY,
IN UINTN  DestinationX,
IN UINTN  DestinationY,
IN UINTN  Width,
IN UINTN  Height,
IN UINTN  Delta 
)

Performs a UEFI Graphics Output Protocol Blt operation.

Parameters
[in]ConfigurePointer to a configuration which was successfully created by FrameBufferBltConfigure ().
[in,out]BltBufferThe data to transfer to screen.
[in]BltOperationThe operation to perform.
[in]SourceXThe X coordinate of the source for BltOperation.
[in]SourceYThe Y coordinate of the source for BltOperation.
[in]DestinationXThe X coordinate of the destination for BltOperation.
[in]DestinationYThe Y coordinate of the destination for BltOperation.
[in]WidthThe width of a rectangle in the blt rectangle in pixels.
[in]HeightThe height of a rectangle in the blt rectangle in pixels.
[in]DeltaNot used for EfiBltVideoFill and EfiBltVideoToVideo operation. If a Delta of 0 is used, the entire BltBuffer will be operated on. If a subrectangle of the BltBuffer is used, then Delta represents the number of bytes in a row of the BltBuffer.
Return values
RETURN_INVALID_PARAMETERInvalid parameter were passed in.
RETURN_SUCCESSThe Blt operation was performed successfully.
RETURN_STATUS EFIAPI FrameBufferBltConfigure ( IN VOID FrameBuffer,
IN EFI_GRAPHICS_OUTPUT_MODE_INFORMATION *  FrameBufferInfo,
IN OUT FRAME_BUFFER_CONFIGURE Configure,
IN OUT UINTN ConfigureSize 
)

Create the configuration for a video frame buffer.

The configuration is returned in the caller provided buffer.

Parameters
[in]FrameBufferPointer to the start of the frame buffer.
[in]FrameBufferInfoDescribes the frame buffer characteristics.
[in,out]ConfigureThe created configuration information.
[in,out]ConfigureSizeSize of the configuration information.
Return values
RETURN_SUCCESSThe configuration was successful created.
RETURN_BUFFER_TOO_SMALLThe Configure is to too small. The required size is returned in ConfigureSize.
RETURN_UNSUPPORTEDThe requested mode is not supported by this implementaion.