1. 23 May, 2016 1 commit
  2. 17 May, 2016 6 commits
  3. 13 May, 2016 1 commit
  4. 04 May, 2016 1 commit
  5. 03 May, 2016 1 commit
  6. 01 May, 2016 1 commit
  7. 26 Apr, 2016 1 commit
  8. 25 Apr, 2016 1 commit
  9. 04 Apr, 2016 2 commits
  10. 01 Apr, 2016 1 commit
  11. 31 Mar, 2016 3 commits
  12. 29 Mar, 2016 3 commits
  13. 28 Mar, 2016 4 commits
  14. 09 Mar, 2016 1 commit
    • Emil Velikov's avatar
      glapi: remove the final function offset tags · c85544a1
      Emil Velikov authored
      A commit earlier this year reworked out python scripts to use a separate
      file for these. Followed by removing support from the parser, and
      removing all of the offset tags.
      
      Seems like we either missed a few, or people added them by mistake.
      Either way let's nuke the ones that are still around.
      
      Cc: Ian Romanick <ian.d.romanick@intel.com>
      Signed-off-by: Emil Velikov's avatarEmil Velikov <emil.l.velikov@gmail.com>
      c85544a1
  15. 03 Mar, 2016 1 commit
  16. 22 Feb, 2016 2 commits
  17. 08 Feb, 2016 1 commit
  18. 05 Feb, 2016 3 commits
  19. 22 Jan, 2016 1 commit
  20. 21 Jan, 2016 3 commits
    • Rob Clark's avatar
      mesa: add GREMEDY_string_marker · 1f7a96e0
      Rob Clark authored
      Signed-off-by: default avatarRob Clark <robclark@freedesktop.org>
      Reviewed-by: default avatarIan Romanick <ian.d.romanick@intel.com>
      1f7a96e0
    • Andreas Boll's avatar
      glapi: Build glapi_gentable.c only on Darwin · 5d4b2026
      Andreas Boll authored
      Removes the public symbol _glapi_create_table_from_handle from
      libGL.so.1.2.0 on all platforms except Darwin.
      
      Since the symbol is not used on other platforms it makes sense to
      build glapi_gentable.c only on Darwin.
      
      As a side effect it accelerates the build a bit and reduces the size
      of libGL.so.1.2.0 as follows:
      
      size lib/libGL.so.1.2.0 on my system shows
         text	   data	    bss	    dec	    hex	filename
       469211	  21848	   2720	 493779	  788d3	lib/libGL.so.1.2.0 before
       420988	  11240	   2720	 434948	  6a304	lib/libGL.so.1.2.0 after
      
      A little bit of history:
      
      _glapi_create_table_from_handle was introduced in
      
      commit 85937f4c
      Author: Jeremy Huddleston <jeremyhu@apple.com>
      Date:   Thu Jun 9 16:59:49 2011 -0700
      
          glapi: Add API that can create a _glapi_table from a dlfcn handle
      
          Example usage:
      
          void *handle = dlopen(opengl_library_path, RTLD_LOCAL);
          struct _glapi_table *disp = _glapi_create_table_from_handle(handle,
      "gl");
      Signed-off-by: Jeremy Huddleston Sequoia's avatarJeremy Huddleston <jeremyhu@apple.com>
      
      and the only user in mesa was added in
      
      commit f35913b9
      Author: Jeremy Huddleston <jeremyhu@apple.com>
      Date:   Thu Jun 9 17:29:51 2011 -0700
      
          apple: Use _glapi_create_table_from_handle to initialize our
      dispatch table
      Signed-off-by: Jeremy Huddleston Sequoia's avatarJeremy Huddleston <jeremyhu@apple.com>
      
      gl_gentable.py was also used for XQuartz in xserver 1.11 - 1.14.
      
      v2: Fix typos in commit message
          Add missing XORG_GLAPI_OUTPUTS += \ into src/mapi/glapi/gen/Makefile.am
          Add glapi_gentable.c to EXTRA_DIST for inclusion in the release
          tarball
      
      v3: Fix commit message: s/gl_gentable.c/glapi_gentable.c/
      Reported-by: default avatarArlie Davis <arlied@google.com>
      Cc: Jeremy Huddleston <jeremyhu@apple.com>
      Signed-off-by: Andreas Boll's avatarAndreas Boll <andreas.boll.dev@gmail.com>
      Reviewed-by: Matt Turner's avatarMatt Turner <mattst88@gmail.com>
      5d4b2026
    • Arlie Davis's avatar
      mesa: Reduce libGL.so binary size by about 15% · daa775b5
      Arlie Davis authored
      This patch significantly reduces the size of the libGL.so binary. It does
      not change the (externally visible) behavior of libGL.so at all.
      
      gl_gentable.py generates a function, _glapi_create_table_from_handle.
      This function allocates a large dispatch table, consisting of 1300 or so
      function pointers, and fills this dispatch table by doing symbol lookups
      on a given shared library.  Previously, gl_gentable.py would generate a
      single, very large _glapi_create_table_from_handle function, with a short
      cluster of lines for each entry point (function).  The idiom it generates
      was a NULL check, a call to snprintf, a call to dlsym / GetProcAddress,
      and then a store into the dispatch table.  Since this function processes
      a large number of entry points, this code is duplicated many times over.
      
      We can encode the same information much more compactly, by using a lookup
      table.  The previous total size of _glapi_create_table_from_handle on x64
      was 125848 bytes.  By using a lookup table, the size of
      _glapi_create_table_from_handle (and the related lookup tables) is reduced
      to 10840 bytes.  In other words, this enormous function is reduced by 91%.
      The size of the entire libGL.so binary (measured when stripped) itself drops
      by 15%.
      
      So the purpose of this change is to reduce the binary size, which frees up
      disk space, memory, etc.
      
      size lib/libGL.so.1.2.0 on my system shows (Andreas)
         text	   data	    bss	    dec	    hex	filename
       565947	  11256	   2720	 579923	  8d953	lib/libGL.so.1.2.0 before
       469211	  21848	   2720	 493779	  788d3	lib/libGL.so.1.2.0 after
      
      v2: Incorporate Matt's feedback.
      Reviewed-by: default avatarIan Romanick <ian.d.romanick@intel.com>
      Reviewed-by: Jeremy Huddleston Sequoia's avatarJeremy Huddleston Sequoia <jeremyhu@apple.com>
      Tested-by: Jeremy Huddleston Sequoia's avatarJeremy Huddleston Sequoia <jeremyhu@apple.com>
      Signed-off-by: Andreas Boll's avatarAndreas Boll <andreas.boll.dev@gmail.com>
      daa775b5
  21. 07 Jan, 2016 1 commit
  22. 03 Dec, 2015 1 commit