1. 26 Oct, 2017 1 commit
    • Camilla Löwy's avatar
      Add content scale queries · 16bf8721
      Camilla Löwy authored
      This adds glfwGetWindowContentScale and glfwGetMonitorContentScale for
      querying the recommended drawing scale factor for DPI-aware rendering.
      
      Parts of this patch are based on code by @ferreiradaselva.
      
      Fixes #235.
      Fixes #439.
      Fixes #677.
      Fixes #845.
      Fixes #898.
      16bf8721
  2. 27 Sep, 2017 3 commits
    • Camilla Löwy's avatar
      Add GLFW_TRANSPARENT attribute and documentation · 32e78aeb
      Camilla Löwy authored
      This completes support for window framebuffer transparency on Windows,
      macOS and X11.  Note that the hint/attribute may be renamed before
      release to clarify its relationship to GLFW_OPACITY.
      
      Fixes #197.
      Closes #1079.
      Related to #663.
      Related to #715.
      Related to #723.
      Related to #1078.
      32e78aeb
    • Bailey Cosier's avatar
      Cleanup · 93e66661
      Bailey Cosier authored
      This is an extract of a commit, minimally edited to ensure it compiles.
      
      Closes #1078.
      Related to #197.
      93e66661
    • Wolfgang Draxinger's avatar
      Add GLFW_TRANSPARENT and X11 implementation · 019609b6
      Wolfgang Draxinger authored
      This is a squashed extract of several commits, minimally edited to
      ensure it compiles.
      
      Related to #197.
      Related to #715.
      019609b6
  3. 17 Aug, 2017 1 commit
  4. 25 Jul, 2017 1 commit
    • Camilla Löwy's avatar
      Add glfwInitHintString · 213dd2d0
      Camilla Löwy authored
      Adds string type init hints.  Adds X11 specific init hints for WM_CLASS
      components.  Documentation work.
      
      Fixes #893.
      213dd2d0
  5. 13 Jul, 2017 1 commit
    • Camilla Löwy's avatar
      Cleanup · 82284b86
      Camilla Löwy authored
      Thanks to glfwGetKeyScancode we can now pass only a scancode to the
      platform layer for glfwGetKeyName.
      82284b86
  6. 09 Jul, 2017 1 commit
  7. 07 Jul, 2017 1 commit
  8. 08 Jun, 2017 2 commits
  9. 25 May, 2017 1 commit
    • Camilla Löwy's avatar
      Remove internal header inclusion guards · 372e9086
      Camilla Löwy authored
      Inclusion of internal headers is already both centralized and follows
      strict rules.  Inclusion guards are both an unneccessary maintenance
      burden and may hide inclusion order bugs.
      372e9086
  10. 11 May, 2017 2 commits
  11. 03 May, 2017 1 commit
    • Camilla Löwy's avatar
      Add glfwGetError · 6350641f
      Camilla Löwy authored
      Related to #970.
      
      If you have opinions on the design or implementation of this function,
      please come join us in #970 before it is frozen for release.
      6350641f
  12. 19 Mar, 2017 2 commits
  13. 06 Mar, 2017 1 commit
    • Camilla Löwy's avatar
      Implement glfwGetJoystickHats · 798d7c6d
      Camilla Löwy authored
      This moves the buttons-as-hats logic to shared code and adds the
      GLFW_JOYSTICK_HAT_BUTTONS input mode as a way to disable this legacy
      behavior.
      
      Fixes #889.
      798d7c6d
  14. 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
  15. 28 Feb, 2017 4 commits
  16. 10 Feb, 2017 1 commit
  17. 08 Feb, 2017 2 commits
  18. 06 Feb, 2017 1 commit
    • Liam Middlebrook's avatar
      Add GLFW_CENTER_CURSOR · 72ac5bad
      Liam Middlebrook authored
      Adds a hint for controlling whether the cursor is centered over newly
      created full screen windows.
      
      Fixes #749.
      Closes #842.
      72ac5bad
  19. 30 Jan, 2017 1 commit
  20. 10 Jan, 2017 2 commits
  21. 02 Jan, 2017 2 commits
  22. 01 Jan, 2017 1 commit
  23. 08 Dec, 2016 2 commits
  24. 06 Dec, 2016 1 commit
    • Camilla Löwy's avatar
      Add glfwSetWindowAttrib · 9e56099e
      Camilla Löwy authored
      This function allows updating the GLFW_DECORATED, GLFW_RESIZABLE,
      GLFW_FLOATING and GLFW_AUTO_ICONIFY attributes for existing windows.
      
      Fixes #537.
      9e56099e
  25. 30 Nov, 2016 1 commit
  26. 09 Nov, 2016 2 commits
    • Camilla Berglund's avatar
      OSMesa: Cleanup · fef21361
      Camilla Berglund authored
      Fixes formatting, semantics and documentation.  Adds
      glfwGetOSMesaContext.  Adds support for OSMesa context attributes.
      Updates changelog and credits.  Adds license and copyright headers.
      Removes superfluous code (the shared code provides many conveniences).
      Removes loading of unused OSMesa functions.  Removes empty platform
      structs.  Fixes version string format.  Removes build dependency on
      the OSMesa header and library (only the library is needed and only at
      runtime).
      
      Closes #850.
      fef21361
    • Jason Daly's avatar
      Add headless OSMesa backend · 368fa947
      Jason Daly authored
      Allows creation and drawing to in-memory OpenGL contexts.
      
      This backend does not provide input.
      
      Related to #850.
      368fa947
  27. 01 Nov, 2016 1 commit
    • Camilla Berglund's avatar
      Cocoa: Add basic support for Vulkan via MoltenVK · e94d1666
      Camilla Berglund authored
      This adds basic support for MoltenVK, a Vulkan implementation on top of
      Metal, on macOS 10.11 and later.  It looks for MoltenVK in the process
      via RTLD_DEFAULT symbol lookup if _GLFW_VULKAN_STATIC is disabled.
      
      glfwCreateWindowSurface now creates and sets a CAMetalLayer for the
      window content view, which is required for MoltenVK to function.
      
      You must help CMake find MoltenVK for the Vulkan test to be built.
      
      Fixes #870.
      e94d1666