qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] aca7aa: ui: Make qemu_default_pixman_format()


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] aca7aa: ui: Make qemu_default_pixman_format() return 0 on ...
Date: Mon, 19 Jan 2015 07:00:08 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: aca7aaf6287b6a9f688c1b115a76fdc056565a7e
      
https://github.com/qemu/qemu/commit/aca7aaf6287b6a9f688c1b115a76fdc056565a7e
  Author: Benjamin Herrenschmidt <address@hidden>
  Date:   2015-01-19 (Mon, 19 Jan 2015)

  Changed paths:
    M ui/qemu-pixman.c

  Log Message:
  -----------
  ui: Make qemu_default_pixman_format() return 0 on unsupported formats

In order to remove the logic for detecting supported shared
pixmap formats from device models, make qemu_default_pixman_format()
capable for failing by returning 0 which is not a possible format
value rather than asserting.

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


  Commit: 49743df399ca1029f4e22b52e9238d8e25c26bb2
      
https://github.com/qemu/qemu/commit/49743df399ca1029f4e22b52e9238d8e25c26bb2
  Author: Benjamin Herrenschmidt <address@hidden>
  Date:   2015-01-19 (Mon, 19 Jan 2015)

  Changed paths:
    M hw/display/vga.c
    M include/ui/console.h
    M ui/console.c

  Log Message:
  -----------
  ui: Add dpy_gfx_check_format() to check backend shared surface support

This allows VGA to decide whether to use a shared surface based on
whether the UI backend supports the format or not. Backends that
don't provide the new callback fallback to native 32 bpp which
is equivalent to what was supported before.

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

[ kraxel: fix console check, allow only 32 bpp as fallback ]

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


  Commit: 8cd996f493d4fc10844bd13bde4b9c9c5e38cc3a
      
https://github.com/qemu/qemu/commit/8cd996f493d4fc10844bd13bde4b9c9c5e38cc3a
  Author: Gerd Hoffmann <address@hidden>
  Date:   2015-01-19 (Mon, 19 Jan 2015)

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

  Log Message:
  -----------
  ui/pixman: add qemu_pixman_check_format

Convinience check_format function for UIs using pixman.

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


  Commit: 34da30afa473b9fc12161f53f4b3fd83b8ba5ce8
      
https://github.com/qemu/qemu/commit/34da30afa473b9fc12161f53f4b3fd83b8ba5ce8
  Author: Benjamin Herrenschmidt <address@hidden>
  Date:   2015-01-19 (Mon, 19 Jan 2015)

  Changed paths:
    M ui/vnc.c

  Log Message:
  -----------
  ui/vnc: Support shared surface for most pixman formats

At least all the ones I've tested. We make the assumption that
pixman is going to be better at conversion than we are.

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

[ kraxel: just hook up qemu_pixman_check_format ]

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


  Commit: 0002a51889101a818c1b8328b2a95f284caa030f
      
https://github.com/qemu/qemu/commit/0002a51889101a818c1b8328b2a95f284caa030f
  Author: Gerd Hoffmann <address@hidden>
  Date:   2015-01-19 (Mon, 19 Jan 2015)

  Changed paths:
    M ui/spice-display.c

  Log Message:
  -----------
  ui/spice: Support shared surface for most pixman formats

Just hook up qemu_pixman_check_format.

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


  Commit: fcf73af68ecb83dcb1d997c6b6a0c29989ebfea8
      
https://github.com/qemu/qemu/commit/fcf73af68ecb83dcb1d997c6b6a0c29989ebfea8
  Author: Benjamin Herrenschmidt <address@hidden>
  Date:   2015-01-19 (Mon, 19 Jan 2015)

  Changed paths:
    M ui/gtk.c

  Log Message:
  -----------
  ui/gtk: Support shared surface for most pixman formats

At least all the ones I've tested. We make the assumption that
pixman is going to be better at conversion than we are.

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

[ kraxel: just hook up qemu_pixman_check_format ]

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


  Commit: 7dd93291cad743e83e972a323a5775ff5a954bd5
      
https://github.com/qemu/qemu/commit/7dd93291cad743e83e972a323a5775ff5a954bd5
  Author: Benjamin Herrenschmidt <address@hidden>
  Date:   2015-01-19 (Mon, 19 Jan 2015)

  Changed paths:
    M ui/sdl.c

  Log Message:
  -----------
  ui/sdl: Support shared surface for more pixman formats

At least all the ones I've tested. We make the assumption that
SDL is going to be better at conversion than we are.

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

[ kraxel: minor format tweaks ]

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


  Commit: 877417d9ae6846bea4744b198131a5fe5117d7a5
      
https://github.com/qemu/qemu/commit/877417d9ae6846bea4744b198131a5fe5117d7a5
  Author: Gerd Hoffmann <address@hidden>
  Date:   2015-01-19 (Mon, 19 Jan 2015)

  Changed paths:
    M include/ui/sdl2.h
    M ui/sdl2-2d.c
    M ui/sdl2.c

  Log Message:
  -----------
  ui/sdl2: Support shared surface for more pixman formats

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


  Commit: 74acb99737dbedd86654d660c0c20815139a873c
      
https://github.com/qemu/qemu/commit/74acb99737dbedd86654d660c0c20815139a873c
  Author: Peter Maydell <address@hidden>
  Date:   2015-01-19 (Mon, 19 Jan 2015)

  Changed paths:
    M hw/display/vga.c
    M include/ui/console.h
    M include/ui/qemu-pixman.h
    M include/ui/sdl2.h
    M ui/console.c
    M ui/gtk.c
    M ui/qemu-pixman.c
    M ui/sdl.c
    M ui/sdl2-2d.c
    M ui/sdl2.c
    M ui/spice-display.c
    M ui/vnc.c

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

ui: add shared surface format negotiation.

# gpg: Signature made Mon 19 Jan 2015 12:47:36 GMT 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-20150119-1:
  ui/sdl2: Support shared surface for more pixman formats
  ui/sdl: Support shared surface for more pixman formats
  ui/gtk: Support shared surface for most pixman formats
  ui/spice: Support shared surface for most pixman formats
  ui/vnc: Support shared surface for most pixman formats
  ui/pixman: add qemu_pixman_check_format
  ui: Add dpy_gfx_check_format() to check backend shared surface support
  ui: Make qemu_default_pixman_format() return 0 on unsupported formats

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


Compare: https://github.com/qemu/qemu/compare/1e42c353469c...74acb99737db

reply via email to

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