subsys/cfb: move MSB_FIRST down to font capabilities
Font capabilities currently indicate whether font data is packed horizontally or vertically, and this is used to control frame buffer updates. The font bit ordering should likewise be recorded in the font description, and any reversal to match the display applied when text is being set in the frame buffer. Signed-off-by: Peter A. Bigot <pab@pabigot.com>
This commit is contained in:
parent
4c4f07e0dc
commit
e3d613e1f4
2 changed files with 19 additions and 25 deletions
|
@ -44,6 +44,7 @@ enum cfb_display_param {
|
|||
enum cfb_font_caps {
|
||||
CFB_FONT_MONO_VPACKED = BIT(0),
|
||||
CFB_FONT_MONO_HPACKED = BIT(1),
|
||||
CFB_FONT_MSB_FIRST = BIT(2),
|
||||
};
|
||||
|
||||
struct cfb_font {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue