Skip to content
Snippets Groups Projects
  1. Mar 25, 2009
  2. Mar 23, 2009
  3. Mar 20, 2009
  4. Mar 18, 2009
    • Brian Paul's avatar
      mesa: avoid setting texObj->_Complete = GL_FALSE when there's no state change · 71224909
      Brian Paul authored
      Avoid a little bit of unneeded state validation and fixes a bug where the
      texture complete flags was set to false, but we didn't signal _NEW_TEXTURE.
      
      Fixes piglit tex1d-2dborder failure.
      (cherry picked from commit aad3f546)
      71224909
    • Brian Paul's avatar
      mesa: add no-change testing for a few more texture parameters · 6ada1d47
      Brian Paul authored
      (cherry picked from commit 37c768b3)
      6ada1d47
    • Robert Ellison's avatar
      i965: fix polygon stipple when rendering to FBO · 55865335
      Robert Ellison authored
      The polygon stipple pattern, like the viewport and the
      polygon face orientation, must be inverted on the i965
      when rendering to a FBO (which itself has an inverted pixel
      coordinate system compared to raw Mesa).
      
      In addition, the polygon stipple offset, which orients
      the stipple to the window system, disappears when rendering
      to an FBO (because the window system offset doesn't apply,
      and there's no associated FBO offset).
      
      With these fixes, the conform triangle and polygon stipple
      tests pass when rendering to texture.
      (cherry picked from commit 29309b45)
      55865335
    • Robert Ellison's avatar
      i965: fix polygon face orientation when rendering to FBO · 918e5221
      Robert Ellison authored
      In the i965, the FBO coordinate system is inverted from the standard
      OpenGL/Mesa coordinate system; that means that the viewport and the
      polygon face orientation have to be inverted if rendering to a FBO.
      
      The viewport was already being handled correctly; but polygon face
      was not.  This caused a conform failure when rendering to texture with
      two-sided lighting enabled.
      
      This fixes the problem in the i965 driver, and adds to the comment about
      the gl_framebuffer "Name" field so that this isn't a surprise to other
      driver writers.
      (cherry picked from commit 6dceeb2e)
      918e5221
  5. Mar 17, 2009
    • Brian Paul's avatar
      swrast: use better _swrast_compute_lambda() function · 9feb2658
      Brian Paul authored
      The MAX-based function can produce values that are non-monotonic for a span
      which causes glitches in texture filtering.  The sqrt-based one avoids that.
      
      This is perhaps slightly slower than before, but the difference
      probably isn't noticable given we're doing software mipmap filtering.
      
      Issue reported by Nir Radian <nirr@horizonsemi.com>
      
      (cherry picked from master, commit c334ce27)
      9feb2658
  6. Mar 16, 2009
  7. Mar 14, 2009
Loading