qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] a93a3a: console: add qemu_pixelformat_from_pi


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] a93a3a: console: add qemu_pixelformat_from_pixman
Date: Thu, 11 Sep 2014 05:00:06 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: a93a3af9ec44710b2f7de8eb1c36f93ee3ec0d10
      
https://github.com/qemu/qemu/commit/a93a3af9ec44710b2f7de8eb1c36f93ee3ec0d10
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-09-05 (Fri, 05 Sep 2014)

  Changed paths:
    M include/ui/qemu-pixman.h
    M ui/qemu-pixman.c

  Log Message:
  -----------
  console: add qemu_pixelformat_from_pixman

Function to convert pixman format codes to qemu PixelFormat.

[ Benjamin Herrenschmidt: fix BGRA+RGBA shifts ]

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 1527a25ec90f34693fbe24c81c1107e78cead1d7
      
https://github.com/qemu/qemu/commit/1527a25ec90f34693fbe24c81c1107e78cead1d7
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-09-05 (Fri, 05 Sep 2014)

  Changed paths:
    M include/ui/qemu-pixman.h
    M ui/qemu-pixman.c

  Log Message:
  -----------
  console: add qemu_default_pixman_format

Function returning the default pixman format for a given depth.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 56bd9ea1a37395012adecca8b9c4762da15b01e7
      
https://github.com/qemu/qemu/commit/56bd9ea1a37395012adecca8b9c4762da15b01e7
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-09-05 (Fri, 05 Sep 2014)

  Changed paths:
    M ui/console.c

  Log Message:
  -----------
  console: reimplement qemu_default_pixelformat

Use the new qemu_pixelformat_from_pixman and qemu_default_pixman_format
functions to reimplement qemu_default_pixelformat
(qemu_different_endianness_pixelformat too).

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 30f1e661b640de58ba1e8178f7f2290179a7e01c
      
https://github.com/qemu/qemu/commit/30f1e661b640de58ba1e8178f7f2290179a7e01c
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-09-05 (Fri, 05 Sep 2014)

  Changed paths:
    M hw/display/qxl-render.c
    M hw/display/vga.c
    M hw/display/vmware_vga.c
    M hw/display/xenfb.c
    M include/ui/console.h
    M trace-events
    M ui/console.c
    M ui/sdl.c

  Log Message:
  -----------
  console: stop using PixelFormat

With this patch the qemu console core stops using PixelFormat and pixman
format codes side-by-side, pixman format code is the primary way to
specify the DisplaySurface format:

 * DisplaySurface stops carrying a PixelFormat field.
 * qemu_create_displaysurface_from() expects a pixman format now.

Functions to convert PixelFormat to pixman_format_code_t (and back)
exist for those who still use PixelFormat.   As PixelFormat allows
easy access to masks and shifts it will probably continue to exist.

[ xenfb added by Benjamin Herrenschmidt ]

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: a77549b3ffcc24c32ee4e8b5ec32049186120360
      
https://github.com/qemu/qemu/commit/a77549b3ffcc24c32ee4e8b5ec32049186120360
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-09-05 (Fri, 05 Sep 2014)

  Changed paths:
    M include/ui/console.h
    M ui/console.c

  Log Message:
  -----------
  console: add qemu_create_displaysurface_guestmem

This patch adds a qemu_create_displaysurface_guestmem helper function.
Works simliar to qemu_create_displaysurface_from, but accepts a
guest address instead of a host pointer and it handles
cpu_physical_memory_{map,unmap} for you.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 4c38762fb5cab19f50d2ba004736d7426abba3c0
      
https://github.com/qemu/qemu/commit/4c38762fb5cab19f50d2ba004736d7426abba3c0
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-09-05 (Fri, 05 Sep 2014)

  Changed paths:
    M include/ui/console.h
    M ui/console.c

  Log Message:
  -----------
  console: add dpy_gfx_update_dirty

Calls dpy_gfx_update for all dirty scanlines. Works for
DisplaySurfaces backed by guest memory (i.e. the ones created
using qemu_create_displaysurface_guestmem).

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 43c7d8bd449d1c0f435775aefe391666a4b86dd6
      
https://github.com/qemu/qemu/commit/43c7d8bd449d1c0f435775aefe391666a4b86dd6
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-09-05 (Fri, 05 Sep 2014)

  Changed paths:
    M include/ui/qemu-pixman.h
    M ui/qemu-pixman.c

  Log Message:
  -----------
  console: add qemu_pixman_linebuf_copy

Helper function for copying data from linebuf to framebuffer using
pixman, possibly converting in case src and dst formats differ.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 77bfcf28f1ee92bbc9e077abb9a494b12406846f
      
https://github.com/qemu/qemu/commit/77bfcf28f1ee92bbc9e077abb9a494b12406846f
  Author: Benjamin Herrenschmidt <address@hidden>
  Date:   2014-09-05 (Fri, 05 Sep 2014)

  Changed paths:
    M include/ui/console.h
    M ui/console.c
    M ui/vnc-enc-tight.c

  Log Message:
  -----------
  console: Remove unused QEMU_BIG_ENDIAN_FLAG

If we need to, we should use the pixman formats instead but for
now this is unused except in commented out code so take it out
to avoid further confusion about surface endianness.

Signed-off-by: Benjamin Herrenschmidt <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 0dfa7e30126364c434a48cb37a1a41119e536c2a
      
https://github.com/qemu/qemu/commit/0dfa7e30126364c434a48cb37a1a41119e536c2a
  Author: Peter Maydell <address@hidden>
  Date:   2014-09-11 (Thu, 11 Sep 2014)

  Changed paths:
    M hw/display/qxl-render.c
    M hw/display/vga.c
    M hw/display/vmware_vga.c
    M hw/display/xenfb.c
    M include/ui/console.h
    M include/ui/qemu-pixman.h
    M trace-events
    M ui/console.c
    M ui/qemu-pixman.c
    M ui/sdl.c
    M ui/vnc-enc-tight.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/kraxel/tags/pull-console-20140905-2' 
into staging

console: pixman switchover continued, add some infrastructure to make it
   easier using pixman in display device emulation.

# gpg: Signature made Fri 05 Sep 2014 14:38:57 BST using RSA key ID D3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <address@hidden>"
# gpg:                 aka "Gerd Hoffmann <address@hidden>"
# gpg:                 aka "Gerd Hoffmann (private) <address@hidden>"

* remotes/kraxel/tags/pull-console-20140905-2:
  console: Remove unused QEMU_BIG_ENDIAN_FLAG
  console: add qemu_pixman_linebuf_copy
  console: add dpy_gfx_update_dirty
  console: add qemu_create_displaysurface_guestmem
  console: stop using PixelFormat
  console: reimplement qemu_default_pixelformat
  console: add qemu_default_pixman_format
  console: add qemu_pixelformat_from_pixman

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/fc3b9aa87690...0dfa7e301263

reply via email to

[Prev in Thread] Current Thread [Next in Thread]