detachables: Add invert parameter
commitd635506fa7d8967ddec08a029a61a4ce57347ed5
authorShelley Chen <shchen@chromium.org>
Mon, 15 May 2017 21:16:10 +0000 (15 14:16 -0700)
committerMartin Roth <martinroth@google.com>
Thu, 25 May 2017 16:23:56 +0000 (25 18:23 +0200)
tree16ec129edd81b1f33fac06b9cf6bde234c8f68aa
parent000cc598cbd2ab663e1192d8623171bda293b6d3
detachables: Add invert parameter

Instead of storing inverted-colored bitmaps,
invert drawing of text bitmap on the fly by adding
an invert parameter down to libpayload.  Merging
pivot and invert fields into flags field.

BUG=b:35585623
BRANCH=None
TEST=Make sure compiles successfully
CQ-DEPEND=CL:506453

Change-Id: Ide6893a26f19eb2490377d4d53366ad145a9e6e3
Signed-off-by: Shelley Chen <shchen@chromium.org>
Reviewed-on: https://review.coreboot.org/19698
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
payloads/libpayload/drivers/video/graphics.c
payloads/libpayload/include/cbgfx.h