qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] c046d8: shaders: initialize vertexes once


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] c046d8: shaders: initialize vertexes once
Date: Mon, 12 Oct 2015 03:30:07 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: c046d8284474a0f7763dea849433bde37a69023d
      
https://github.com/qemu/qemu/commit/c046d8284474a0f7763dea849433bde37a69023d
  Author: Gerd Hoffmann <address@hidden>
  Date:   2015-10-08 (Thu, 08 Oct 2015)

  Changed paths:
    M include/ui/shader.h
    M ui/console-gl.c
    M ui/shader.c

  Log Message:
  -----------
  shaders: initialize vertexes once

Create a buffer for the vertex data and place vertexes
there at initialization time.  Then just use the buffer
for each texture blit.

Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Reviewed-by: Max Reitz <address@hidden>


  Commit: 136a8d9d444560f71fca89f27475cfeaffa19cf3
      
https://github.com/qemu/qemu/commit/136a8d9d444560f71fca89f27475cfeaffa19cf3
  Author: Gerd Hoffmann <address@hidden>
  Date:   2015-10-08 (Thu, 08 Oct 2015)

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

  Log Message:
  -----------
  sdl2: stop flickering

Optimizing updates by copying the dirty rectangle
only do not work because of double-buffering.

Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Reviewed-by: Max Reitz <address@hidden>


  Commit: 06020b950c0a6a73cbee0527af846b05679c937a
      
https://github.com/qemu/qemu/commit/06020b950c0a6a73cbee0527af846b05679c937a
  Author: Gerd Hoffmann <address@hidden>
  Date:   2015-10-08 (Thu, 08 Oct 2015)

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

  Log Message:
  -----------
  ui/console: add opengl context and scanout support interfaces.

Add callbacks for opengl context management and scanout texture
configuration to DisplayChangeListenerOps.

Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>


  Commit: 7f3be0f20ff8d976ab982cc06026cac0600f1fb6
      
https://github.com/qemu/qemu/commit/7f3be0f20ff8d976ab982cc06026cac0600f1fb6
  Author: Gerd Hoffmann <address@hidden>
  Date:   2015-10-08 (Thu, 08 Oct 2015)

  Changed paths:
    M hw/display/virtio-gpu.c

  Log Message:
  -----------
  virtio-gpu: move iov free to virtio_gpu_cleanup_mapping_iov

For symmetry reasons: virtio_gpu_create_mapping_iov() allocates it so
virtio_gpu_cleanup_mapping_iov() should free it, otherwise it's easy to
miss a free() needed and leak memory.

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


  Commit: 2e2521452e28399dbc6fecec56d5bbb29f9b6796
      
https://github.com/qemu/qemu/commit/2e2521452e28399dbc6fecec56d5bbb29f9b6796
  Author: Gerd Hoffmann <address@hidden>
  Date:   2015-10-08 (Thu, 08 Oct 2015)

  Changed paths:
    M hw/display/virtio-gpu-pci.c
    M hw/display/virtio-gpu.c

  Log Message:
  -----------
  virtio-gpu: change licence from GPLv2 to GPLv2+

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


  Commit: bc79e96442283471c92c8ea7ae15563274f7b0cb
      
https://github.com/qemu/qemu/commit/bc79e96442283471c92c8ea7ae15563274f7b0cb
  Author: Gerd Hoffmann <address@hidden>
  Date:   2015-10-08 (Thu, 08 Oct 2015)

  Changed paths:
    M include/standard-headers/linux/virtio_gpu.h

  Log Message:
  -----------
  virtio-gpu: update headers for virgl/3d

Sync with linux kernel headers with virgl/3d patches applied.

Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>


  Commit: 9d9e152136bdaa75ea98e5c2105f2a7127e369eb
      
https://github.com/qemu/qemu/commit/9d9e152136bdaa75ea98e5c2105f2a7127e369eb
  Author: Gerd Hoffmann <address@hidden>
  Date:   2015-10-08 (Thu, 08 Oct 2015)

  Changed paths:
    M configure
    M hw/display/Makefile.objs
    A hw/display/virtio-gpu-3d.c
    M hw/display/virtio-gpu.c
    M include/hw/virtio/virtio-gpu.h
    M trace-events

  Log Message:
  -----------
  virtio-gpu: add 3d mode and virgl rendering support.

Add virglrenderer library detection.  Add 3d mode to virtio-gpu,
wire up virglrenderer library.  When in 3d mode render using the
new context management and texture scanout callbacks.

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


  Commit: e9c1b459f28fb4dce52dd5afa6a1ad7fb00ee5e2
      
