Camilla Löwy
3d493b60f1
Cleanup
2017-12-19 15:08:27 +01:00
Camilla Löwy
5f8431d7ca
Update Nuklear to 2.00.4
2017-12-19 15:08:22 +01:00
Emmanuel Gil Peyrot
c3cba58a71
Remove trailing whitespace
2017-12-14 15:36:55 +01:00
Camilla Löwy
0e8c4ea7ce
Add lock key modifier bits input mode
...
This adds the GLFW_MOD_CAPS_LOCK and GLFW_MOD_NUM_LOCK modifier bits.
Set the GLFW_LOCK_KEY_MODS input mode to enable these for all callbacks
that receive modifier bits.
Fixes #946 .
2017-12-06 18:01:34 +01:00
Camilla Löwy
d81946a35b
Add window mode toggling to tearing test
2017-12-06 18:01:33 +01:00
Camilla Löwy
df434c839a
Add mapping file drop support to joystick test
2017-12-06 18:01:32 +01:00
Camilla Löwy
390a66d2e7
Fix missing header in gamma test
2017-11-28 14:20:54 +01:00
Camilla Löwy
1a250234ea
Add revert button to gamma ramp test
2017-11-27 02:09:51 +01:00
Camilla Löwy
11e47f08b1
Add glfwGetWindowOpacity and glfwSetWindowOpacity
...
This adds support for setting the opacity of the whole window, including
any decorations.
Fixes #1089 .
2017-11-15 15:46:01 +01:00
Camilla Löwy
546c99a3a3
Made sharing an example
2017-11-10 02:58:18 +01:00
Camilla Löwy
31cbb20ba2
Deprecate window parameter of clipboard functions
2017-11-10 02:52:16 +01:00
Camilla Löwy
16bf872117
Add content scale queries
...
This adds glfwGetWindowContentScale and glfwGetMonitorContentScale for
querying the recommended drawing scale factor for DPI-aware rendering.
Parts of this patch are based on code by @ferreiradaselva.
Fixes #235 .
Fixes #439 .
Fixes #677 .
Fixes #845 .
Fixes #898 .
2017-10-26 17:26:36 +02:00
Camilla Löwy
56ecd62f58
Fix joystick test hat drawing
2017-10-03 00:41:55 +02:00
Camilla Löwy
07cc6e00da
Add gamepad name to joysticks test
2017-10-02 17:32:21 +02:00
Camilla Löwy
ad9458a14c
Clarify what glfwVulkanSupported means
2017-08-20 14:42:39 +02:00
Andrey Zholos
b4ea2d32e6
Add input lag test
...
Closes #973 .
2017-08-18 13:01:47 +02:00
Camilla Löwy
5b7281bd41
Add glfwGetJoystickGUID
...
This function completes the first round of support for
SDL_GameControllerDB.
Fixes #900 .
2017-07-30 16:15:12 +02:00
Camilla Löwy
85eda77d35
Update Nuklear to 1.40.0
2017-07-30 16:11:03 +02:00
Camilla Löwy
c0bc10427c
Fix warnings in Vulkan test
2017-07-17 23:16:55 +02:00
Camilla Löwy
8e899ccc29
Cocoa: Add support for MoltenVK dynamic library
...
Tested with MoltenVK 0.18.0.
Related to #870 .
2017-07-10 21:34:02 +02:00
Camilla Löwy
953106e74d
Add support for SDL_GameControllerDB
...
This adds support for importing and applying mappings from the
SDL_GameControllerDB database.
Related to #900 .
2017-07-07 15:52:33 +02:00
Camilla Löwy
bc7ebc1a89
Fix joystick test attention request
...
Fixes #1020 .
2017-05-22 15:16:47 +02:00
Camilla Löwy
2f5e230338
Add attention request to joystick test
2017-05-11 20:10:28 +02:00
Camilla Löwy
43fc399cd1
Add hat button toggling to joystick test
2017-03-08 12:39:16 +01:00
Camilla Löwy
798d7c6d68
Implement glfwGetJoystickHats
...
This moves the buttons-as-hats logic to shared code and adds the
GLFW_JOYSTICK_HAT_BUTTONS input mode as a way to disable this legacy
behavior.
Fixes #889 .
2017-03-06 03:23:29 +01:00
IntellectualKitty
368dec7ac7
Add glfwGetJoystickHats
...
This merges the public part of the glfwGetJoystickHats work by
@IntellectualKitty. The implementation needs replacing due to
refactoring in preparation for gamecontrollerdb support.
Closes #906 .
2017-03-05 23:20:07 +01:00
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.
2017-03-01 04:35:41 +01:00
Camilla Löwy
e9560ef021
Add GLFW_OSMESA_CONTEXT_API
...
This allows the creation of OpenGL contexts via OSMesa on existing
platforms. It does not add a compile- or link-time dependency on
OSMesa.
Fixes #281 .
2017-02-28 20:38:10 +01:00
Camilla Löwy
106a617fa8
Update Nuklear to 1.33.0
2017-02-26 18:47:53 +01:00
Camilla Löwy
98bdd36231
Fix glfwVulkanSupported semantics
2017-02-07 21:28:50 +01:00
Camilla Löwy
afb5449ca4
Update Nuklear to 1.20
2017-02-07 19:12:22 +01:00
Camilla Löwy
c873327fe3
Fix NOTFOUND paths being added as dependencies
...
Fixes #930 .
2017-01-20 01:29:46 +01:00
Camilla Löwy
9e56099edd
Add glfwSetWindowAttrib
...
This function allows updating the GLFW_DECORATED, GLFW_RESIZABLE,
GLFW_FLOATING and GLFW_AUTO_ICONIFY attributes for existing windows.
Fixes #537 .
2016-12-06 15:59:18 +01:00
Camilla Löwy
1252016b9c
Add remaining GLSL version directives
...
Related to #864 .
2016-12-05 14:16:56 +01:00
A. Tombs
1b17a5293c
Add version directives to GLSL shaders
...
Although not technically required, I believe it is best practice for
shaders to specify which version of the GLSL spec they conform to.
Closes #864 .
2016-12-05 14:06:39 +01:00
Camilla Löwy
f44307da4e
Update Nuklear to 1.18
...
Fixes #907 .
2016-12-03 20:35:17 +01:00
Camilla Löwy
11376a2dd0
Cleanup
2016-12-03 20:06:24 +01:00
Camilla Löwy
cc9168bda1
Win32: Fix build on VC++ 2008
...
This is not official support for VC++ 2008.
Fixes #821 .
2016-12-03 20:06:23 +01:00
Camilla Löwy
f4d0c83181
Paperwork done
2016-11-30 14:00:41 +01:00
Camilla Berglund
2aee114950
Clarify glfwinfo output for no Vulkan extensions
2016-11-07 19:53:30 +01:00
Camilla Berglund
e94d16667b
Cocoa: Add basic support for Vulkan via MoltenVK
...
This adds basic support for MoltenVK, a Vulkan implementation on top of
Metal, on macOS 10.11 and later. It looks for MoltenVK in the process
via RTLD_DEFAULT symbol lookup if _GLFW_VULKAN_STATIC is disabled.
glfwCreateWindowSurface now creates and sets a CAMetalLayer for the
window content view, which is required for MoltenVK to function.
You must help CMake find MoltenVK for the Vulkan test to be built.
Fixes #870 .
2016-11-01 21:39:54 +01:00
Camilla Berglund
85f867983f
Update Vulkan test to 1.0.26.0
...
Fixes #727 .
Fixes #758 .
2016-11-01 21:34:26 +01:00
Camilla Berglund
efc6b35615
Rename joystick ID variables
2016-10-16 14:07:18 +02:00
Camilla Berglund
bf747e32b4
Remove unused variables in gamma test
2016-10-16 14:07:18 +02:00
Camilla Berglund
ef15735161
Make Escape exit threads test
2016-10-16 14:07:18 +02:00
Camilla Berglund
cc3036860a
Add list window to joystick test
2016-10-06 19:08:35 +02:00
Camilla Berglund
2af40c3fe6
Update Nuklear to 1.156
2016-10-06 19:07:47 +02:00
Camilla Berglund
ea1958a948
Replace sprintf with snprintf
2016-09-30 05:31:07 +02:00
Camilla Berglund
9d42e146e7
Add aspect ratio to monitor test mode listing
2016-09-30 03:44:13 +02:00
Camilla Berglund
c156b50e4c
Add glfwSetWindowMaximizeCallback
...
Fixes #778 .
2016-09-29 01:24:56 +02:00
Camilla Berglund
cb860e8150
Fix gamma test rendering using wrong unit
2016-09-29 01:24:56 +02:00
Camilla Berglund
66ff4aae89
Convert joystick test to Nuklear
2016-09-27 02:13:55 +02:00
Camilla Berglund
450d0d69af
Convert gamma test to Nuklear
2016-09-27 02:13:42 +02:00
Camilla Berglund
28889954ef
Use glad booleans in glfwinfo
2016-09-26 14:55:55 +02:00
Camilla Berglund
2ed818bc03
Move to GL_KHR_debug
...
Thank you, @linkmauve.
2016-09-23 14:27:20 +02:00
Camilla Berglund
9017eaee08
Add debug extension support to sharing test
2016-09-22 01:43:26 +02:00
Camilla Berglund
1fc11c27e7
Fix broken GLSL in sharing test
...
Thank you, Intel, for sticking to the spec.
2016-09-21 18:19:15 +02:00
Camilla Berglund
c4a8930909
Cleanup
2016-09-21 16:23:38 +02:00
Camilla Berglund
a280c97321
Convert reopen test to GL2
2016-09-21 16:21:03 +02:00
Camilla Berglund
dfd1c85916
Clarify sharing test output
2016-09-21 16:20:04 +02:00
Camilla Berglund
fc86d741db
Fix copypaste mistake
2016-09-20 15:01:15 +02:00
Camilla Berglund
ca38af0d83
Convert sharing test to GL2
2016-09-20 15:00:18 +02:00
Camilla Berglund
f7584bf14c
Convert cursor test to GL2
2016-09-19 22:19:20 +02:00
Camilla Berglund
fbb2d5e10d
Convert tearing test to GL2
2016-09-07 16:49:29 +02:00
Camilla Berglund
f86edf8d3c
Remove GL1 from gamma test
2016-09-07 16:49:28 +02:00
Camilla Berglund
08ba147241
Remove GL1 from clipboard test
2016-09-07 16:49:28 +02:00
Camilla Berglund
2b6a139526
Make Escape exit msaa test
2016-09-07 16:49:28 +02:00
Camilla Berglund
9f60cd18e3
Convert msaa test to GL2
2016-09-07 16:49:28 +02:00
Camilla Berglund
7c3706763a
Cleanup
...
Cleanup of 8bdb105897
.
Add build macro to configuration header and documentation. Add
corresponding CMake option. Add change log entry and credit. Add
loader static library to link dependencies and add detection to
FindVulkan.cmake.
2016-08-05 01:00:08 +02:00
Camilla Berglund
d3e288cc4d
Fix glfwinfo not accepting -c option
2016-08-01 23:13:11 +02:00
Camilla Berglund
3beb200c68
Remove unused variable
2016-07-31 13:48:11 +02:00
Camilla Berglund
ae32d968b9
Fix test program line endings
2016-06-15 01:35:07 +02:00
A. Tombs
d8c278bf52
Add explanation of parameters to gamma test
...
Unlike similar test programs (e.g. tearing.c), the gamma test does not
explain the meanings of the optional parameters `h` and `f`. This patch
adds these explanations to the usage text.
Closes #775 .
2016-06-06 21:25:13 +02:00
A. Tombs
407385dc72
Correct program name printed by tearing test
...
The tearing test incorrectly calls itself "iconify" when printing usage
information, probably just a copy-paste error.
Closes #774 .
2016-06-06 21:23:30 +02:00
Camilla Berglund
757eea2779
Update email address
2016-06-01 21:25:20 +02:00
Camilla Berglund
4adbeced25
Make cursor test wait by default
2016-05-31 15:38:28 +02:00
Camilla Berglund
0a668be1bf
Add arrow keys to gamma test
2016-05-23 15:23:14 +02:00
Camilla Berglund
ef80beab81
Add run-time context creation API selection
...
Fixes #145 .
2016-05-04 17:00:07 +02:00
Camilla Berglund
3f25610d2f
Fix uses of deprecated Vulkan symbol
2016-05-02 23:03:43 +02:00
Camilla Berglund
c2fd61fa01
Remove unused variable in timeout test
2016-03-31 12:24:02 +02:00
Camilla Berglund
8a7fa306ce
Add glfwSetJoystickCallback
2016-03-31 12:12:09 +02:00
Camilla Berglund
3bbc8e3191
Hack for msvcrt and mintty
2016-03-31 12:12:07 +02:00
Camilla Berglund
9f1474c1d0
Add Unix full screen key chord for no reason
2016-03-29 14:10:24 +02:00
Camilla Berglund
6570d0c4b7
Add glfwSetWindowMonitor
...
This adds the ability to switch between windowed and full screen modes,
move a full screen window between monitors and update its desired
resolution and refresh rate.
Fixes #43 .
2016-03-18 11:13:24 +01:00
Camilla Berglund
fb8a31ba3f
Fix icon test destroying window from callback
2016-03-18 11:05:06 +01:00
Camilla Berglund
e37dbd8b8d
Fix missing include in event wait timeout test
2016-03-18 10:36:33 +01:00
Camilla Berglund
cdea4209fc
Add event wait timeout test
2016-03-16 13:35:43 +01:00
Camilla Berglund
9dceda8a03
Fix Clang warnings
2016-03-15 19:21:04 +01:00
Orson Peters
d998e3eebe
Add icon test program
2016-03-11 14:41:57 +01:00
Camilla Berglund
9f890bb6fa
Add decoration option to multi-window test
2016-03-07 13:31:23 +01:00
Camilla Berglund
3b2e96e0b1
Improve cursor test animation
...
Only set cursor when it's time for a new frame. Use
glfwWaitEventsTimeout when waiting for events during animation.
2016-03-07 12:33:32 +01:00
Camilla Berglund
da44625970
Cleanup
2016-02-29 13:19:27 +01:00
Camilla Berglund
b2d2e30ac8
Make windows test wait for events
2016-02-28 19:16:50 +01:00
Camilla Berglund
97fc9b437d
Fix loader-not-found error message
2016-02-22 10:48:56 +01:00
Camilla Berglund
7669ade19c
Make instance extension count unsigned
...
Fixes #714 .
2016-02-22 10:44:43 +01:00
Camilla Berglund
a10caa4631
Add glfwMaximizeWindow and GLFW_MAXIMIZED
...
Fixes #266 .
2016-02-21 15:32:26 +01:00
Camilla Berglund
f3f0eaa59e
Add OpenGL error check to glfwinfo
2016-02-19 14:31:37 +01:00
Camilla Berglund
eabc64fb7d
Disable unused prototypes
2016-02-17 08:06:38 +01:00
Camilla Berglund
440466524e
Add use of GET_DEVICE_PROC_ADDR in Vulkan test
2016-02-16 15:48:29 +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
c2efe87cff
Improve glfwinfo extension listing
2016-02-15 08:34:44 +01:00
Camilla Berglund
1e452d5fca
Remove work performed by glad
2016-02-15 08:22:32 +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
Zbigniew Mandziejewicz
8637612908
Add GLFW_DLL to target interface
2016-02-02 06:00:18 +01:00
Camilla Berglund
37c93ba031
Compiler flag cleanup
2015-12-15 22:37:23 +01:00
Camilla Berglund
addb977ef1
Use monitor callback event more strictly
2015-12-15 22:37:22 +01:00
Camilla Berglund
9c315412e1
Add glfwGetKeyName
...
Fixes #464 .
2015-11-09 14:46:09 +01:00
Camilla Berglund
048966bb44
Fix Win32 macro conflict
2015-10-28 03:28:02 +01:00
Camilla Berglund
7be8209d14
Add GLFW_CONTEXT_NO_ERROR window hint
...
This adds support for the GL_KHR_no_error extension.
2015-10-27 20:36:20 +01:00
Camilla Berglund
0ebe8ce4c5
Cleanup
2015-10-25 03:56:43 +01:00
Camilla Berglund
1b1ef31228
Make tests and examples use glad
2015-10-14 12:38:18 +02:00
Camilla Berglund
0eccf75f65
Replace GL booleans with public macros
2015-10-13 00:46:02 +02:00
Camilla Berglund
30306e5470
Fix resolution for reopen test
2015-10-12 21:09:07 +02:00
Camilla Berglund
4ad00fa388
Add window refresh events logging to iconify test
2015-09-07 16:32:10 +02:00
Camilla Berglund
362751e4ef
Fix cursor test event mode message
2015-08-16 14:29:04 +02:00
Camilla Berglund
d2113dc9f5
Remove ad-hoc M_PIs and enable VC++ macro
...
Fixes #564 .
2015-08-09 13:57:04 +02:00
Camilla Berglund
3d62ff0e07
Fix implicit truncation to float in cursor test
...
Fixes #565 .
2015-08-09 13:57:04 +02:00
Camilla Berglund
8a4e939a10
Fix glext.h regression in glfwinfo on OS X
...
The glfwinfo program uses symbols not provided by the glext.h header in
every development environment.
Closes #572 .
2015-08-07 16:31:05 +02:00
Camilla Berglund
37e13361f5
Fixed last manual inclusion of glext.h.
2015-07-28 14:51:36 +02:00
Camilla Berglund
33c7c28dde
Replaced the various cursor tests with a sane one.
2015-07-16 17:48:59 +02:00
Camilla Berglund
cf10e318d6
Formatting.
2015-07-01 14:58:43 +02:00
Camilla Berglund
1ab9dbab60
Removed test replaced by glfwinfo.
2015-07-01 14:50:46 +02:00
Camilla Berglund
4f0fc55385
Added version option to glfwinfo.
2015-07-01 14:48:20 +02:00
Camilla Berglund
23195693ed
Added glfwinfo options for context and fb hints.
2015-07-01 14:45:48 +02:00
Camilla Berglund
a7fa41612c
Fixed printing of GLFW version on usage and error.
2015-07-01 14:15:12 +02:00
Camilla Berglund
5f91ea34de
Made glfwinfo options set hints directly.
2015-07-01 14:14:51 +02:00
Camilla Berglund
acaddf9cd9
Added decimals to DPI reported by monitor test.
2015-06-07 21:34:54 +02:00
Camilla Berglund
8503d53018
Improved tearing test.
...
Added support for arbitrary swap intervals, including negative ones if
(GLX|WGL)_EXT_swap_control_tear is available.
2015-06-07 20:54:25 +02:00
Camilla Berglund
8d4ba0aa83
Improved multi-window test.
...
Fixed proper Windows colors. Added support for Escape key. Made
windows undecorated. Added command-line option for decorated windows.
2015-06-07 20:47:13 +02:00
Camilla Berglund
5abf7841f8
Improved glfwinfo tool.
...
Added long options to glfwinfo. Cleaned up code.
2015-06-07 20:40:25 +02:00
Camilla Berglund
8247e6069d
Fixed mode setting for tearing test.
2015-06-02 03:26:02 +02:00
Camilla Berglund
530fc5a431
Added full screen support to tearing test.
2015-05-27 16:14:15 +02:00
Camilla Berglund
22e9451192
Fixed accuracy test on Retina displays.
2015-05-21 00:43:52 +02:00
Camilla Berglund
a1641cdec9
Renamed MSAA test program.
2015-05-19 15:27:58 +02:00
Camilla Berglund
80a38c1e45
Updated Info.plist template file.
2015-05-13 15:59:09 +02:00
Camilla Berglund
9021e52a6f
Fixed clipboard test OS X modifier.
2015-04-16 18:34:32 +02:00
Camilla Berglund
821f3e674a
Enabled High DPI support with custom Info.plist.
...
Fixes #422 .
2015-03-17 16:54:59 +01:00
Camilla Berglund
d79beb9539
Renamed monitor test program.
2015-03-15 15:47:15 +01:00
Camilla Berglund
46888206be
Removed unused GLU dependency.
2015-03-12 01:33:48 +01:00
Camilla Berglund
93855ae6ab
Fixed name of path drop list.
2015-02-16 15:40:08 +01:00
Camilla Berglund
f5c9265d1b
Fixed test joystick drawing leaving holes.
...
Fixes #437 .
2015-02-02 20:08:30 +01:00
Camilla Berglund
439417a22c
Comment and string spell check pass.
2015-01-05 22:21:31 +01:00
Camilla Berglund
5f6aa9c34c
Added IDE folders to CMake files.
...
Fixes #328 .
2015-01-05 01:19:02 +01:00
Camilla Berglund
893e03e5d2
Added error message for missing MSAA extension.
2015-01-05 01:14:02 +01:00
Camilla Berglund
f9c1f85f02
Added cursor mode changes to peter test log.
2015-01-04 15:54:14 +01:00
Camilla Berglund
287514e849
Hack for msvcrt and mintty.
2014-12-31 22:32:07 +01:00
Camilla Berglund
a611144d0c
Restored events locale setting for output.
2014-12-18 03:33:17 +01:00
Camilla Berglund
b2030f6d73
Fixed X11 character input for C locale.
...
Fixes #396 .
2014-12-18 03:24:38 +01:00
Camilla Berglund
2b62858770
Added multi-window support to iconify test.
...
Added -a option for creating one window per monitor. Added -n option
for disabling auto-iconification. Added option descriptions to usage.
2014-12-11 16:08:56 +01:00