1. 04 Oct, 2018 1 commit
    • Kyle Brenneman's avatar
      Remove a couple of duplicate typedefs. · 012fe39e
      Kyle Brenneman authored
      GL_OES_EGL_image section.
      GL_VERSION_1_4 section.
      GL_OES_EGL_image is defined in GLES/glext.h and GLES2/gl2ext.h, and the
      GLeglImageOES typedef is also defined in GL/glext.h under
  2. 20 Sep, 2018 1 commit
    • Kyle Brenneman's avatar
      tests: Add tests for the multithreaded path in libGLdispatch · bed48a10
      Kyle Brenneman authored
      This is important for testing the TSD stubs, which have a separate fast path
      for single-threaded programs.
      The TSD stubs start with a simple global variable to hold the dispatch table
      so that a single-threaded program doesn't have to deal with the overhead of
      calling pthread_getspecific. When a second thread comes along, it sets that
      variable to NULL, which makes the stubs call pthread_getspecific instead.
      This change adds a flag to the testgldispatch test program that tells it to
      call into libGLdispatch from two threads to force it into its multi-threaded
      It also adds three new test scripts, which are the same testgldispatch tests
      but for the multithreaded path.
  3. 19 Sep, 2018 1 commit
  4. 17 Aug, 2018 3 commits
  5. 16 Aug, 2018 1 commit
    • Mathieu Bridon's avatar
      build: Find Python the Autotools way · 90f973f7
      Mathieu Bridon authored
      An added advantage to this is that it makes it really easy to build with
      Python 3, the same way other Autotools projects support it:
          $ export PYTHON=/usr/bin/python3
          $ ./configure
  6. 24 Jul, 2018 1 commit
  7. 20 Jun, 2018 1 commit
  8. 06 Jun, 2018 1 commit
  9. 24 May, 2018 1 commit
  10. 13 Apr, 2018 1 commit
    • Kyle Brenneman's avatar
      Some fixes for "make dist" · 652909fb
      Kyle Brenneman authored
      Don't point nonst_HEADERS or EXTRA_DIST at entire directories. That causes
      "make dist" to include files that it shouldn't, such as configured makefiles
      and .pyc files.
      Also added a few generated header files to noinst_HEADERS.
  11. 11 Apr, 2018 1 commit
    • Kyle Brenneman's avatar
      GLdispatch: Use --version-script instead -export-symbols. · 4914b61f
      Kyle Brenneman authored
      The -export-symbols option in libtool creates a version script on Linux, but
      on FreeBSD it instead uses the -retain-symbols-file option, which doesn't do
      anything with the dynamic symbol table.
      Instead, manually pass the --version-script option to the linker.
  12. 27 Mar, 2018 1 commit
    • Kyle Brenneman's avatar
      Merge branch 'freebsd-fixes' · 5baa1e5c
      Kyle Brenneman authored
      Various fixes so that libglvnd can build and run on FreeBSD.
      The only change to C code is to deal with a difference in the parameters for
      Most of the rest is to to remove the dependency on GNU make and bash.
  13. 26 Mar, 2018 10 commits
  14. 08 Mar, 2018 1 commit
  15. 05 Mar, 2018 2 commits
  16. 26 Feb, 2018 1 commit
  17. 22 Feb, 2018 1 commit
  18. 12 Feb, 2018 1 commit
  19. 31 Jan, 2018 1 commit
  20. 30 Jan, 2018 1 commit
    • Kyle Brenneman's avatar
      Bump the version numbers in the library filenames. · 1b74e819
      Kyle Brenneman authored
      If libglvnd is installed onto a system that already has non-libglvnd versions
      of any of the OpenGL libraries installed, then ldconfig can get confused about
      which files to create symlinks to. At worst, you could end up with a mix of the
      libglvnd libraries and leftover non-libglvnd libraries.
      To avoid that, bump the version numbers in these filenames:
      - libGL.so.1.0.0 -> libGL.so.1.7.0
      - libGLESv1_CM.so.1.0.0 -> libGLESv1_CM.so.1.2.0
      - libGLESv2.so.2.0.0 -> libGLESv2.so.2.1.0
      - libEGL.so.1.0.0 -> libEGL.so.1.1.0
      Fixes https://github.com/NVIDIA/libglvnd/issues/147
  21. 17 Jan, 2018 1 commit
  22. 16 Jan, 2018 2 commits
    • Kyle Brenneman's avatar
      GLdispatch: Fix the allocation size for the dynamic stubs. · fa8cea5b
      Kyle Brenneman authored
      In u_execmem.c, use entry_stub_size and MAPI_TABLE_NUM_DYNAMIC to determine how
      much executable memory to allocate, instead of just hard-coding 256KB.
      The stubs on some architectures are larger than 64 bytes, so 256KB isn't always
      going to be large enough, and it's wasteful on architectures with stubs that
      are smaller than 64 bytes.
    • Kyle Brenneman's avatar
      GLdispatch: Remove obsolete #ifdefs from u_execmem.c. · 294ccb2f
      Kyle Brenneman authored
      Remove the #ifdefs and the Win32 and malloc-based code from u_execmem.c. It's
      not needed or used anymore, and even if it was, the allocation code is in
      src/utils/utils_misc.c now.
  23. 27 Dec, 2017 1 commit
  24. 06 Dec, 2017 4 commits
    • Kyle Brenneman's avatar
      tests: Only use glXCreateContext in testglxmakecurrent. · 55b96280
      Kyle Brenneman authored
      In testglxmakecurrent, remove the paths to test using glXCreateNewContext and
      The testglxcreatecontext test now tests the various context creation functions,
      so we don't need to shoehorn them into testglxmakecurrent.
    • Kyle Brenneman's avatar
      tests: Add a test for creating GLX contexts. · f34d06fa
      Kyle Brenneman authored
      Add a new test, testglxcreatecontext to test the various functions for creating
      GLX contexts.
      It tests the core GLX functions, the GLX_ARB_create_context and
      GLX_EXT_no_config_context extensions, and using a vendor-provided extension
      The new test is much simpler than trying to use testglxmakecurrent to test both
      context creation and MakeCurrent, especially for trying to test multiple
      context creation functions.
    • Kyle Brenneman's avatar
      tests/GLX_dummy: Add a vendor-provided create context function · 151c595e
      Kyle Brenneman authored
      Added a glXCreateContextVendorDUMMY extension function to GLX_dummy to test
      using a vendor-provided extension function to create a context. We can't use
      glXCreateContextAttribsARB for that now, because it has a dispatch stub in
      libGLX itself.
      glXCreateContextVendorDUMMY takes the same arguments as
      glXCreateContextAttribsARB, so it can also serve as an example for implementing
      a dispatch stub for glXCreateContextAttribsARB in a real vendor library.
    • Kyle Brenneman's avatar
      tests: Add a dummy attribute for glXQueryContext. · 26bdafb0
      Kyle Brenneman authored
      Defined a dummy attribute that a test program can use with glXQueryContext to
      test dispatching by GLXContext.