1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-26 20:28:49 -05:00
Commit Graph

50 Commits

Author SHA1 Message Date
JoelNiemela 060631c965 Fix typos in docs
Closes #2150
2022-07-11 20:52:43 +02:00
Camilla Löwy 399c2a1fad Clarify docs on default GL header inclusion
The documentation claims that any extension loader library header
included before the GLFW one will prevent the inclusion of the
default OpenGL header.  In reality this only worked if the loader
defined the canonical desktop OpenGL __gl_h_ inclusion guard and even
then relied on the OpenGL header to detect this.

This is the companion to 105cf32e0b, which
added the preprocessor logic to check for many known OpenGL and OpenGL
ES inclusion guards and not even attempt to include the default header
if any are present.

Some clarification of the language around header inclusion has also been
attempted, including making GLFW_INCLUDE_NONE more prominent.

Fixes #1695.
2020-06-02 18:04:49 +02:00
Camilla Löwy fbf8aae44f Fix typo in header option macro docs 2020-05-31 15:28:57 +02:00
Camilla Löwy d7ae90a790 Update community resource links 2020-05-05 00:38:14 +02:00
Camilla Löwy 9516df52a4 Fix unclear language in build guide
Fixes #1658.
2020-03-12 01:57:58 +01:00
Camilla Löwy d973acc123 Update OpenGL bits of build documentation slightly
This removes most references to GLU, replaces the legacy CMake cache
variables for OpenGL with the modern namespaced target and switches to
$() for command substitution.

Fixes #1580.
2020-01-19 23:35:59 +01:00
Camilla Löwy 4ec7daf3e9 Cocoa: Replace display link with IOKit query
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.
2019-12-25 21:53:04 +01:00
Camilla Löwy 8ee589e43b Disable examples and tests when a subproject
This changes the default value of the GLFW_BUILD_EXAMPLES and
GLFW_BUILD_TESTS CMake options to false when GLFW is being added as
a subdirectory by another CMake project.

If you want the previous behavior, force these options to true before
adding the GLFW subdirectory:

set(GLFW_BUILD_EXAMPLES ON CACHE BOOL "" FORCE)
set(GLFW_BUILD_TESTS ON CACHE BOOL "" FORCE)
add_subdirectory(path/to/glfw)

Doing this is backward compatible with earlier versions of GLFW.

The GLFW_BUILD_DOCS option is left enabled as it also requires Doxygen
to have any effect, is quicker to build and is more likely to be useful
when GLFW is a subproject.
2019-05-17 16:12:52 +02:00
Camilla Löwy a337c56848 Start 3.4 2019-04-16 23:08:39 +02:00
Camilla Löwy d7e30b1c74 Replace glad and the Vulkan SDK with glad2
This removes all dependencies from the GLFW test programs on the Vulkan
SDK.

It also removes support for linking the GLFW shared library (dynamic
library, DLL) against the Vulkan loader static library.
2019-04-15 02:45:48 +02:00
MrVallentin 85fd5aa6c4 Use HTTPS when possible 2018-11-03 11:57:47 +01:00
Camilla Löwy 868f1e7bfc Remove language requiring linking against opengl32
This has not been a requirement since 3.2.

