libpayload: video: Add support for font scaling with a factor

Hardware / Coreboot - Paul Kocialkowski [paulk.fr] - 3 August 2017 16:37 EDT

This introduces support for font scaling with a factor provided via Kconfig. In practice, the font itself is not scaled at any point in memory and only the logic to determine whether a pixel should be filled or not is changed.

Thus, it should not significantly impact either the access time or memory use.

Change-Id: Idff210617c9ec08c6034aef107cfdb34c7cdf029

d85e485 libpayload: video: Add support for font scaling with a factor
payloads/libpayload/Kconfig | 8 ++++++++
payloads/libpayload/drivers/video/corebootfb.c | 2 +-
payloads/libpayload/drivers/video/font.c | 14 +++++++++++---
payloads/libpayload/drivers/video/font.h | 5 +++--
payloads/libpayload/drivers/video/geodelx.c | 2 +-
5 files changed, 24 insertions(+), 7 deletions(-)

Upstream: review.coreboot.org


  • Share