1. 17 Jan, 2020 2 commits
  2. 05 Jan, 2020 1 commit
  3. 31 Dec, 2019 1 commit
    • Camilla Löwy's avatar
      Cocoa: Replace display link with IOKit query · 9fc5fd13
      Camilla Löwy authored
      This removes the final dependency on CoreVideo, using a display link to
      get the refresh rate of monitors where Core Graphics report a refresh
      rate of zero.  Instead we now query the I/O registry directly, similarly
      to what the display link does at creation.
      
      Thanks to @OneSadCookie for pointers to this solution.
      
      (cherry picked from commit 4ec7daf3e92440efab8dac7c1f4c60707d990ed0)
      9fc5fd13
  4. 19 Dec, 2019 1 commit
  5. 27 May, 2019 1 commit
    • Camilla Löwy's avatar
      Enable CMake policy CMP0077 where available · 5416e347
      Camilla Löwy authored
      This will let higher-level projects override GLFW CMake options with
      normal variables instead of having to use cache variables.
      
      This means with CMake 3.13 and later you can now do:
      
      set(GLFW_BUILD_TESTS ON)
      add_subdirectory(path/to/glfw)
      
      Instead of the more verbose:
      
      set(GLFW_BUILD_TESTS ON CACHE BOOL "" FORCE)
      add_subdirectory(path/to/glfw)
      
      (cherry picked from commit 71e6ff386d9a3e0cc7c069be9b0ee1a9ac738647)
      5416e347
  6. 19 May, 2019 5 commits
  7. 16 Apr, 2019 1 commit
  8. 15 Apr, 2019 2 commits
  9. 03 Dec, 2018 2 commits
  10. 05 Oct, 2018 1 commit
  11. 01 Oct, 2018 2 commits
    • Emmanuel Gil Peyrot's avatar
      Wayland: Add support for xdg-decoration · dcd2a19d
      Emmanuel Gil Peyrot authored
      This allows compositors which prefer to draw the decorations around
      clients to do so, rather than letting GLFW draw its own decorations.
      The appearance is thus entirely subject to the compositor used, but
      should generally be better than the current solid colour decorations we
      have, which we continue to use when the compositor doesn’t support this
      protocol or tells us to draw the decorations ourselves.
      
      This new protocol has been tested against wlroots’s rootston compositor.
      
      Fixes #1257.
      dcd2a19d
    • Emmanuel Gil Peyrot's avatar
      Wayland: Use memfd_create() and seals if available · 3e884aea
      Emmanuel Gil Peyrot authored
      This allows the compositor to avoid having to setup and teardown a
      SIGBUS signal handler whenever it needs to read from this surface, as it
      knows we won’t be able to shrink the file and so doesn’t have to protect
      against that.
      
      This codepath will only be used on Linux ≥ 3.17 with glibc ≥ 2.27, and
      possibly other kernels and libc.  The former code will continue to be
      used as a fallback, either if memfd_create() fails or if it isn’t
      available.
      3e884aea
  12. 09 Apr, 2018 1 commit
  13. 27 Mar, 2018 1 commit
  14. 01 Mar, 2018 1 commit
    • Camilla Löwy's avatar
      Cocoa: Update MoltenVK support for LunarG SDK · ab3bfb42
      Camilla Löwy authored
      GLFW now checks for the libvulkan.1.dylib loader instead of what is now
      the ICD.  This removes checking for libMoltenVK.dylib to avoid cryptic
      errors.  This unfortunately also breaks compatibility with the
      standalone MoltenVK SDK.
      
      This also removes support for the static loader library as that is not
      present in the LunarG SDK.
      
      Related to #870.
      ab3bfb42
  15. 29 Jan, 2018 1 commit
  16. 17 Jan, 2018 1 commit
  17. 20 Dec, 2017 1 commit
  18. 20 Nov, 2017 2 commits
  19. 15 Nov, 2017 1 commit
  20. 30 Oct, 2017 1 commit
  21. 20 Aug, 2017 1 commit
  22. 16 Aug, 2017 4 commits
  23. 07 May, 2017 1 commit
  24. 30 Mar, 2017 1 commit
  25. 01 Mar, 2017 1 commit
    • Camilla Löwy's avatar
      Add glfwInitHint · 6d9a58bf
      Camilla Löwy authored
      This allows setting hints that control how the library is initialized,
      transforming more compile-time options into run-time ones.
      6d9a58bf
  26. 01 Feb, 2017 1 commit
  27. 11 Dec, 2016 1 commit
  28. 08 Dec, 2016 1 commit
    • Camilla Löwy's avatar
      Add GLFW_COCOA_RETINA_FRAMEBUFFER · 58ceab5f
      Camilla Löwy authored
      Look, a can of worms!  I wonder what's inside.
      
      This adds the first platform specific window hint, transforming
      a compile-time option to a run-time per-window one.
      58ceab5f