Fixes 1347.
2018-10-22 00:51:08 +02:00
siavashserver b4c99aacd4 Fix OpenGL header inclusion guide
Closes #1233.
2018-03-19 15:19:47 +01:00
Camilla Löwy 1be81a1540 Documentation work 2017-10-22 16:30:19 +02:00
Camilla Löwy d2779aa765 Documentation work
[ci skip]
2017-06-08 16:09:14 +02:00
Camilla Löwy 9457cf33d1 Documentation work 2017-04-06 14:40:02 +02:00
Camilla Löwy 5a11d19940 Start adding links to GLU replacements 2017-01-24 21:45:03 +01:00
Camilla Löwy 3edaa5280d Add GLFW_INCLUDE_ES32 2017-01-02 06:06:01 +01:00
Camilla Löwy ce161c2c02 Documentation work
[ci skip]
2016-12-06 13:58:45 +01:00
Camilla Berglund 8d6f265441 Update default name from OS X to macOS
Note that earlier releases are still referred to by their proper names;
OS X <version> or Mac OS X <version>.
2016-10-20 00:53:37 +02:00
Camilla Berglund 433db8f9f9 Allow combining Vulkan and GL/GLES header macros 2016-09-14 22:59:12 +02:00
Camilla Berglund 53fafad915 Start 3.3 2016-08-18 23:55:49 +02:00
Camilla Berglund 999f3556fd Documentation work 2016-08-18 13:32:27 +02:00
Camilla Berglund 85f6c6b2df Add description of 3.2 release 2016-05-29 17:55:08 +02:00
Camilla Berglund e2d5071e59 Fix typo 2016-03-31 16:56:43 +02:00
Camilla Berglund 239ede725d Add cache variable setting to source tree method
By default both tests, examples and documentation is built when the GLFW
source tree is included in a larger CMake project.
2016-02-26 11:38:36 +01:00
Camilla Berglund 80c203f3bb Separate guide and reference documentation tags 2016-02-19 10:38:30 +01:00
Camilla Berglund 9b75bffc88 Add basic Vulkan support
Added GLFW_INCLUDE_VULKAN.  Added glfwVulkanSupported,
glfwGetRequiredInstanceExtensions, glfwGetInstanceProcAddress,
glfwGetPhysicalDevicePresentationSupport and glfwCreateWindowSurface.
Added port of LunarG SDK tri example.
2016-02-16 14:58:58 +01:00
Camilla Berglund b63b992fd6 CMake documentation work 2016-02-02 06:10:26 +01:00
Marcus Geelnard 075140aefe Add public header path to target interface
Closes #697.
2016-02-02 06:00:18 +01:00
Nicholas Vitovitch 453631773e Export transitive dependencies for static library 2016-02-02 06:00:18 +01:00
Camilla Berglund be65829055 Clarify GLU deprecation 2015-10-12 19:05:21 +02:00
Camilla Berglund 1a004264f4 Removed reference to Carbon by postponed feature. 2015-03-17 16:48:56 +01:00
Camilla Berglund 8f08661d9e Header option macro fixes and documentation work.
This adds compile-time checks and documentation warning about defining
header option macros during compilation of GLFW.

Fixes #445.
2015-03-17 16:39:09 +01:00
Camilla Berglund b140606a49 Added GLFW_INCLUDE_GLEXT for glext.h inclusion.
Closes #365.
2014-10-13 23:57:21 +02:00
Camilla Berglund 95654cfada Documentation work. 2014-10-06 15:01:58 +02:00
Camilla Berglund 4591ad2d64 Documentation work. 2014-09-22 11:08:33 +02:00
Camilla Berglund e8e05d462c Documentation work.
Fixes #276.
2014-06-19 11:38:22 +02:00
Camilla Berglund 42bf473b18 Added linking tutorial caveat. 2014-04-13 18:08:12 +02:00
Camilla Berglund b17bed28c8 Added note on gdi32 as non-defaultlib on MinGW.
Some versions of MinGW do not include gdi32 among the default libraries
for Win32 subsystem binaries.
2013-12-23 00:53:04 +01:00
Camilla Berglund 8ac7cab100 Added notes on API headers. 2013-12-11 14:38:27 +01:00
Camilla Berglund 174c72f2c0 Moved GLFW compilation guide to docs. 2013-10-27 12:53:50 +01:00
Camilla Berglund db8e6bed7a Cross-linked build guides. 2013-10-21 22:23:15 +02:00
Camilla Berglund aab08712dd Fixed zero refresh rate on some monitors. 2013-10-09 19:45:39 +02:00
Camilla Berglund 12f0d8d4ca Build documentation grammar fix. 2013-10-04 17:08:04 +02:00
Camilla Berglund 41a1374744 Updated references to OS X (previously Mac OS X). 2013-07-10 15:38:31 +02:00
Camilla Berglund 1947557eb1 Documentation work. 2013-07-04 13:05:19 +02:00
Camilla Berglund b6b57b5249 Documentation work. 2013-06-23 15:17:43 +02:00
Camilla Berglund 659157928e Client build documentation work. 2013-06-21 13:04:47 +02:00
Camilla Berglund c449ef2e12 Moved client build docs to Doxygen. 2013-06-12 16:06:45 +02:00