Camilla Löwy
686e18fd72
Remove window opacity test
...
It has been superceded by the window property test.
2020-07-15 19:08:09 +02:00
Camilla Löwy
3207fc7120
Add window property test
2020-07-15 19:08:04 +02:00
Camilla Löwy
0dea8a4441
EGL: Add support for EGL_ANGLE_platform_angle
...
This adds basic support for selecting the platform type (rendering
backend) when running on ANGLE.
Related to #1380 .
2020-06-29 00:02:22 +02:00
Camilla Löwy
e6a6a99813
Use stdbool more consistently in glfwinfo
2020-06-28 21:23:29 +02:00
Camilla Löwy
1cecb8beb0
Move glfwinfo argument processing before glfwInit
...
This will allow init hints to be controlled by command-line arguments.
2020-06-28 21:23:29 +02:00
Camilla Löwy
b420ca7404
Add GLFW_CONTEXT_DEBUG window hint alias
...
This adds GLFW_CONTEXT_DEBUG as a preferred alias for
the GLFW_OPENGL_DEBUG_CONTEXT window hint, as debug contexts are
defined for both OpenGL and OpenGL ES.
Related to #1720 .
2020-06-28 19:27:48 +02:00
Camilla Löwy
72366ac9a9
Cocoa: Finish launching NSApp in glfwInit
...
This moves the remaining bits of NSApplication initialization into
_glfwPlatformInit. As a side-effect of this, any command-line program
initializing GLFW will get a menu bar, which is not ideal.
If this has happened to you and a bisect led you here, please see the
GLFW_COCOA_MENUBAR init hint introduced in GLFW 3.3.
If this patch is a terrible idea, please get in touch in the 3.4 release
timeframe.
This is a replacement for 6e6805000a
,
which attempts to preserve the existing menu bar creation behavior for
the 3.3-stable branch.
Fixes #1649 .
2020-03-12 01:56:35 +01:00
Camilla Löwy
49c5d837b4
Replace CMake threads variable with modern target
2019-12-15 18:37:56 +01:00
Camilla Löwy
59055d585f
Update minimum required CMake version to 3.1
2019-12-09 23:48:26 +01:00
Camilla Löwy
8a1f4940fc
Remove reference to non-existent CMake variable
2019-12-09 23:48:26 +01:00
Camilla Löwy
c016b26852
Remove non-GUI binaries from GUI-only setup
2019-12-09 23:48:26 +01:00
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.
2019-12-09 23:35:50 +01:00
Camilla Löwy
ce9d124243
Remove command-line options from GUI-only test
2019-12-09 23:35:50 +01:00
Camilla Löwy
d74c18117d
Remove dependency on platform header paths
...
The tests and examples should not need these paths.
2019-12-09 23:33:37 +01:00
Camilla Löwy
92c70b2a83
Rename CMake variable for GUI-only programs
...
Hopefully this is less ambiguous.
2019-12-09 23:33:37 +01:00
Camilla Löwy
7dbdd2e6a5
Add more standard cursors
...
This adds the standard cursors for diagonal and omnidirectional
resize/move and operation-not-allowed. It also adds new (better?) names
for the horizontal and vertical resize/move and pointing hand cursors.
References:
- https://developer.apple.com/documentation/appkit/nscursor
- https://stackoverflow.com/questions/10733228/
- https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setsystemcursor
- https://freedesktop.org/wiki/Specifications/cursor-spec/
- https://tronche.com/gui/x/xlib/appendix/b/
Related to #427 .
2019-11-28 22:24:00 +01:00
Camilla Löwy
953a1c3f8b
Cleanup
2019-11-11 22:37:18 +01:00
Guillaume Racicot
bc5523e994
Set C standard at 99 for all test targets
...
Related to #1593 .
2019-11-11 22:37:18 +01:00
Camilla Löwy
8e288dc94c
Win32: Add GLFW_WIN32_KEYBOARD_MENU
...
This platform specific window hint enables access to the Windows window
menu via the keyboard shortcuts.
2019-11-11 22:37:18 +01:00
Camilla Löwy
de23429455
Add reminder for why events test is not closing
2019-11-11 22:37:18 +01:00
Camilla Löwy
08f01c31a0
Add gamepad information to events test output
2019-11-11 22:37:18 +01:00
Camilla Löwy
20e522cdf4
Make events test output only UTF-8 in C locale
2019-11-11 22:37:18 +01:00
Camilla Löwy
f71b55f83d
Clean up monitors tool output
2019-10-16 02:33:12 +02:00
luz.paz
7105ff2dfd
Fix typos
...
Found via `codespell -q 3 -S ./deps -L fo,numer,te,uint,wille`
2019-09-16 12:30:25 +02:00
Camilla Löwy
efda4afb49
Put fix in correct position
...
This fixes a mismerge by @elmindreda in
65748fb8f3
.
2019-07-25 20:32:51 +02:00
Camilla Löwy
65748fb8f3
Fix Vulkan triangle test segfault on resize
...
The command buffer handle was not reset after being freed on window
resize, leading to a segfault when the stale handle was used.
2019-07-25 19:56:03 +02:00
Camilla Löwy
6abad2efd2
Fix conflict with DEBUG macro defined by Bazel
...
The Bazel build system may define DEBUG when compiling on macOS, which
caused the glfwinfo test program to fail to build.
Fixes #1537 .
2019-07-24 21:29:46 +02:00
Camilla Löwy
3a5e99e59a
Remove unused function in tearing test
2019-06-27 20:07:19 +02:00
Camilla Löwy
d834f01ca4
Rename legacy Vulkan triangle program
...
Fixes #1477 .
2019-05-24 17:28:32 +02:00
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.
2019-05-24 17:28:32 +02:00
Camilla Löwy
51bb76c7c3
Improve (?) reference documentation for callbacks
2019-05-24 14:58:54 +02:00
Camilla Löwy
c415c71947
Clean up glfwinfo Vulkan version output
2019-05-19 21:10:29 +02:00
Camilla Löwy
144c98bcb3
Simplify glfwinfo Vulkan enumerations
2019-05-19 21:10:29 +02:00
Camilla Löwy
fa025d8f80
Convert glfwinfo to C99
2019-05-19 21:10:29 +02:00
Camilla Löwy
700d1f28d8
Add Vulkan 1.1 support to glfwinfo
2019-05-19 21:10:29 +02:00
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).
2019-05-17 16:12:52 +02:00
Camilla Löwy
d0b7f539e2
Add full screen toggling to cursor test
2019-04-15 14:52:17 +02:00
Camilla Löwy
62d296992e
Add min/max corner placement to cursor test
...
Related to #1461 .
2019-04-15 14:52:17 +02:00
Camilla Löwy
5f4e66b21a
Add cursor position rountrip key to cursor test
...
Related to #1461 .
2019-04-15 14:52:17 +02:00
Camilla Löwy
f03614277d
Update cursor test tracking when enabling cursor
...
Related to #1461 .
2019-04-15 14:52:17 +02:00
Camilla Löwy
45a62adf82
Fix cursor test tracking mode drawing
...
Related to #1461 .
2019-04-15 14:37:03 +02:00
Camilla Löwy
718609275d
Add custom cursor to cursor test tracking mode
...
Related to #1461 .
2019-04-15 14:36:12 +02:00
Camilla Löwy
224e9205e0
Remove command-line options from tearing test
2019-04-15 14:35:11 +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
Camilla Löwy
8d4fd40b64
Formatting
2019-03-28 23:07:30 +01:00
Camilla Löwy
9e54b97cfa
Add Cocoa graphics switching to glfwinfo
2019-03-27 15:59:36 +01:00
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 .
2019-03-05 16:10:59 +01:00
Camilla Löwy
1155c83013
Rename raw input to raw mouse motion, cleanup
...
This renames 'raw input' to 'raw mouse motion' as there are other kinds
of raw input. The update path is restructured to avoid reinitializing
all of disabled cursor mode. Modification of shared state is moved out
into shared code. Raw mouse motion is disabled by default for
compatibility.
Related to #1401 .
2019-02-22 13:04:11 +01:00
Nathan Poirier
9e29f556fd
Add GLFW_RAW_INPUT and glfwRawInputSupported
...
This adds runtime per-window control of whether accelerated or raw mouse
motion is provided when the cursor is disabled.
Fixes #1400 .
Closes #1401 .
2019-02-22 13:04:11 +01:00
Camilla Löwy
7f4dde15e4
Allow zero windows for events test
...
glfwWaitEvents is sane now, yay.
2019-01-25 12:46:46 +01:00