diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-09-26 11:59:04 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-10-04 17:22:09 +0200 |
commit | 5eb89cea2a4e00288323e3c3daf3c47d4c80d652 (patch) | |
tree | c39955a04f8254c0bb49629cdea8648b5a3c798d /include/gui | |
parent | 9a048064e4803340cfe997dada9f09b00077a1f5 (diff) | |
download | barebox-5eb89cea2a4e00288323e3c3daf3c47d4c80d652.tar.gz barebox-5eb89cea2a4e00288323e3c3daf3c47d4c80d652.tar.xz |
gui: blit the surface on demand
Do not blit the surface everytime we write an image
As we want to able to render multiple image this will cause 1 blit per image;
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/gui')
-rw-r--r-- | include/gui/graphic_utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gui/graphic_utils.h b/include/gui/graphic_utils.h index 1a177901e9..33e0cbfb2f 100644 --- a/include/gui/graphic_utils.h +++ b/include/gui/graphic_utils.h @@ -19,5 +19,6 @@ void set_rgba_pixel(struct fb_info *info, void *adr, u8 r, u8 g, u8 b, u8 a); void memset_pixel(struct fb_info *info, void* buf, u32 color, size_t size); int fb_open(const char * fbdev, struct screen *sc, bool offscreen); void fb_close(struct screen *sc); +void screen_blit(struct screen *sc); #endif /* __GRAPHIC_UTILS_H__ */ |