diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2016-09-23 15:54:01 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2016-09-28 16:22:20 +0800 |
commit | e0ac9c8a9bd67ab934bca86504706b5400cde558 (patch) | |
tree | eefca3e3644b19f2a4ee265c419635bd1f2699d3 /MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf | |
parent | 2abec4bf184656d130ed537b33b49a30f5331c43 (diff) | |
download | edk2-e0ac9c8a9bd67ab934bca86504706b5400cde558.tar.gz edk2-e0ac9c8a9bd67ab934bca86504706b5400cde558.tar.bz2 edk2-e0ac9c8a9bd67ab934bca86504706b5400cde558.zip |
MdeModulePkg/BootLogoLib&PlatformLogo: Use HII data types in parameters
1. Change PlatformLogo protocol to return EFI_IMAGE_INPUT instead of
RAW image data. PlatformLogo implementation can use HiiImageEx to
decode the image if it's JPEG or PNG format.
2. Change BootLogoLib to consume the new PlatformLogo protocol.
3. Change BootLogoEnableLogo() to only use images returned from
PlatformLogo protocol.
Contributed-under: TianoCore Contribution Agreement 1.0
Reviewed-by: Liming Gao <liming.gao@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Dandan Bi <dandan.bi@intel.com>
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Diffstat (limited to 'MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf')
-rw-r--r-- | MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf b/MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf index 8698f26fc4..79b5fc511a 100644 --- a/MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf +++ b/MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf @@ -2,7 +2,7 @@ # This library is only intended to be used by PlatformBootManagerLib
# to show progress bar and logo.
#
-# Copyright (c) 2011 - 2015, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2011 - 2016, Intel Corporation. All rights reserved.<BR>
# This program and the accompanying materials are licensed and made available under
# the terms and conditions of the BSD License that accompanies this distribution.
# The full text of the license may be found at
@@ -17,7 +17,7 @@ INF_VERSION = 0x00010005
BASE_NAME = BootLogoLib
MODULE_UNI_FILE = BootLogoLib.uni
- FILE_GUID = F5AE5B5C-42E8-4A9B-829D-5B631CD5367A
+ FILE_GUID = 85CDAFAD-13BE-422A-A8E5-55A249600DC3
MODULE_TYPE = DXE_DRIVER
VERSION_STRING = 1.0
LIBRARY_CLASS = BootLogoLib|DXE_DRIVER UEFI_APPLICATION
@@ -44,10 +44,6 @@ DebugLib
PrintLib
PcdLib
- DxeServicesLib
- ImageDecoderLib
-
-[Guids]
[Protocols]
gEfiGraphicsOutputProtocolGuid ## SOMETIMES_CONSUMES
|