OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
UgaPassThrough.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 OcUgaDrawGetMode (IN EFI_UGA_DRAW_PROTOCOL *This, OUT UINT32 *HorizontalResolution, OUT UINT32 *VerticalResolution, OUT UINT32 *ColorDepth, OUT UINT32 *RefreshRate)
 
STATIC EFI_STATUS EFIAPI OcUgaDrawSetMode (IN EFI_UGA_DRAW_PROTOCOL *This, IN UINT32 HorizontalResolution, IN UINT32 VerticalResolution, IN UINT32 ColorDepth, IN UINT32 RefreshRate)
 
STATIC EFI_STATUS EFIAPI OcUgaDrawBlt (IN EFI_UGA_DRAW_PROTOCOL *This, IN EFI_UGA_PIXEL *BltBuffer OPTIONAL, IN EFI_UGA_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 OcProvideUgaPassThrough (VOID)
 

Detailed Description

Copyright (C) 2020, vit9696. 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 UgaPassThrough.c.

Function Documentation

◆ OcProvideUgaPassThrough()

EFI_STATUS OcProvideUgaPassThrough ( VOID )

Provide UGA protocol instances on top of existing GOP instances.

Return values
EFI_SUCCESSon success.

Definition at line 154 of file UgaPassThrough.c.

◆ OcUgaDrawBlt()

STATIC EFI_STATUS EFIAPI OcUgaDrawBlt ( IN EFI_UGA_DRAW_PROTOCOL * This,
IN EFI_UGA_PIXEL *BltBuffer OPTIONAL,
IN EFI_UGA_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 122 of file UgaPassThrough.c.

◆ OcUgaDrawGetMode()

STATIC EFI_STATUS EFIAPI OcUgaDrawGetMode ( IN EFI_UGA_DRAW_PROTOCOL * This,
OUT UINT32 * HorizontalResolution,
OUT UINT32 * VerticalResolution,
OUT UINT32 * ColorDepth,
OUT UINT32 * RefreshRate )

Definition at line 26 of file UgaPassThrough.c.

◆ OcUgaDrawSetMode()

STATIC EFI_STATUS EFIAPI OcUgaDrawSetMode ( IN EFI_UGA_DRAW_PROTOCOL * This,
IN UINT32 HorizontalResolution,
IN UINT32 VerticalResolution,
IN UINT32 ColorDepth,
IN UINT32 RefreshRate )

Definition at line 74 of file UgaPassThrough.c.