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
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
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
5d8b04a7ac
Fix missing call to glfwTerminate
ago%!(EXTRA string=7 years)
Camilla Löwy
f4d0c83181
Paperwork done
ago%!(EXTRA string=9 years)
Camilla Berglund
1b1ef31228
Make tests and examples use glad
ago%!(EXTRA string=10 years)
Camilla Berglund
0eccf75f65
Replace GL booleans with public macros
ago%!(EXTRA string=10 years)
Camilla Berglund
dd01dd7bef
Replace GLU with linmath.h in examples
ago%!(EXTRA string=10 years)
Camilla Berglund
d2113dc9f5
Remove ad-hoc M_PIs and enable VC++ macro
...
Fixes #564 .
ago%!(EXTRA string=10 years)
Camilla Berglund
3833a70b8d
Cleaned up wave example rotation control.
ago%!(EXTRA string=10 years)
Camilla Berglund
3df0b4478b
Fixed VC++ warnings.
ago%!(EXTRA string=12 years)
Camilla Berglund
11615fcaf2
Added scancode to key callback.
ago%!(EXTRA string=12 years)
Camilla Berglund
3498163da1
Separated window and framebuffer sizes.
ago%!(EXTRA string=12 years)
Camilla Berglund
15ed715f4e
Moved public headers to the GLFW directory.
ago%!(EXTRA string=12 years)
Camilla Berglund
6df692b61e
Renamed CURSOR_CAPTURED to CURSOR_DISABLED.
ago%!(EXTRA string=12 years)
Camilla Berglund
9264b5da0e
Removed double mode for cursor mode.
ago%!(EXTRA string=12 years)
Camilla Berglund
2d1b835711
Added a conservative set of key modifiers.
ago%!(EXTRA string=12 years)
Camilla Berglund
129e94da2e
Changed cursor pos to double.
ago%!(EXTRA string=12 years)
Camilla Berglund
6fadf37bda
Replaced window close parameter with mutable flag.
...
Replaced the GLFW_SHOULD_CLOSE window parameter with the
glfwWindowShouldClose and glfwSetWindowShouldClose functions, allowing
the setting of the close flag from any point in the program.
ago%!(EXTRA string=12 years)
Camilla Berglund
9af960e2dd
Made the pointer-ness of object handles explicit.
ago%!(EXTRA string=12 years)
Camilla Berglund
9cc8fc0d0a
Removed glfwGetError and glfwErrorString.
...
The cached error code cannot be made per-thread unless it required
glfwInit (due to lack of __thread on OS X), which would be confusing and
partially defeats the purpose of it.
Beginners would use the generic error string facility instead of the
error callback and then be confused by its nondescript messages.
Storing the provided error code from within the error callback, whether
globally or per-thread, requires just a few lines of code and hands
control to the user without compromising thread safety.
ago%!(EXTRA string=13 years)
Camilla Berglund
c479124e69
Removed key repeat.
ago%!(EXTRA string=13 years)
Camilla Berglund
18d71c2b6d
Made window-related callbacks per-window.
...
This makes polymorphic behaviour easier to implement and avoids the problem of
events being triggered before the GLFW window object is fully usable.
ago%!(EXTRA string=13 years)
Camilla Berglund
1be1636326
Begun integrating monitor and window.
ago%!(EXTRA string=13 years)
Camilla Berglund
2f095cc9e3
Removed implicit glfwMakeCurrentContext.
...
Implicitly making the context current makes sense in a
single-window API but less sense in a multi-window one.
ago%!(EXTRA string=13 years)
Camilla Berglund
8ed66ea4d5
Removed calling of callbacks from setters.
ago%!(EXTRA string=13 years)
Camilla Berglund
585a840329
Added window parameter to glfwSwapBuffers.
ago%!(EXTRA string=13 years)
Camilla Berglund
aff30d0baa
Renamed window creation/destruction functions.
...
Renamed glfwOpenWindow to glfwCreateWindow.
Renamed glfwCloseWindow to glfwDestroyWindow.
Renamed glfwOpenWindowHint to glfwWindowHint.
ago%!(EXTRA string=13 years)
Camilla Berglund
2972cdfeb1
Removed glfwIsWindow.
ago%!(EXTRA string=13 years)
Camilla Berglund
cef9dea1d2
Unified nomenclature for cursor positions.
ago%!(EXTRA string=13 years)
Camilla Berglund
2213450840
Renamed GLFW_NO_GLU to GLFW_INCLUDE_GLU.
ago%!(EXTRA string=13 years)
Camilla Berglund
4ef9aec7e0
Made scrolling deltas floating point.
ago%!(EXTRA string=13 years)
Camilla Berglund
0c3b1b5a0e
Removed allocator.
ago%!(EXTRA string=13 years)
Camilla Berglund
b997db3a8b
Removed GLFWthreadmodel and glfwInitWithModels.
ago%!(EXTRA string=13 years)
Camilla Berglund
ce288a8939
Transformed glfwEnable/Disable/SetCursorMode into glfwGetInputMode/SetInputMode.
ago%!(EXTRA string=13 years)
Camilla Berglund
b1656d7323
Replaced GLFW_MOUSE_CURSOR enable with glfwSetCursorMode.
ago%!(EXTRA string=14 years)
Marcus
e3cb563a28
Fixed key names in the example and test programs.
ago%!(EXTRA string=15 years)
Camilla Berglund
065c77190d
Added scroll navigation.
ago%!(EXTRA string=15 years)
Camilla Berglund
3350cc73aa
Added mouse navigation.
ago%!(EXTRA string=15 years)
Camilla Berglund
4044c2da66
Made callbacks library global.
ago%!(EXTRA string=15 years)
Camilla Berglund
1231bf031b
Formatting.
ago%!(EXTRA string=15 years)
Camilla Berglund
868176721c
Formatting.
ago%!(EXTRA string=15 years)
Camilla Berglund
64abfb5ece
Formatting.
ago%!(EXTRA string=15 years)
Camilla Berglund
cb35f0ceda
Added change notice.
ago%!(EXTRA string=15 years)
Camilla Berglund
b9f318f053
Formatting.
ago%!(EXTRA string=15 years)
Camilla Berglund
99ddce3214
Added context sharing.
ago%!(EXTRA string=15 years)
Camilla Berglund
e244ad3d41
Updated example and test programs to new API.
ago%!(EXTRA string=15 years)
Camilla Berglund
484a2714fc
Renamed GLFW_WINDOW to GLFW_WINDOWED.
ago%!(EXTRA string=15 years)
Camilla Berglund
cfbafc5b39
Renamed glfw.h to glfw3.h to avoid conflicts.
ago%!(EXTRA string=15 years)
Camilla Berglund
950a3beda2
Moved bits parameters from glfwOpenWindow to glfwOpenWindowHint.
ago%!(EXTRA string=15 years)