[PATCH 0/6] gui: factorise code

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Wed Sep 26 05:56:50 EDT 2012


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

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>

----------------------------------------------------------------
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.



More information about the barebox mailing list