Skip to content
Snippets Groups Projects
  1. Dec 21, 2021
  2. Nov 08, 2021
  3. Nov 05, 2021
  4. Nov 02, 2021
  5. Sep 15, 2021
  6. Mar 04, 2021
    • Akihiko Odaki's avatar
      configure: Improve OpenGL dependency detections · bc6a3565
      Akihiko Odaki authored
      
      This has the following visible changes:
      
      - GBM is required only for OpenGL dma-buf.
      - X11 is explicitly required by gtk-egl.
      - EGL is now mandatory for the OpenGL displays.
      
      The last one needs some detailed description. Before this change,
      EGL was tested only for OpenGL dma-buf with the check of
      EGL_MESA_image_dma_buf_export. However, all of the OpenGL
      displays depend on EGL and EGL_MESA_image_dma_buf_export is always
      defined by epoxy's EGL interface.
      Therefore, it makes more sense to always check the presence of EGL
      and say the OpenGL displays are available along with OpenGL dma-buf
      if it is present.
      
      Signed-off-by: default avatarAkihiko Odaki <akihiko.odaki@gmail.com>
      Message-Id: <20210223060307.87736-1-akihiko.odaki@gmail.com>
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      bc6a3565
  7. Feb 04, 2021
    • Marc-André Lureau's avatar
      display/ui: add a callback to indicate GL state is flushed · 3cddb8b9
      Marc-André Lureau authored
      
      Displaying rendered resources requires blocking qemu GPU to avoid extra
      framebuffer copies. For an external display, via Spice currently, there
      is a callback to block/unblock the rendering in the same thread.
      
      But with the vhost-user-gpu backend, the qemu process doesn't handle
      the rendering itself, and the blocking callback isn't effective.
      Instead, the backend must be notified when the display code is done.
      
      Fix this by adding a new GraphicHwOps callback to indicate the GL state
      is flushed, and we are done manipulating the shared GL resources. Call
      it from gtk and spice display.
      
      Signed-off-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
      Message-Id: <20210204105232.834642-19-marcandre.lureau@redhat.com>
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      3cddb8b9
  8. Jan 15, 2021
    • Nikola Pavlica's avatar
      ui/gtk: update monitor interval on egl displays · cab82424
      Nikola Pavlica authored
      
      When running QEMU's GTK UI without EGL or OGL, the
      gd_monitor_update_interval function gets executed and the display refresh
      rate gets updated accordingly. However, when using EGL or just regular
      OGL, the function never gets executed.
      
      Which is why I decided that the function should be in gd_egl_refresh
      where the display output gets updated, in the same vain as how it's done
      for normal GTK UIs (aka. those without EGL) - in it's display refresh
      function.
      
      Since the gd_monitor_update_interval function now is exposed, we are
      going to use it to update the refresh rate.
      
      Signed-off-by: default avatarNikola Pavlica <pavlica.nikola@gmail.com>
      Message-Id: <20210114140153.301473-3-pavlica.nikola@gmail.com>
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      cab82424
  9. Jun 12, 2019
    • Markus Armbruster's avatar
      Include qemu-common.h exactly where needed · a8d25326
      Markus Armbruster authored
      
      No header includes qemu-common.h after this commit, as prescribed by
      qemu-common.h's file comment.
      
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Message-Id: <20190523143508.25387-5-armbru@redhat.com>
      [Rebased with conflicts resolved automatically, except for
      include/hw/arm/xlnx-zynqmp.h hw/arm/nrf51_soc.c hw/arm/msf2-soc.c
      block/qcow2-refcount.c block/qcow2-cluster.c block/qcow2-cache.c
      target/arm/cpu.h target/lm32/cpu.h target/m68k/cpu.h target/mips/cpu.h
      target/moxie/cpu.h target/nios2/cpu.h target/openrisc/cpu.h
      target/riscv/cpu.h target/tilegx/cpu.h target/tricore/cpu.h
      target/unicore32/cpu.h target/xtensa/cpu.h; bsd-user/main.c and
      net/tap-bsd.c fixed up]
      a8d25326
  10. Feb 05, 2019
  11. Jan 21, 2019
  12. Nov 12, 2018
  13. Oct 12, 2018
  14. Jun 26, 2018
  15. Mar 12, 2018
  16. Oct 17, 2017
  17. Sep 29, 2017
  18. Jun 21, 2017
  19. May 12, 2017
  20. Feb 27, 2017
  21. Jul 06, 2016
  22. Feb 04, 2016
    • Peter Maydell's avatar
      ui: Clean up includes · e16f4c87
      Peter Maydell authored
      
      Clean up includes so that osdep.h is included first and headers
      which it implies are not included manually.
      
      This commit was created with scripts/clean-includes.
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1454089805-5470-2-git-send-email-peter.maydell@linaro.org
      e16f4c87
  23. Oct 08, 2015
  24. May 29, 2015
    • Gerd Hoffmann's avatar
      gtk: add opengl support, using egl · 97edf3bd
      Gerd Hoffmann authored
      
      This adds opengl rendering support to the gtk ui, using egl.
      It's off by default for now, use 'qemu -display gtk,gl=on'
      to play with this.
      
      Note that gtk got native opengl support with release 3.16.
      There most likely will be a separate implementation for 3.16+,
      using the native gtk opengl support.  This patch covers older
      versions (and for the time being 3.16 too, hopefully without
      rendering quirks).
      
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      97edf3bd
Loading