Skip to content
Snippets Groups Projects
  1. Aug 08, 2018
  2. May 30, 2018
  3. May 04, 2018
  4. Apr 23, 2018
  5. Mar 23, 2018
  6. Mar 08, 2018
  7. Mar 05, 2018
  8. Feb 26, 2018
  9. Feb 22, 2018
  10. Feb 20, 2018
  11. Feb 12, 2018
  12. Jan 31, 2018
  13. Jan 30, 2018
    • 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
      1b74e819
  14. Jan 26, 2018
  15. Jan 25, 2018
  16. Jan 17, 2018
  17. Jan 16, 2018
    • 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.
      fa8cea5b
    • 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.
      294ccb2f
  18. Dec 27, 2017
  19. Dec 14, 2017
  20. Dec 06, 2017
    • Kyle Brenneman's avatar
      tests: Only use glXCreateContext in testglxmakecurrent. · 55b96280
      Kyle Brenneman authored
      In testglxmakecurrent, remove the paths to test using glXCreateNewContext and
      glXCreateContextAttribsARB.
      
      The testglxcreatecontext test now tests the various context creation functions,
      so we don't need to shoehorn them into testglxmakecurrent.
      55b96280
    • 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
      function.
      
      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.
      f34d06fa
    • 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.
      151c595e
    • 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.
      26bdafb0
    • Kyle Brenneman's avatar
      tests: Add support for GLX_EXT_no_context_config to GLX_dummy · e0d43b79
      Kyle Brenneman authored
      The implementation of glXCreateContextAttribARB in GLX_dummy will now handle
      a screen number attribute or a GLXFBConfig.
      e0d43b79
    • Kyle Brenneman's avatar
      tests: Remove the vendor dispatch stub for glXCreateContextAttribsARB. · 82125032
      Kyle Brenneman authored
      glXCreateContextAttribsARB now has a dispatch stub in libGLX.so, so the dummy
      vendor doesn't need to provide one.
      82125032
Loading