1. 30 May, 2018 1 commit
  2. 10 May, 2018 1 commit
    • Mathias Fröhlich's avatar
      mesa: Compute effective buffer bindings in the vao. · d1698d43
      Mathias Fröhlich authored
      
      
      Compute VAO buffer binding information past the position/generic0 mapping.
      Scan for duplicate buffer bindings and collapse them into derived
      effective buffer binding index and effective attribute mask variables.
      Provide a set of helper functions to access the distilled
      information in the VAO. All of them prefixed with _mesa_draw_...
      to indicate that they are meant to query draw information.
      
      v2: Also group user space arrays containing interleaved arrays.
          Add _Eff*Offset to be copied on attribute and binding copy.
          Update comments.
      Reviewed-by: default avatarBrian Paul <brianp@vmware.com>
      Signed-off-by: default avatarMathias Fröhlich <Mathias.Froehlich@web.de>
      d1698d43
  3. 12 Apr, 2018 1 commit
  4. 31 Mar, 2018 2 commits
  5. 10 Mar, 2018 1 commit
  6. 23 Feb, 2018 4 commits
  7. 01 Feb, 2018 1 commit
  8. 29 Jan, 2018 2 commits
  9. 24 Jan, 2018 5 commits
  10. 17 Jan, 2018 1 commit
  11. 14 Jun, 2017 1 commit
  12. 08 Jun, 2017 2 commits
  13. 28 Oct, 2016 1 commit
  14. 07 Jan, 2016 1 commit
  15. 28 Oct, 2015 1 commit
  16. 20 Oct, 2015 2 commits
  17. 08 May, 2015 1 commit
  18. 05 Mar, 2015 1 commit
  19. 25 Feb, 2015 1 commit
    • Marius Predut's avatar
      mesa: use fi_type in vertex attribute code · 1a93e769
      Marius Predut authored
      For 32-bit builds, floating point operations use x86 FPU registers,
      not SSE registers.  If we're actually storing an integer in a float
      variable, the value might get modified when written to memory.  This
      patch changes the VBO code to use the fi_type (float/int union) to
      store/copy vertex attributes.
      
      Also, this can improve performance on x86 because moving floats with
      integer registers instead of FP registers is faster.
      
      Neil Roberts review:
      - include changes on all places that are storing attribute values.
      - check with and without -O3 compiler flag.
      Brian Paul review:
      - use fi_type type instead gl_constant_value type
      - fix a bunch of nit-picks.
      - fix compiler warnings
      
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82668
      
      Signed-off-by: default avatarMarius Predut <marius.predut@intel.com>
      Reviewed-by: default avatarBrian Paul <brianp@vmware.com>
      1a93e769
  20. 23 Feb, 2015 1 commit
  21. 11 Jul, 2014 1 commit
  22. 03 Sep, 2013 1 commit
  23. 05 Jun, 2013 1 commit
  24. 24 Apr, 2013 3 commits
    • Kenneth Graunke's avatar
      mesa: Restore 78-column wrapping of license text in C-style comments. · 3d8d5b29
      Kenneth Graunke authored
      
      
      The previous commit introduced extra words, breaking the formatting.
      
      This text transformation was done automatically via the following shell
      command:
      $ git grep 'THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY' | sed 's/:.*$//' | xargs -I {} sh -c 'vim -e -s {} < vimscript
      
      where 'vimscript' is a file containing:
      /THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY/;/\*\// !fmt -w 78 -p ' * '
      :wq
      Reviewed-by: default avatarBrian Paul <brianp@vmware.com>
      3d8d5b29
    • Kenneth Graunke's avatar
      mesa: Add "OR COPYRIGHT HOLDERS" to license text disclaiming liability. · 96ff2edc
      Kenneth Graunke authored
      This brings the license text in line with the MIT License as published
      on the Open Source Initiative website:
      
      http://opensource.org/licenses/mit-license.php
      
      
      
      Generated automatically be the following shell command:
      $ git grep 'THE AUTHORS BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \
        sed -i 's/THE AUTHORS/THE AUTHORS OR COPYRIGHT HOLDERS/' {}
      
      This introduces some wrapping issues, to be fixed in the next commit.
      Reviewed-by: default avatarBrian Paul <brianp@vmware.com>
      96ff2edc
    • Kenneth Graunke's avatar
      mesa: Change "BRIAN PAUL" to "THE AUTHORS" in license text. · dd404bc9
      Kenneth Graunke authored
      
      
      Generated automatically be the following shell command:
      $ git grep 'BRIAN PAUL BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \
        sed -i 's/BRIAN PAUL/THE AUTHORS/' {}
      
      The intention here is to protect all authors, not just Brian Paul.  I
      believe that was already the sensible interpretation, but spelling it
      out is probably better.
      
      More practically, it also prevents people from accidentally copy &
      pasting the license into a new file which says Brian is not liable when
      he isn't even one of the authors.
      Reviewed-by: default avatarBrian Paul <brianp@vmware.com>
      dd404bc9
  25. 17 Apr, 2013 1 commit
  26. 06 Nov, 2012 1 commit
    • Marek Olšák's avatar
      vbo: fix glVertexAttribI* functions · acf438f5
      Marek Olšák authored
      
      
      The functions were broken, because they converted ints to floats.
      Now we can finally advertise OpenGL 3.0. ;)
      
      In this commit, the vbo module also tracks the type for each attrib
      in addition to the size. It can be one of FLOAT, INT, UNSIGNED_INT.
      
      The little ugliness is the vertex attribs are declared as floats even though
      there may be integer values. The code just copies integer values into them
      without any conversion.
      
      This implementation passes the glVertexAttribI piglit test which I am going
      to commit in piglit soon. The test covers vertex arrays, immediate mode and
      display lists.
      
      NOTE: This is a candidate for the stable branches.
      Reviewed-by: default avatarBrian Paul <brianp@vmware.com>
      
      v2: cosmetic changes as suggested by Brian
      acf438f5
  27. 15 Oct, 2012 1 commit