summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2022-04-15 01:54:42 -0400
committerWilliam Wilgus <wilgus.william@gmail.com>2022-04-15 01:54:42 -0400
commitd56d96031c42a68fa38e7b12bf028ee6d2eb3ef3 (patch)
tree37e96ce3906f120f6509407b178972f680db57b3 /firmware/export
parentb9c3ab2e049124894716305c9aa8a1d7a610d134 (diff)
downloadrockbox-d56d96031c42a68fa38e7b12bf028ee6d2eb3ef3.tar.gz
rockbox-d56d96031c42a68fa38e7b12bf028ee6d2eb3ef3.zip
viewports add flag to disable updates
when drwing multiple areas of the screen with other gui elements you might want to combine updates into a single screen redraw Change-Id: Ie4130366fa13e25d3d14e937257d11547dd61134
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/lcd.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h
index 13165129b1..2f8fd3e751 100644
--- a/firmware/export/lcd.h
+++ b/firmware/export/lcd.h
@@ -178,8 +178,9 @@ struct frame_buffer_t {
178 178
179#define VP_IS_RTL(vp) (((vp)->flags & VP_FLAG_ALIGNMENT_MASK) == VP_FLAG_ALIGN_RIGHT) 179#define VP_IS_RTL(vp) (((vp)->flags & VP_FLAG_ALIGNMENT_MASK) == VP_FLAG_ALIGN_RIGHT)
180 180
181#define VP_FLAG_VP_DIRTY 0x4000 181#define VP_FLAG_OWNER_UPDATE 0x2000 /* block update_vp functions */
182#define VP_FLAG_CLEAR_FLAG 0x8000 182#define VP_FLAG_VP_DIRTY 0x4000
183#define VP_FLAG_CLEAR_FLAG 0x8000
183#define VP_FLAG_VP_SET_CLEAN (VP_FLAG_CLEAR_FLAG | VP_FLAG_VP_DIRTY) 184#define VP_FLAG_VP_SET_CLEAN (VP_FLAG_CLEAR_FLAG | VP_FLAG_VP_DIRTY)
184 185
185struct viewport { 186struct viewport {