Skip to content
Snippets Groups Projects
  1. Apr 30, 2021
  2. Apr 27, 2021
  3. Apr 21, 2021
    • Kyle Brenneman's avatar
      GLdispatch: Add a build option to disable entrypoint patching. · c1c60ac8
      Kyle Brenneman authored
      Added a --disable-entrypoint-tracking configure option and an
      'entrypoint-patching' meson option to disable libGLdispatch's entrypoint
      patching at build time.
      
      If entrypoint patching is disabled, then it #ifdef's out the mprotect call, and
      acts as if mprotect had failed, which causes libGLdispatch to skip trying to
      perform any patching.
      
      Fixes #217
      c1c60ac8
  4. Feb 22, 2021
  5. Feb 11, 2021
  6. Nov 19, 2020
    • Kyle Brenneman's avatar
      GLX: Fix a potential deadlock in OnDisplayClosed. · dd2d28a0
      Kyle Brenneman authored
      In OnDisplayClosed, unlock the __glXDisplayInfoHash lock before locking
      glxContextHashLock.
      
      In CommonMakeCurrent, it holds glxContextHashLock while it tries to take the
      __glXDisplayInfoHash lock, so if CommonMakeCurrent and OnDisplayClosed run at
      the same time, they could deadlock.
      
      To avoid that, OnDisplayClosed will set a new inTeardown flag in the
      __GLXdisplayInfoHash, then it will unlock the display hash before calling
      __glXDisplayClosed.
      
      After __glXDisplayClosed is finished, OnDisplayClosed will lock
      __glXDisplayInfoHash again long enough to remove the display from the
      hashtable.
      
      The inTeardown flag tells __glXLookupDisplay to return NULL, since after that
      point, nothing should be trying to look up the display. In principle, we could
      just remove the display from the hashtable up front, but then if something did
      try to look up the display, then __glXLookupDisplay would try to create a new
      __GLXdisplayInfo for it.
      
      Fixes glvnd/libglvnd#213
      dd2d28a0
  7. Nov 18, 2020
    • Kyle Brenneman's avatar
      Merge branch 'vendordev' into 'master' · 1457209a
      Kyle Brenneman authored
      egl: use device dispatch if at least one vendor suceeds
      
      See merge request glvnd/libglvnd!235
      1457209a
    • Ronan Pigott's avatar
      egl: use device dispatch if at least one vendor suceeds · a527411d
      Ronan Pigott authored
      Currently, in InitDeviceListInternal if any egl vendor fails to list
      its devices for any reason the construction of the device list is
      abandoned. That means that even if we have one vendor successfully
      serving the application, the failure of another vendor library will
      break any api calls related to egl devices.
      
      Instead, if a vendor fails queryDevicesEXT the device mapping logic
      should proceed as if it listed no devices. If the relevant device
      belongs to the failed vendor then the dispatch will still fail with
      EGL_BAD_DEVICE.
      a527411d
  8. Aug 12, 2020
  9. Aug 11, 2020
    • Kyle Brenneman's avatar
      Add .arm directives for the GLX entrypoint stubs. · 6cd95fbf
      Kyle Brenneman authored
      Add .arm and .thumb directives before and after the ARMv7 GLX dispatch stubs.
      
      The function addresses that get passed around don't take Thumb into account, so
      if they're compiled as Thumb, then they'd still get executed as ARM, which
      would cause them to crash a SIGILL.
      6cd95fbf
  10. Aug 06, 2020
  11. Jul 01, 2020
  12. Jun 25, 2020
  13. Jun 10, 2020
  14. May 20, 2020
  15. May 07, 2020
  16. Feb 21, 2020
  17. Jan 24, 2020
  18. Jan 17, 2020
  19. Jan 16, 2020
  20. Jan 15, 2020
  21. Jan 10, 2020
  22. Dec 17, 2019
  23. Dec 13, 2019
Loading