Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: 4133fa711f37f0db303bf5aac03ea31b5be6ac1d https://github.com/qemu/qemu/commit/4133fa711f37f0db303bf5aac03ea31b5be6ac1d Author: Gerd Hoffmann <kra...@redhat.com> Date: 2017-10-17 (Tue, 17 Oct 2017)
Changed paths: M include/qemu/typedefs.h M include/ui/console.h M ui/console.c Log Message: ----------- console: add support for dmabufs This patch adds support for dma-bufs to the qemu console interfaces. It adds a new "struct QemuDmaBuf" to represent a dmabuf with accociated metatdata (size, format). It adds three functions (and DisplayChangeListenerOps operations) to set a dma-buf as display scanout, as cursor and to release a dmabuf. Signed-off-by: Gerd Hoffmann <kra...@redhat.com> Message-id: 20171010135453.6704-2-kra...@redhat.com Commit: 46e19e149f3b129a22c440caba853188df67deab https://github.com/qemu/qemu/commit/46e19e149f3b129a22c440caba853188df67deab Author: Gerd Hoffmann <kra...@redhat.com> Date: 2017-10-17 (Tue, 17 Oct 2017) Changed paths: M Makefile M include/ui/console.h M include/ui/gtk.h M include/ui/sdl2.h M include/ui/shader.h M include/ui/spice-display.h M ui/console-gl.c M ui/gtk-egl.c M ui/gtk-gl-area.c M ui/sdl2-gl.c M ui/shader.c M ui/spice-display.c Log Message: ----------- opengl: move shader init from console-gl.c to shader.c With the upcoming dmabuf support in qemu there will be more users of the shaders than just console-gl.c. So rename ConsoleGLState to QemuGLShader, rename some functions too, move code from console-gl.c to shaders.c. No functional change. Signed-off-by: Gerd Hoffmann <kra...@redhat.com> Message-id: 20171010135453.6704-3-kra...@redhat.com Commit: 2e1d70b9e03ca3f1c6185b54010bc9e47e0a0d0c https://github.com/qemu/qemu/commit/2e1d70b9e03ca3f1c6185b54010bc9e47e0a0d0c Author: Gerd Hoffmann <kra...@redhat.com> Date: 2017-10-17 (Tue, 17 Oct 2017) Changed paths: M Makefile M include/ui/shader.h M ui/console-gl.c M ui/shader.c A ui/shader/texture-blit-flip.vert Log Message: ----------- opengl: add flipping vertex shader Add vertex shader which flips the texture upside down while blitting it. Add argument to qemu_gl_run_texture_blit() to enable flipping. Signed-off-by: Gerd Hoffmann <kra...@redhat.com> Message-id: 20171010135453.6704-4-kra...@redhat.com Commit: 86c0522c63e84ee9a98b9cd9cf6588faba1bac23 https://github.com/qemu/qemu/commit/86c0522c63e84ee9a98b9cd9cf6588faba1bac23 Author: Gerd Hoffmann <kra...@redhat.com> Date: 2017-10-17 (Tue, 17 Oct 2017) Changed paths: M include/ui/egl-helpers.h M ui/egl-helpers.c Log Message: ----------- egl-helpers: add dmabuf import support Add helper function to import a dma-buf as opengl texture. Also add a helper to release the texture again. Signed-off-by: Gerd Hoffmann <kra...@redhat.com> Message-id: 20171010135453.6704-5-kra...@redhat.com Commit: 0eb50c273766be80f0a6fde635c3a2bdabd199fb https://github.com/qemu/qemu/commit/0eb50c273766be80f0a6fde635c3a2bdabd199fb Author: Gerd Hoffmann <kra...@redhat.com> Date: 2017-10-17 (Tue, 17 Oct 2017) Changed paths: M include/ui/egl-helpers.h M ui/egl-helpers.c Log Message: ----------- egl-helpers: add egl_texture_blit and egl_texture_blend egl_texture_blit() blits a texture, simliar to egl_fb_blit() but by rendering the texture to the screen instead of using a framebuffer blit. egl_texture_blend() renders a texture with alpha blending, will be used to render the cursor to the screen. Signed-off-by: Gerd Hoffmann <kra...@redhat.com> Message-id: 20171010135453.6704-6-kra...@redhat.com Commit: a35179170034b60bcfb997e06bc63258caaf5049 https://github.com/qemu/qemu/commit/a35179170034b60bcfb997e06bc63258caaf5049 Author: Gerd Hoffmann <kra...@redhat.com> Date: 2017-10-17 (Tue, 17 Oct 2017) Changed paths: M ui/egl-headless.c Log Message: ----------- egl-headless: add dmabuf support Add support for the new dmabuf interface. Signed-off-by: Gerd Hoffmann <kra...@redhat.com> Message-id: 20171010135453.6704-7-kra...@redhat.com Commit: ba6f0fc25e3c14fbb36f4b5a616a89cd3f1de6d0 https://github.com/qemu/qemu/commit/ba6f0fc25e3c14fbb36f4b5a616a89cd3f1de6d0 Author: Peter Maydell <peter.mayd...@linaro.org> Date: 2017-10-19 (Thu, 19 Oct 2017) Changed paths: M Makefile M include/qemu/typedefs.h M include/ui/console.h M include/ui/egl-helpers.h M include/ui/gtk.h M include/ui/sdl2.h M include/ui/shader.h M include/ui/spice-display.h M ui/console-gl.c M ui/console.c M ui/egl-headless.c M ui/egl-helpers.c M ui/gtk-egl.c M ui/gtk-gl-area.c M ui/sdl2-gl.c M ui/shader.c A ui/shader/texture-blit-flip.vert M ui/spice-display.c Log Message: ----------- Merge remote-tracking branch 'remotes/kraxel/tags/opengl-20171017-pull-request' into staging ui: opengl updates for dma-buf support. # gpg: Signature made Tue 17 Oct 2017 12:13:36 BST # gpg: using RSA key 0x4CB6D8EED3E87138 # gpg: Good signature from "Gerd Hoffmann (work) <kra...@redhat.com>" # gpg: aka "Gerd Hoffmann <g...@kraxel.org>" # gpg: aka "Gerd Hoffmann (private) <kra...@gmail.com>" # Primary key fingerprint: A032 8CFF B93A 17A7 9901 FE7D 4CB6 D8EE D3E8 7138 * remotes/kraxel/tags/opengl-20171017-pull-request: egl-headless: add dmabuf support egl-helpers: add egl_texture_blit and egl_texture_blend egl-helpers: add dmabuf import support opengl: add flipping vertex shader opengl: move shader init from console-gl.c to shader.c console: add support for dmabufs Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Compare: https://github.com/qemu/qemu/compare/73b733e6907e...ba6f0fc25e3c