OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
GopPerf.c File Reference
#include <Uefi.h>
#include <Guid/AppleFile.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Library/PrintLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/OcBootManagementLib.h>
#include <Library/OcConsoleLib.h>
#include <Library/OcMiscLib.h>
#include <Library/OcFileLib.h>
#include <Library/TimerLib.h>
#include <Library/UefiApplicationEntryPoint.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiRuntimeServicesTableLib.h>
#include <Library/UefiLib.h>
#include <Protocol/DevicePath.h>
#include <Protocol/GraphicsOutput.h>

Go to the source code of this file.

Macros

#define NUM_COLORS   5
 
#define NUM_BLITS   200
 

Functions

STATIC EFI_STATUS PerfConsoleGop (VOID)
 
EFI_STATUS EFIAPI UefiMain (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 

Variables

STATIC UINT32 mColors [NUM_COLORS]
 

Detailed Description

Test graphics output protocol.

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

Macro Definition Documentation

◆ NUM_BLITS

#define NUM_BLITS   200

Definition at line 34 of file GopPerf.c.

◆ NUM_COLORS

#define NUM_COLORS   5

Definition at line 33 of file GopPerf.c.

Function Documentation

◆ PerfConsoleGop()

STATIC EFI_STATUS PerfConsoleGop ( VOID )

Definition at line 46 of file GopPerf.c.

◆ UefiMain()

EFI_STATUS EFIAPI UefiMain ( IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE * SystemTable )

Definition at line 162 of file GopPerf.c.

Variable Documentation

◆ mColors

STATIC UINT32 mColors[NUM_COLORS]
Initial value:
= {
0xFFFFFFFF,
0xFFFFFF00,
0xFFFF00FF,
0xFF00FFFF,
0xFF0000FF,
}

Definition at line 36 of file GopPerf.c.