1. 02 May, 2014 2 commits
  2. 30 Apr, 2014 1 commit
  3. 28 Apr, 2014 2 commits
  4. 27 Apr, 2014 1 commit
    • Chia-I Wu's avatar
      mesa: use accessors for struct gl_debug_state · cf61ea30
      Chia-I Wu authored
      When GL_DEBUG_OUTPUT_SYNCHRONOUS is GL_TRUE, drivers are allowed to log debug
      messages from other threads.  That requires gl_debug_state to be protected by
      a mutex, even when it is a context state.  While we do not spawn threads in
      Mesa yet, this commit makes it easier to do when we want to.
      
      Since the definition of struct gl_debug_state is no longer needed by the rest
      of the driver, move it to main/errors.c.  This should make it even harder to
      use the struct incorrectly.
      
      v2: add comments for the accessors
      Signed-off-by: default avatarChia-I Wu <olv@lunarg.com>
      Reviewed-by: default avatarBrian Paul <brianp@vmware.com>
      cf61ea30
  5. 26 Apr, 2014 3 commits
  6. 25 Apr, 2014 1 commit
    • Roland Scheidegger's avatar
      gallium/util: use ui[4] instead of ui in union util_color · fa408232
      Roland Scheidegger authored
      util_color often merely represents a collection of bytes, however it is
      inconvenient if those bytes can only be accessed as floats/doubles for int
      formats exceeding 32bits.
      (Note that since rgba8 formats use one uint, not 4 bytes, hence the byte and
      short member were left as is.)
      fa408232
  7. 24 Apr, 2014 2 commits
  8. 23 Apr, 2014 1 commit
  9. 22 Apr, 2014 1 commit
  10. 21 Apr, 2014 1 commit
  11. 17 Apr, 2014 1 commit
  12. 12 Apr, 2014 1 commit
  13. 11 Apr, 2014 1 commit
  14. 10 Apr, 2014 3 commits
  15. 08 Apr, 2014 1 commit
  16. 07 Apr, 2014 1 commit
  17. 04 Apr, 2014 1 commit
  18. 02 Apr, 2014 1 commit
  19. 01 Apr, 2014 1 commit
  20. 31 Mar, 2014 1 commit
  21. 27 Mar, 2014 2 commits
    • Brian Paul's avatar
      st/mesa: overhaul texture / sample swizzle code · 12b959c3
      Brian Paul authored
      Previously we only examined the GL_DEPTH_MODE state to determine the
      sampler view swizzle for depth textures.  Now we also consider the
      texture base format for color textures too.
      
      The basic idea is if we're sampling from a RGB texture we always
      want to get A=1, even if the actual hardware format might be RGBA.
      We had assumed that the texture's A values were always one since that's
      what Mesa's texstore code does.  But if we render to the RGBA texture,
      the A values might not be 1.  Subsequent sampling didn't return the
      right values.
      
      Now we examine the user-specified texture base format vs. the actual
      gallium format to determine the right swizzle.
      
      Fixes several fbo-blending-formats, fbo-clear-formats and fbo-tex-rgbx
      failures with VMware/svga driver (and possibly other drivers).
      No other piglit regressions with softpipe or VMware/svga.
      Reviewed-by: default avatarMarek Olšák <maraeo@gmail.com>
      12b959c3
    • Brian Paul's avatar
      st/mesa: simplify apply_depthmode() · 0151707c
      Brian Paul authored
      In preparation for following changes.
      
      I used a temporary test harness to compare the old code to the new
      for all possible swizzle inputs.  No change in results.
      0151707c
  22. 26 Mar, 2014 2 commits
  23. 25 Mar, 2014 1 commit
  24. 24 Mar, 2014 1 commit
  25. 20 Mar, 2014 2 commits
  26. 15 Mar, 2014 3 commits
  27. 07 Mar, 2014 1 commit
  28. 10 Mar, 2014 1 commit