1. 28 6月, 2018 1 次提交
  2. 27 6月, 2018 36 次提交
  3. 26 6月, 2018 3 次提交
    • P
      Merge remote-tracking branch 'remotes/kraxel/tags/ui-20180626-pull-request' into staging · 0ab4c574
      Peter Maydell 提交于
      ui: sdl2 fixes, gles support.
      
      # gpg: Signature made Tue 26 Jun 2018 14:56:15 BST
      # gpg:                using RSA key 4CB6D8EED3E87138
      # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>"
      # gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>"
      # gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>"
      # Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138
      
      * remotes/kraxel/tags/ui-20180626-pull-request:
        sdl2: add checking for NULL
        sdl2: fix copypaste issues
        Add gles support to egl-helpers, wire up in egl-headless and gtk.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      0ab4c574
    • P
      virtio-gpu-3d: Drop workaround for VIRTIO_GPU_CAPSET_VIRGL2 define · fd1cfb87
      Peter Maydell 提交于
      In commit a8bff79e we added a definition to hw/virtio/virtio-gpu.h
      for VIRTIO_GPU_CAPSET_VIRGL2, as a workaround for it not yet being
      in the Linux kernel headers. In commit 77d361b1 we updated our
      kernel headers to a version which does define the macro, so we can
      now remove our workaround.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Message-id: 20180622173249.29963-1-peter.maydell@linaro.org
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      fd1cfb87
    • G
      ramfb: fix overflow · 6b9b3c1e
      Gerd Hoffmann 提交于
      > CID 1393621:    (OVERFLOW_BEFORE_WIDEN)
      > Potentially overflowing expression "stride * s->height" with type "unsigned
      > int" (32 bits, unsigned) is evaluated using +32-bit arithmetic, and then used
      > in a context that expects an expression of type "hwaddr" (64 bits, unsigned).
      
      Fix by changing stride from uint32_t to hwaddr.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Message-id: 20180626083120.19515-1-kraxel@redhat.com
      6b9b3c1e