Skip to content

gui: factorise code

Jean-Christophe PLAGNIOL-VILLARD barebox 1 version Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6image_renderer: fix size typelib/image_renderer.c+1 -10 replies
2/6gui: move gui file to include/gui and lib/guicommands/Kconfig commands/splash.c drivers/video/sdl.c +19 more+95 -690 replies
3/6graphic_utils: pass image so we can draw only the visible part of the imageinclude/gui/graphic_utils.h lib/gui/graphic_utils.c lib/gui/png.c+9 -50 replies
4/6gui: introduce screen and surface to factorize and simplify codecommands/splash.c include/gui/graphic_utils.h include/gui/gui.h +4 more+113 -720 replies
5/6graphic_utils: introduce common fb_open/closecommands/splash.c include/gui/graphic_utils.h include/gui/gui.h +3 more+69 -510 replies
6/6gui: blit the surface on demandcommands/splash.c include/gui/graphic_utils.h lib/gui/bmp.c +2 more+11 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] gui: factorise code

Hi,

The following changes since commit 05b9f24e3ea4071f76ffc4157526946a1c2b1b96:

Merge branch 'for-next/sandbox' into next (2012-09-25 10:20:03 +0200)

are available in the git repository at:

git://git.jcrosoft.org/barebox.git tags/gui_fbcon_prepare

for you to fetch changes up to 267da5665afa3be979cbab2c2787128f4b763f33:

gui: blit the surface on demand (2012-09-26 16:51:11 +0800)

----------------------------------------------------------------
gui: factorise code

This patch series move the gui framework to lib/gui and include/gui and commands to there own menu

This also factorise code to handle screen and framebuffer

This is a preparation for the framebuffer console support and other gui

----------------------------------------------------------------
Jean-Christophe PLAGNIOL-VILLARD (6):
image_renderer: fix size type
gui: move gui file to include/gui and lib/gui
graphic_utils: pass image so we can draw only the visible part of the image
gui: introduce screen and surface to factorize and simplify code
graphic_utils: introduce common fb_open/close
gui: blit the surface on demand

 commands/Kconfig                   |   23 +++++++++++++++--------
 commands/splash.c                  |   76 +++++++++++++++++++++++-----------------------------------------------------
 drivers/video/sdl.c                |    2 +-
 include/{ => gui}/graphic_utils.h  |    9 ++++++++-
 include/gui/gui.h                  |   38 ++++++++++++++++++++++++++++++++++++++
 include/gui/image.h                |   20 ++++++++++++++++++++
 include/{ => gui}/image_renderer.h |   25 +++++++------------------
 lib/Kconfig                        |   36 +-----------------------------------
 lib/Makefile                       |    6 +-----
 lib/gui/Kconfig                    |   39 +++++++++++++++++++++++++++++++++++++++
 lib/gui/Makefile                   |    5 +++++
 lib/{ => gui}/bmp.c                |   54 +++++++++++++++++++++++++++---------------------------
 lib/{ => gui}/bmp_layout.h         |    0
 lib/{ => gui}/graphic_utils.c      |   69 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----
 lib/{ => gui}/image_renderer.c     |    9 ++++-----
 lib/{ => gui}/lodepng.c            |    0
 lib/{ => gui}/lodepng.h            |    0
 lib/{ => gui}/picopng.c            |    0
 lib/{ => gui}/picopng.h            |    0
 lib/{ => gui}/png.c                |   39 ++++++++++++++++++---------------------
 lib/{ => gui}/png.h                |    0
 lib/{ => gui}/png_lode.c           |    4 ++--
 lib/{ => gui}/png_pico.c           |    4 ++--
 23 files changed, 276 insertions(+), 182 deletions(-)
 rename include/{ => gui}/graphic_utils.h (65%)
 create mode 100644 include/gui/gui.h
 create mode 100644 include/gui/image.h
 rename include/{ => gui}/image_renderer.h (65%)
 create mode 100644 lib/gui/Kconfig
 create mode 100644 lib/gui/Makefile
 rename lib/{ => gui}/bmp.c (69%)
 rename lib/{ => gui}/bmp_layout.h (100%)
 rename lib/{ => gui}/graphic_utils.c (74%)
 rename lib/{ => gui}/image_renderer.c (85%)
 rename lib/{ => gui}/lodepng.c (100%)
 rename lib/{ => gui}/lodepng.h (100%)
 rename lib/{ => gui}/picopng.c (100%)
 rename lib/{ => gui}/picopng.h (100%)
 rename lib/{ => gui}/png.c (60%)
 rename lib/{ => gui}/png.h (100%)
 rename lib/{ => gui}/png_lode.c (96%)
 rename lib/{ => gui}/png_pico.c (96%)

Best Regards,
J.

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox