summaryrefslogtreecommitdiff
path: root/util/amdfwtool/description.md
diff options
context:
space:
mode:
authorYu-Ping Wu <yupingso@chromium.org>2020-05-14 10:23:55 +0800
committerPatrick Georgi <pgeorgi@google.com>2020-05-26 15:03:59 +0000
commit1c3faabf2472c5eee9ceabc233896e7c28e0d863 (patch)
treed9a8b3d963e6f729ae6918fc0a734d25598bf23e /util/amdfwtool/description.md
parent309ccf74dd7c25874572c6a62ffc7042dcdadc66 (diff)
libpayload/cbgfx: Remove gap between adjacent boxes
When drawing two adjacent boxes with draw_box(), there will be a gap between them. This is due to the truncation in integer division when calculating the bottom right coordinate of the box. In this patch, the relative bottom right coordinate is calculated before transforming to an absolute one. The same issue is also fixed for draw_rounded_box(). Also check validity of 'pos_rel' and 'dim_rel' arguments for draw_rounded_box(). BRANCH=none BUG=chromium:1082593 TEST=emerge-nami libpayload Change-Id: I073cf8ec6eb3952a0dcb417b4c3c3c7047567837 Signed-off-by: Yu-Ping Wu <yupingso@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41392 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'util/amdfwtool/description.md')
0 files changed, 0 insertions, 0 deletions