summaryrefslogtreecommitdiffstats
path: root/include/gui
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-08-07 14:42:58 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-08-20 12:57:08 +0200
commitcabfe34ca70acbb009ad94b2578fde99957472a7 (patch)
treeca91a5c341803034131cbe07d2f869528697724a /include/gui
parent7c5937d245b4ecf3c1c33eecfda0851aa277dbc6 (diff)
downloadbarebox-cabfe34ca70acbb009ad94b2578fde99957472a7.tar.gz
barebox-cabfe34ca70acbb009ad94b2578fde99957472a7.tar.xz
gui: implement blitting screen areas
So far we only supported blitting the whole screen from the shadow fb to the framebuffer. Add a function to blit areas. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/gui')
-rw-r--r--include/gui/graphic_utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gui/graphic_utils.h b/include/gui/graphic_utils.h
index ff4d9a07b0..231b3a9414 100644
--- a/include/gui/graphic_utils.h
+++ b/include/gui/graphic_utils.h
@@ -25,5 +25,7 @@ void fb_close(struct screen *sc);
void gu_screen_blit(struct screen *sc);
void gu_invert_area(struct fb_info *info, void *buf, int startx, int starty, int width,
int height);
+void gu_screen_blit_area(struct screen *sc, int startx, int starty, int width,
+ int height);
#endif /* __GRAPHIC_UTILS_H__ */