summaryrefslogtreecommitdiffstats
path: root/include/gui
Commit message (Collapse)AuthorAgeFilesLines
* gui: blit the surface on demandJean-Christophe PLAGNIOL-VILLARD2012-10-041-0/+1
| | | | | | | | 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>
* graphic_utils: introduce common fb_open/closeJean-Christophe PLAGNIOL-VILLARD2012-10-042-1/+4
| | | | | | | To open, memmap, get the fb_info and if needed allocate the offscreen buffer Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* gui: introduce screen and surface to factorize and simplify codeJean-Christophe PLAGNIOL-VILLARD2012-10-043-10/+44
| | | | | | | | | | Instead of passing hundreds of parameter, just pass the right structure. struct screen represent the screen with a without double buffering. struct surface represent the part of the screen we want to render. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* graphic_utils: pass image so we can draw only the visible part of the imageJean-Christophe PLAGNIOL-VILLARD2012-10-041-1/+4
| | | | | | | This is needed if the image is bigger than the screen. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* gui: move gui file to include/gui and lib/guiJean-Christophe PLAGNIOL-VILLARD2012-10-043-0/+115
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>