audk/MdeModulePkg
Michael D Kinney bf9b044e67 MdeModulePkg/CapsuleApp: Center bitmap at bottom of screen
https://bugzilla.tianocore.org/show_bug.cgi?id=907

When -G option is used to convert a BMP file to a UX capsule,
the bitmap is centered horizontally and placed in the lower
half of the screen below the boot logo.

This matches examples shown in the following pages:

https://docs.microsoft.com/en-us/windows-hardware/drivers/bringup/user-experience-for-uefi-firmware-updates
https://docs.microsoft.com/en-us/windows-hardware/drivers/bringup/boot-screen-components

Checks are also made to make sure the bitmap provided
fits in the current GOP mode.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
2018-03-21 20:55:27 -07:00
..
Application MdeModulePkg/CapsuleApp: Center bitmap at bottom of screen 2018-03-21 20:55:27 -07:00
Bus MdeModulePkg/PciBus: return CPU address for GetBarAttributes 2018-03-15 08:26:06 +00:00
Core MdeModulePkg/DxeMain: Fix BSP interrupts reenabled in ExitBootServices 2018-03-20 15:54:15 +08:00
Include MdeModulePkg: Fix coding style issues in file/function comments 2018-03-19 09:57:22 +08:00
Library MdeModulePkg: Fix coding style issues in file/function comments 2018-03-19 09:57:22 +08:00
Logo MdeModulePkg/Logo.idf: Remove incorrect comments. 2018-02-28 15:30:23 +08:00
Universal MdeModulePkg: Fix coding style issues in file/function comments 2018-03-19 09:57:22 +08:00
MdeModulePkg.dec MdeModulePkg: Add S3SmmInitDone definition 2018-03-03 14:20:34 +08:00
MdeModulePkg.dsc MdeModulePkg/DxeCapsuleLibFmp: Use BmpSupportLib 2018-02-11 16:05:15 -08:00
MdeModulePkg.uni MdeModulePkg/ResetSystemPei: Add reset notifications in PEI 2018-02-09 15:30:01 +08:00
MdeModulePkgExtra.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00