Commit Graph

439 Commits

Author SHA1 Message Date
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