Skip to content
Snippets Groups Projects
  1. Oct 25, 2014
  2. Oct 22, 2014
  3. Oct 19, 2014
  4. Oct 13, 2014
  5. Oct 12, 2014
  6. Oct 03, 2014
    • Tomasz Figa's avatar
      st/mesa: Fix paths used in Android builds · c90cd077
      Tomasz Figa authored and Emil Velikov's avatar Emil Velikov committed
      
      With current makefiles the build fails because source and build paths
      are generated incorrectly. With Android build system the top_srcdir and
      top_builddir variables are undefined and all paths are relative to where
      Android.mk is located. This ends up with path likes
      external/mesa/src/mesa/src/mesa/ for both source and build paths, which
      are obviously wrong.
      
      This patch fixes this by overriding resulting SRCDIR and BUILDDIR
      variables with empty string, so that paths end up being relative to
      Android.mk file again. Appending correct build path to generated files
      is already done in Android.gen.mk.
      
      Signed-off-by: default avatarTomasz Figa <tomasz.figa@gmail.com>
      CC: <mesa-stable@lists.freedesktop.org>
      Reviewed-by: default avatarEmil Velikov <emil.l.velikov@gmail.com>
      (cherry picked from commit b4ffd19e)
      c90cd077
    • Tomasz Figa's avatar
      st/mesa: Generate format_info.c in Android builds · dffbee66
      Tomasz Figa authored and Emil Velikov's avatar Emil Velikov committed
      
      Current Android makefiles lack generation of format_info.c, which is
      a dependency of main/format.c. This patch adds necessary code to
      Android.gen.mk.
      
      Signed-off-by: default avatarTomasz Figa <tomasz.figa@gmail.com>
      CC: <mesa-stable@lists.freedesktop.org>
      Reviewed-by: default avatarEmil Velikov <emil.l.velikov@gmail.com>
      (cherry picked from commit 98445fd2)
      dffbee66
    • Tomasz Figa's avatar
      util: Include in Android builds · 58ba481e
      Tomasz Figa authored and Emil Velikov's avatar Emil Velikov committed
      
      This patch fixes Android build failures by including src/util directory
      in compilation. Files inside of this directory are compiled into
      libmesa_util static library and linked with resulting libGLES_mesa.
      
      Signed-off-by: default avatarTomasz Figa <tomasz.figa@gmail.com>
      CC: <mesa-stable@lists.freedesktop.org>
      Reviewed-by: default avatarEmil Velikov <emil.l.velikov@gmail.com>
      (cherry picked from commit d703abf7)
      58ba481e
    • Keith Packard's avatar
      glx/dri3: Provide error diagnostics when DRI3 allocation fails · ccf908e3
      Keith Packard authored and Emil Velikov's avatar Emil Velikov committed
      Instead of just segfaulting in the driver when a buffer allocation fails,
      report error messages indicating what went wrong so that we can debug things.
      
      As a simple example, chromium wraps Mesa in a sandbox which doesn't allow
      access to most syscalls, including the ability to create shared memory
      segments for fences. Before, you'd get a simple segfault in mesa and your 3D
      acceleration would fail. Now you get:
      
      $ chromium --disable-gpu-blacklist
      [10618:10643:0930/200525:ERROR:nss_util.cc(856)] After loading Root Certs, loaded==false: NSS error code: -8018
      libGL: pci id for fd 12: 8086:0a16, driver i965
      libGL: OpenDriver: trying /local-miki/src/mesa/mesa/lib/i965_dri.so
      libGL: Can't open configuration file /home/keithp/.drirc: Operation not permitted.
      libGL: Can't open configuration file /home/keithp/.drirc: Operation not permitted.
      libGL error: DRI3 Fence object allocation failure Operation not permitted
      [10618:10618:0930/200525:ERROR:command_buffer_proxy_impl.cc(153)] Could not send GpuCommandBufferMsg_Initialize.
      [10618:10618:0930/200525:ERROR:webgraphicscontext3d_command_buffer_impl.cc(236)] CommandBufferProxy::Initialize failed.
      [10618:10618:0930/200525:ERROR:webgraphicscontext3d_command_buffer_impl.cc(256)] Failed to initialize command buffer.
      
      This made it pretty easy to diagnose the problem in the referenced bug report.
      
      Bugzilla: https://code.google.com/p/chromium/issues/detail?id=415681
      
      
      Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
      Cc: mesa-stable@lists.freedesktop.org
      Reviewed-by: default avatarMatt Turner <mattst88@gmail.com>
      (cherry picked from commit 32029267)
      ccf908e3
    • Thomas Hellstrom's avatar
      st/xa: Fix regression in xa_yuv_planar_blit() · ed440234
      Thomas Hellstrom authored and Emil Velikov's avatar Emil Velikov committed
      
      Commit "st/xa: scissor to help tilers" broke xa_yuv_planar_blit() and vmwgfx
      textured video. Fix this by implementing scissors also in the yuv draw path.
      
      Signed-off-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
      Reviewed-by: default avatarSinclair Yeh <syeh@vmware.com>
      Cc: Rob Clark <robclark@freedesktop.org>
      Cc: "10.2 10.3" <mesa-stable@lists.freedesktop.org>
      (cherry picked from commit 46537f1d)
      ed440234
  7. Sep 28, 2014
  8. Sep 27, 2014
Loading