Do not draw anything during DrawLogo.
Previously a series of diagonal color lines would be drawn to the screen, and then quickly replaced by the boot logo. Now the screen will remain black until the boot logo is shown. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8689 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -751,27 +751,6 @@ DrawLogo (
|
||||
UINTN ScreenHeight
|
||||
)
|
||||
{
|
||||
UINTN Offset;
|
||||
UINTN X;
|
||||
UINTN Y;
|
||||
UINT8 Color;
|
||||
|
||||
Offset = 0;
|
||||
for (Y = 0; Y < ScreenHeight; Y++) {
|
||||
for (X = 0; X < ScreenWidth; X++) {
|
||||
Color = (UINT8) (256 * (X + Y) / (ScreenWidth + ScreenHeight));
|
||||
Private->LineBuffer[X] = Color;
|
||||
}
|
||||
|
||||
Private->PciIo->Mem.Write (
|
||||
Private->PciIo,
|
||||
EfiPciIoWidthUint32,
|
||||
0,
|
||||
Offset + (Y * ScreenWidth),
|
||||
ScreenWidth >> 2,
|
||||
Private->LineBuffer
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user