Camilla Löwy
d9646631d6
Removed unused header in sharing example
ago%!(EXTRA string=1 year)
Camilla Löwy
0f9a9578f3
Add window hints for initial position
...
This adds window hints for the initial position, in screen coordinates,
of a window. The special value GLFW_ANY_POSITION means the window
manager will be allowed to position the window.
It is not possible to set window positions on Wayland and GLFW will
always behave as if these hints are set to GLFW_ANY_POSITION.
Fixes #1603
Fixes #1747
ago%!(EXTRA string=3 years)
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)
luz paz
eacc1cafba
Fix source comment typo
...
Closes #1982
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
df15a33e10
Fix numeric conversion warnings in example
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
4b8ac11aa3
Fix rendering race in offscreen example
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)
luz.paz
7105ff2dfd
Fix typos
...
Found via `codespell -q 3 -S ./deps -L fo,numer,te,uint,wille`
ago%!(EXTRA string=6 years)
Camilla Löwy
537ea4ccf1
Explicitly disable inclusion for test and examples
...
Thank you, Travis CI, for reminding me that one cannot disable a header
with inclusion guards if it doesn't exist.
ago%!(EXTRA string=6 years)
Camilla Löwy
e91d0fc499
Clarify triangle-opengl uniform uniform update
...
The previous way worked as mat4 is an array typedef but this way may be
clearer to people new to the linmath header.
ago%!(EXTRA string=6 years)
Camilla Löwy
e4aba7feaa
Convert triangle-opengl example to 3.3 core
ago%!(EXTRA string=6 years)
Camilla Löwy
a639d6e635
Rename OpenGL triangle example to triangle-opengl
ago%!(EXTRA string=6 years)
Camilla Löwy
d44bfe0264
Add vertex type and offsetof to OpenGL triangle
ago%!(EXTRA string=6 years)
Camilla Löwy
f61d0916fd
Convert OpenGL triangle example to C99
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)
Doug Binks
c733ab0a22
Move glfwGetMonitorWorkarea test to monitors
...
This moves the test use of glfwGetMonitorWorkarea from the simple
example to the monitors test program.
Related to #1322 .
ago%!(EXTRA string=6 years)
Felipe Ferreira da Silva
be295ccbea
Add glfwGetMonitorWorkarea
...
This function retrieves the work area rectangle of the specified
monitor.
Related to #920 .
Closes #989 .
ago%!(EXTRA string=6 years)
maobaoqi
29d8ca4ce4
Fix bug in CrossProduct function in boing example
...
Closes #1418 .
ago%!(EXTRA string=6 years)
Vallentin
e29882523e
Fix typos
...
Closes #1402 .
ago%!(EXTRA string=6 years)
Camilla Löwy
5d8b04a7ac
Fix missing call to glfwTerminate
ago%!(EXTRA string=7 years)
Emmanuel Gil Peyrot
c3cba58a71
Remove trailing whitespace
ago%!(EXTRA string=7 years)
Camilla Löwy
49130ab8ec
Rename framebuffer transparency hint
...
This is a breaking change of an unreleased API.
ago%!(EXTRA string=8 years)
Camilla Löwy
546c99a3a3
Made sharing an example
ago%!(EXTRA string=8 years)
Camilla Löwy
32e78aeb2e
Add GLFW_TRANSPARENT attribute and documentation
...
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 .
ago%!(EXTRA string=8 years)
Wolfgang Draxinger
019609b6cd
Add GLFW_TRANSPARENT and X11 implementation
...
This is a squashed extract of several commits, minimally edited to
ensure it compiles.
Related to #197 .
Related to #715 .
ago%!(EXTRA string=8 years)
Camilla Löwy
6d9a58bfef
Add glfwInitHint
...
This allows setting hints that control how the library is initialized,
transforming more compile-time options into run-time ones.
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
1252016b9c
Add remaining GLSL version directives
...
Related to #864 .
ago%!(EXTRA string=9 years)
Camilla Löwy
11376a2dd0
Cleanup
ago%!(EXTRA string=9 years)
Camilla Löwy
f4d0c83181
Paperwork done
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
ac7b3e405c
Cleanup
ago%!(EXTRA string=9 years)
Camilla Berglund
1592b40e25
Fix particles stutter caused by malformed timeout
...
Closes #836 .
ago%!(EXTRA string=9 years)