Camilla Löwy
5c3ebfb9cc
Remove OSMesa specific code from offscreen example
...
The OSMesa specific path is more appropriate for a test than an example.
ago%!(EXTRA string=3 years)
Camilla Löwy
8e23579842
Add OpenGL ES 2.0 triangle example
ago%!(EXTRA string=4 years)
Camilla Löwy
62074f3dea
Update glad2 and switch to header-only version
...
This updates to a newer version of glad2 and switches to the header-only
variant.
This also (finally) switches to the newer glad2 loader signature that
allows us to pass in glfwGetInstanceProcAddress directly.
ago%!(EXTRA string=4 years)
Camilla Löwy
061a0263a9
Win32: Fix compilation with standalone LLVM
...
The /clang: suffix passed to Clang-CL was accidentally also passed to
the regular standalone Clang, which caused compilation to fail. We now
pass /W3 to Clang-CL, which it interprets as -Wall.
The _CRT_SECURE_NO_WARNINGS macro is now defined for both Clang and
Clang-CL.
The /entry: flag passed to link.exe is now also passed to lld-link,
letting the windows subsystem tests and examples link.
Fixes #1807 .
Closes #1824 .
Closes #1874 .
ago%!(EXTRA string=4 years)
Camilla Löwy
5c92cd9f52
Make windows test a tolerable example
ago%!(EXTRA string=5 years)
Camilla Löwy
8369880b56
Only look for OSMesa module if building examples
...
GLFW itself doesn't need the OSMesa headers to build.
ago%!(EXTRA string=5 years)
Camilla Löwy
49c5d837b4
Replace CMake threads variable with modern target
ago%!(EXTRA string=5 years)
Camilla Löwy
59055d585f
Update minimum required CMake version to 3.1
ago%!(EXTRA string=5 years)
Camilla Löwy
5f4a6f689a
Gather all macOS specific CMake properties
ago%!(EXTRA string=5 years)
Camilla Löwy
db76abb63c
Make target-specific define target-specific
ago%!(EXTRA string=5 years)
Camilla Löwy
c81def70be
Remove unneccessary example target property
...
Bundle icon file copying is performed by MACOSX_PACKAGE_LOCATION.
ago%!(EXTRA string=5 years)
Camilla Löwy
2fb336268f
Shorten name of Info.plist template file
...
Our template file is not simply a copy of the file included in CMake and
so should not be named as if it was.
ago%!(EXTRA string=5 years)
Camilla Löwy
d74c18117d
Remove dependency on platform header paths
...
The tests and examples should not need these paths.
ago%!(EXTRA string=5 years)
Camilla Löwy
92c70b2a83
Rename CMake variable for GUI-only programs
...
Hopefully this is less ambiguous.
ago%!(EXTRA string=5 years)
Camilla Löwy
953a1c3f8b
Cleanup
ago%!(EXTRA string=6 years)
Guillaume Racicot
70a3104c49
Set C standard at 99 for all example targets
...
Closes #1593 .
ago%!(EXTRA string=6 years)
Camilla Löwy
a639d6e635
Rename OpenGL triangle example to triangle-opengl
ago%!(EXTRA string=6 years)
Camilla Löwy
a255e7ace6
Move to the modern CMake project version option
...
This replaces the manual ad-hoc version variables we have used since
CMake 2.x (and GLFW 2.x lite).
ago%!(EXTRA string=6 years)
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.
ago%!(EXTRA string=6 years)
Camilla Löwy
546c99a3a3
Made sharing an example
ago%!(EXTRA string=8 years)
Camilla Löwy
c873327fe3
Fix NOTFOUND paths being added as dependencies
...
Fixes #930 .
ago%!(EXTRA string=8 years)
Camilla Löwy
11376a2dd0
Cleanup
ago%!(EXTRA string=9 years)
Camilla Berglund
20735bf840
Add offscreen example to IDE folder
ago%!(EXTRA string=9 years)
Denis
cce430fbfa
Cocoa: Fix typo
...
Closes #897 .
ago%!(EXTRA string=9 years)
Camilla Berglund
b8c71e7f2d
Add offscreen rendering example
ago%!(EXTRA string=9 years)
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.
ago%!(EXTRA string=9 years)
Marcus Geelnard
075140aefe
Add public header path to target interface
...
Closes #697 .
ago%!(EXTRA string=9 years)
Nicholas Vitovitch
453631773e
Export transitive dependencies for static library
ago%!(EXTRA string=9 years)
Zbigniew Mandziejewicz
8637612908
Add GLFW_DLL to target interface
ago%!(EXTRA string=9 years)
Camilla Berglund
37c93ba031
Compiler flag cleanup
ago%!(EXTRA string=10 years)
Camilla Berglund
219e697dd9
Fix splitview bundle name
ago%!(EXTRA string=10 years)
Camilla Berglund
a3985c3406
Add icon to examples
ago%!(EXTRA string=10 years)
Camilla Berglund
1b1ef31228
Make tests and examples use glad
ago%!(EXTRA string=10 years)
Camilla Berglund
dd01dd7bef
Replace GLU with linmath.h in examples
ago%!(EXTRA string=10 years)
Camilla Berglund
47592fbf42
Cleaned up example build file.
ago%!(EXTRA string=10 years)
Camilla Berglund
80a38c1e45
Updated Info.plist template file.
ago%!(EXTRA string=10 years)
Camilla Berglund
821f3e674a
Enabled High DPI support with custom Info.plist.
...
Fixes #422 .
ago%!(EXTRA string=10 years)
Camilla Berglund
023f337735
Fixed IDE folder issues for VC++.
...
Fixes #328 .
ago%!(EXTRA string=10 years)
Camilla Berglund
0e3cb945e8
Fixed heightmap example for OS X.
ago%!(EXTRA string=10 years)
Camilla Berglund
40d1a491ca
Removed unused bits of heightmap example.
ago%!(EXTRA string=10 years)
Camilla Berglund
5f6aa9c34c
Added IDE folders to CMake files.
...
Fixes #328 .
ago%!(EXTRA string=10 years)
Camilla Berglund
1021948313
Fixed SplitView CMake target name.
...
Spaces are not allowed in CMake 3.0 target names according to policy
CMP0037.
Fixes #388 .
ago%!(EXTRA string=11 years)
Camilla Berglund
452e95d02a
CMake path quoting fixes.
ago%!(EXTRA string=11 years)
Camilla Berglund
6e0ea02f17
Quoted all CMake paths with substitution.
...
Fixes #258 .
ago%!(EXTRA string=11 years)
Camilla Berglund
f2813633b0
Fixed link flags for threaded example.
ago%!(EXTRA string=11 years)
Camilla Berglund
eb460c30ce
Added missing link flags for threaded example.
ago%!(EXTRA string=11 years)
Camilla Berglund
6e0015f022
Replaced ad-hoc extension loading with glad.
ago%!(EXTRA string=11 years)
Camilla Berglund
457403586d
Replaced ad-hoc argument processing with getopt.
ago%!(EXTRA string=11 years)
Camilla Berglund
d9f53c78a0
Plain port of particles example to GLFW 3.
ago%!(EXTRA string=11 years)
Camilla Berglund
10017b27bb
Cleanup.
ago%!(EXTRA string=12 years)