OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
GopPassThrough.c File Reference
#include "OcConsoleLibInternal.h"
#include <Library/DebugLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/OcMiscLib.h>

Go to the source code of this file.

Functions

STATIC EFI_STATUS EFIAPI OcGopDrawQueryMode (IN EFI_GRAPHICS_OUTPUT_PROTOCOL *This, IN UINT32 ModeNumber, OUT UINTN *SizeOfInfo, OUT EFI_GRAPHICS_OUTPUT_MODE_INFORMATION **Info)
 
STATIC EFI_STATUS EFIAPI OcGopDrawSetMode (IN EFI_GRAPHICS_OUTPUT_PROTOCOL *This, IN UINT32 ModeNumber)
 
STATIC EFI_STATUS EFIAPI OcGopDrawBlt (IN EFI_GRAPHICS_OUTPUT_PROTOCOL *This, IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer OPTIONAL, 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 OPTIONAL)
 
EFI_STATUS OcProvideGopPassThrough (IN BOOLEAN ForAll)
 

Detailed Description

Copyright (C) 2020, vit9696. All rights reserved. Copyright (C) 2021, PMheart. All rights reserved.

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 http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

Definition in file GopPassThrough.c.

Function Documentation

◆ OcGopDrawBlt()

STATIC EFI_STATUS EFIAPI OcGopDrawBlt ( IN EFI_GRAPHICS_OUTPUT_PROTOCOL * This,
IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer OPTIONAL,
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 OPTIONAL )

Definition at line 76 of file GopPassThrough.c.

◆ OcGopDrawQueryMode()

STATIC EFI_STATUS EFIAPI OcGopDrawQueryMode ( IN EFI_GRAPHICS_OUTPUT_PROTOCOL * This,
IN UINT32 ModeNumber,
OUT UINTN * SizeOfInfo,
OUT EFI_GRAPHICS_OUTPUT_MODE_INFORMATION ** Info )

Definition at line 27 of file GopPassThrough.c.

◆ OcGopDrawSetMode()

STATIC EFI_STATUS EFIAPI OcGopDrawSetMode ( IN EFI_GRAPHICS_OUTPUT_PROTOCOL * This,
IN UINT32 ModeNumber )

Definition at line 57 of file GopPassThrough.c.

◆ OcProvideGopPassThrough()

EFI_STATUS OcProvideGopPassThrough ( IN BOOLEAN ForAll)

Provide GOP protocol instances on top of existing UGA instances.

Parameters
[in]ForAllFor all instances, otherwises for AppleFramebuffer-enabled only.
Return values
EFI_SUCCESSon success.

< or PixelBlueGreenRedReserved8BitPerColor?

Definition at line 108 of file GopPassThrough.c.