1. 25 May, 2016 1 commit
  2. 08 Feb, 2016 1 commit
  3. 20 Nov, 2015 3 commits
  4. 20 Jul, 2015 1 commit
  5. 28 May, 2015 1 commit
  6. 09 Dec, 2014 1 commit
  7. 02 Dec, 2014 1 commit
  8. 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: Brian Paul's avatarBrian Paul <brianp@vmware.com>
  9. 21 Apr, 2014 1 commit
  10. 03 Mar, 2014 1 commit
  11. 08 Feb, 2014 1 commit
    • Brian Paul's avatar
      mesa: allocate gl_debug_state on demand · 6e8d04ac
      Brian Paul authored
      We don't need to allocate all the state related to GL_ARB_debug_output
      until some aspect of that extension is actually needed.
      The sizeof(gl_debug_state) is huge (~285KB on 64-bit systems), not even
      counting the 54(!) hash tables and lists that it contains.  This change
      reduces the size of gl_context alone from 431KB bytes to 145KB bytes on
      64-bit systems and from 277KB bytes to 78KB bytes on 32-bit systems.
      Reviewed-by: Kenneth Graunke's avatarReviewed-by: Kenneth Graunke <kenneth@whitecape.org>
  12. 03 Feb, 2014 1 commit
    • Kenneth Graunke's avatar
      mesa: Rename ArrayObj to VAO and DefaultArrayObj to DefaultVAO. · 0dfe50f1
      Kenneth Graunke authored
      When reading through the Mesa drawing code, it's not immediately obvious
      to me that "ArrayObj" (gl_array_object) is the Vertex Array Object (VAO)
      state.  The comment above the structure explains this, but readers still
      have to remember this and translate accordingly.
      Out of context, "array object" is a fairly vague.  Even in context,
      "array" has a lot of meanings: glDrawArrays, vertex data stored in user
      arrays, gl_client_arrays, gl_vertex_attrib_arrays, and so on.
      Using the term "VAO" immediately associates these fields with the OpenGL
      concept, clarifying the situation and aiding programmer sanity.
      Completely generated by:
      $ find . -type f -print0 | xargs -0 sed -i \
        -e 's/ArrayObj;/VAO;/g'                  \
        -e 's/->ArrayObj/->VAO/g'                \
        -e 's/Array\.ArrayObj/Array.VAO/g'       \
        -e 's/Array\.DefaultArrayObj/Array.DefaultVAO/g'
      v2: Rerun command to resolve conflicts with Ian's meta patches.
      Signed-off-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
      Reviewed-by: Jordan Justen's avatarJordan Justen <jordan.l.justen@intel.com>
      Reviewed-by: default avatarIan Romanick <ian.d.romanick@intel.com>
      Reviewed-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
  13. 21 Dec, 2013 1 commit
  14. 08 Nov, 2013 2 commits
  15. 07 Nov, 2013 2 commits
  16. 12 Jul, 2013 1 commit
    • Brian Paul's avatar
      mesa: update glext.h to version 20130708 · cb2de08f
      Brian Paul authored
      This update fixes the problem with duplicated typedefs for
      GLclampf and GLclampd in the previous version.
      It also changes some parameter types for glDebugMessageCallbackARB()
      and glTransformFeedbackVaryingsEXT().
      Note we should someday update the glapi-gen code so that it
      understands void pointer parameters.  Currently, the Python code
      only understands "GLvoid *" but not "void *".  Luckily, the
      compilers don't seem to complain about mixing GLvoid and void.
  17. 28 Jun, 2013 1 commit
  18. 05 Jun, 2013 1 commit
  19. 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
      $ 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:
      Reviewed-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
    • 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:
      Generated automatically be the following shell command:
      $ git grep 'THE AUTHORS BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \
      This introduces some wrapping issues, to be fixed in the next commit.
      Reviewed-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
    • 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: Brian Paul's avatarBrian Paul <brianp@vmware.com>
  20. 17 Apr, 2013 1 commit
  21. 15 Feb, 2013 1 commit
  22. 25 Jan, 2013 1 commit
  23. 22 Jan, 2013 1 commit
  24. 29 Nov, 2012 1 commit
  25. 16 Oct, 2012 1 commit
  26. 15 Oct, 2012 1 commit
  27. 15 Sep, 2012 3 commits
  28. 29 Aug, 2012 3 commits
  29. 31 Jul, 2012 1 commit
  30. 30 Jul, 2012 1 commit