https://github.com/qemu/qemu/commit/e9c1b459f28fb4dce52dd5afa6a1ad7fb00ee5e2
  Author: Gerd Hoffmann <address@hidden>
  Date:   2015-10-08 (Thu, 08 Oct 2015)

  Changed paths:
    M hw/display/virtio-gpu.c
    M trace-events

  Log Message:
  -----------
  virtio-gpu: add cursor update tracepoint

Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>


  Commit: 6c18744d0f99138cb19cd9d1241d7b11c478a944
      
https://github.com/qemu/qemu/commit/6c18744d0f99138cb19cd9d1241d7b11c478a944
  Author: Gerd Hoffmann <address@hidden>
  Date:   2015-10-08 (Thu, 08 Oct 2015)

  Changed paths:
    A include/ui/egl-context.h
    M ui/Makefile.objs
    A ui/egl-context.c

  Log Message:
  -----------
  opengl: add egl-context.[ch] helpers

Add helper functions to manage opengl contexts using egl.

Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>


  Commit: 4782aeb79fbcb70bb96b52f6d9bc7cadb3cf7d58
      
https://github.com/qemu/qemu/commit/4782aeb79fbcb70bb96b52f6d9bc7cadb3cf7d58
  Author: Gerd Hoffmann <address@hidden>
  Date:   2015-10-08 (Thu, 08 Oct 2015)

  Changed paths:
    M include/ui/gtk.h
    M ui/gtk-egl.c
    M ui/gtk.c

  Log Message:
  -----------
  gtk/opengl: add opengl context and scanout support (egl)

This allows virtio-gpu to render in 3d mode.
Uses egl, for gtk versions 3.14 and older.

Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>


  Commit: 925a04000231ad865770ba227876ba518ac3e479
      
https://github.com/qemu/qemu/commit/925a04000231ad865770ba227876ba518ac3e479
  Author: Gerd Hoffmann <address@hidden>
  Date:   2015-10-08 (Thu, 08 Oct 2015)

  Changed paths:
    M configure
    M include/ui/gtk.h
    M ui/Makefile.objs
    A ui/gtk-gl-area.c
    M ui/gtk.c

  Log Message:
  -----------
  gtk/opengl: add opengl context and scanout support (GtkGLArea)

This allows virtio-gpu to render in 3d mode.
Uses native opengl support which is present
in gtk versions 3.16 and newer.

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


  Commit: c9003eb4662f44c61be9c8d7d5c9d4a02d58b560
      
https://github.com/qemu/qemu/commit/c9003eb4662f44c61be9c8d7d5c9d4a02d58b560
  Author: Peter Maydell <address@hidden>
  Date:   2015-10-09 (Fri, 09 Oct 2015)

  Changed paths:
    M configure
    M hw/display/Makefile.objs
    A hw/display/virtio-gpu-3d.c
    M hw/display/virtio-gpu-pci.c
    M hw/display/virtio-gpu.c
    M include/hw/virtio/virtio-gpu.h
    M include/standard-headers/linux/virtio_gpu.h
    M include/ui/console.h
    A include/ui/egl-context.h
    M include/ui/gtk.h
    M include/ui/shader.h
    M trace-events
    M ui/Makefile.objs
    M ui/console-gl.c
    M ui/console.c
    A ui/egl-context.c
    M ui/gtk-egl.c
    A ui/gtk-gl-area.c
    M ui/gtk.c
    M ui/sdl2-2d.c
    M ui/shader.c

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

virtio-gpu: add 3d rendering support using virgl, misc fixes.
ui/gtk: add opengl context and scanout support (for virtio-gpu).

# gpg: Signature made Thu 08 Oct 2015 10:35:39 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-virgl-20151008-1:
  gtk/opengl: add opengl context and scanout support (GtkGLArea)
  gtk/opengl: add opengl context and scanout support (egl)
  opengl: add egl-context.[ch] helpers
  virtio-gpu: add cursor update tracepoint
  virtio-gpu: add 3d mode and virgl rendering support.
  virtio-gpu: update headers for virgl/3d
  virtio-gpu: change licence from GPLv2 to GPLv2+
  virtio-gpu: move iov free to virtio_gpu_cleanup_mapping_iov
  ui/console: add opengl context and scanout support interfaces.
  sdl2: stop flickering
  shaders: initialize vertexes once

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


Compare: https://github.com/qemu/qemu/compare/b37686f7e84b...c9003eb4662f

reply via email to

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