Skip to content

pixman patch series.

Gerd Hoffmann qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14console: remove DisplayAllocatorconsole.c console.h qemu-common.h +1 more+31 -1730 replies
2/14pixman: add submodule.gitmodules pixman+4 -00 replies
3/14pixman: windup in configure & makefilesMakefile configure+47 -03 replies
4/14pixman: helper functionsMakefile.objs qemu-pixman.c qemu-pixman.h+93 -00 replies
5/14pixman: add pixman image to DisplaySurfaceconsole.c console.h+27 -130 replies
6/14console: make qemu_alloc_display staticconsole.c console.h+24 -260 replies
7/14console: don't set PixelFormat alpha fields for 32bppconsole.c+0 -32 replies
8/14qxl: stop direct access to DisplaySurface fields.hw/qxl-render.c+1 -10 replies
9/14vga: stop direct access to DisplaySurface fields.hw/vga.c+7 -20 replies
10/14pixman: switch screendump function.hw/vga.c+11 -280 replies
11/14pixman/vnc: use pixman images in vnc.ui/vnc-enc-hextile-template.h ui/vnc-enc-hextile.c ui/vnc-enc-tight.c +4 more+259 -2282 replies
12/14pixman/vnc: remove rgb_prepare_row* functionsui/vnc-enc-tight.c+10 -740 replies
13/14pixman/vnc: remove dead code.ui/vnc-enc-hextile.c ui/vnc-enc-tight.c ui/vnc.c+27 -870 replies
14/14pixman: drop obsolete fields from DisplaySurfaceconsole.c console.h+13 -190 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 00/14] pixman patch series.

Hi,

First round of pixman patches for qemu, so we have something concrete to discuss. Applies on top of the "console cleanups" patch series posted a few days ago.

The long-term goal is to stop reinventing the wheel over and over when it comes to pixel manipulation and to use pixman instead. This patch series is a start. It switches a central data structure (DisplaySurface) over to pixman, so the ui code can easily use pixman to manipulate pixel data. It also collects some low-hanging fruit to show pixman in action.

Comments?

cheers,
Gerd

Gerd Hoffmann (14):
console: remove DisplayAllocator
pixman: add submodule
pixman: windup in configure & makefiles
pixman: helper functions
pixman: add pixman image to DisplaySurface
console: make qemu_alloc_display static
console: don't set PixelFormat alpha fields for 32bpp
qxl: stop direct access to DisplaySurface fields.
vga: stop direct access to DisplaySurface fields.
pixman: switch screendump function. pixman/vnc: use pixman images in vnc. pixman/vnc: remove rgb_prepare_row* functions pixman/vnc: remove dead code.
pixman: drop obsolete fields from DisplaySurface

 .gitmodules                   |    3 +
 Makefile                      |    9 ++
 Makefile.objs                 |    1 +
 configure                     |   38 ++++++
 console.c                     |  107 +++++++---------
 console.h                     |   62 ++++------
 hw/qxl-render.c               |    2 +-
 hw/vga.c                      |   48 +++-----
 pixman                        |    1 +
 qemu-common.h                 |    1 -
 qemu-pixman.c                 |   60 +++++++++
 qemu-pixman.h                 |   32 +++++
 ui/sdl.c                      |  117 +----------------
 ui/vnc-enc-hextile-template.h |   23 ++--
 ui/vnc-enc-hextile.c          |   53 ++-------
 ui/vnc-enc-tight.c            |  280 +++++++++++++++--------------------------
 ui/vnc-enc-zrle.c             |   18 ++--
 ui/vnc-jobs.c                 |    3 +-
 ui/vnc.c                      |  239 ++++++++++++++++++-----------------
 ui/vnc.h                      |   19 +++-
 20 files changed, 508 insertions(+), 608 deletions(-)
 create mode 160000 pixman
 create mode 100644 qemu-pixman.c
 create mode 100644 qemu-pixman.h