diff options
author | Shelley Chen <shchen@google.com> | 2020-07-10 14:52:43 -0700 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2020-07-15 20:23:07 +0000 |
commit | 31a37887392e81e8a24eca83f4b261019c05ebd5 (patch) | |
tree | b9256963b5c73c8cd0e4719faaba55c7c7c97f83 /.gitmodules | |
parent | df5571dc9d94717a3eb32c56c950715b504c1b52 (diff) |
cbgfx: Add blend functions to calculate transparency
Up until now we have no way of adding transparency into our firmware
screens. Add set_blend() and clear_blend() functions to store alpha
value and rgb values to calculate alpha blending in
calculate_colors().
BUG=b:144969091,b:160839199
BRANCH=puff
TEST=dut-control power_state:rec
press ctrl-d
Ensure background is dimmed when dialog pops up
Change-Id: I95468f27836d34ab80392727d726a69c09dc168e
Signed-off-by: Shelley Chen <shchen@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43358
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to '.gitmodules')
0 files changed, 0 insertions, 0 deletions