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
Camilla Berglund
b4c4ba0439
Fixed regression due to stale OS X glext header.
...
Fixes regression caused by b140606a49
.
2014-10-22 13:57:54 +02:00
Camilla Berglund
b140606a49
Added GLFW_INCLUDE_GLEXT for glext.h inclusion.
...
Closes #365 .
2014-10-13 23:57:21 +02:00
Camilla Berglund
2488c67798
Improved grammar of charmods event reporting.
2014-09-22 11:32:10 +02:00
Camilla Berglund
44c899ce70
Added support for GL_KHR_context_flush_control.
2014-08-21 19:29:04 +02:00
Camilla Berglund
77d2a2131d
Fixed fallthrough bug in glfwinfo.
2014-08-21 19:29:04 +02:00
Camilla Berglund
452e95d02a
CMake path quoting fixes.
2014-08-15 15:16:45 +02:00
Camilla Berglund
6e0ea02f17
Quoted all CMake paths with substitution.
...
Fixes #258 .
2014-08-11 20:26:37 +02:00
Camilla Berglund
cd93df4fe0
Made events test monitor callback static.
2014-07-07 23:23:46 +02:00
Camilla Berglund
46a56ea742
Clarified charmods in events test.
2014-06-24 13:04:50 +02:00
Camilla Berglund
96b12ee504
Added character with modifiers callback.
...
The undefined behaviour changed with #40 has been reverted, making the
character-only callback again behave like a system text field. This
behavior has now been documentated.
Fixes #203 .
Fixes #305 .
2014-06-24 10:50:05 +02:00
Camilla Berglund
35fd08f594
Made windows test show all windows at once.
2014-06-18 16:39:41 +02:00
Camilla Berglund
11587f1dde
Added position testing to windows test.
2014-06-18 16:39:40 +02:00
Camilla Berglund
281013002d
Added GLFW_DONT_CARE.
...
This changes the behavior of framebuffer hints set to zero. Before,
zero meant that any value was acceptable. This changes zero to be an
explicit preference and adds GLFW_DONT_CARE to mean that any value is
equally acceptable.
Fixes #70 .
2014-06-18 16:36:22 +02:00
Camilla Berglund
cb9d194f86
Removed uses of GLU in tests.
2014-06-10 15:04:32 +02:00
Rok Breulj
093029c2f5
Start reopen test in fullscreen.
2014-06-10 03:39:40 +02:00
Camilla Berglund
60eeaeee69
4.
2014-04-24 07:57:33 +02:00
Camilla Berglund
df1c895076
Added window hiding before thrd_join.
2014-04-06 14:41:04 +02:00
Camilla Berglund
ebb7145ccc
Fixed VC++ warnings.
2014-03-31 22:33:22 +02:00
Camilla Berglund
40f69d7abf
Added use of frame size to multi-window test.
2014-03-30 11:30:40 +02:00
Camilla Berglund
5b5717e539
Removed superfluous cast.
2014-03-24 13:31:01 +01:00
Camilla Berglund
7ac3d85126
Formatting.
2014-03-20 11:30:27 +01:00
Camilla Berglund
8fa9cc0de3
Added GLFWimage struct.
2014-03-20 11:30:27 +01:00
Camilla Berglund
608de57358
Cleanup.
2014-03-20 11:30:27 +01:00
urraka
40c04a7565
Added support for custom system cursors.
...
This adds 3 functions to the GLFW API: glfwCreateCursor,
glfwDestroyCursor and glfwSetCursor.
2014-03-20 11:30:27 +01:00
Camilla Berglund
a7f93060dd
Killed lab escapee.
2014-03-18 21:40:02 +01:00
Camilla Berglund
c84bd6d393
Formatting.
2014-03-11 12:53:00 +01:00
Camilla Berglund
d2cc815009
Only set the monitor callback once.
2014-03-10 18:56:33 +01:00
Camilla Berglund
4889b4ceee
Added missing detection of invalid flags.
2014-03-10 13:15:50 +01:00
Camilla Berglund
d7c42c8132
Added window creation intent printing.
2014-03-10 13:12:03 +01:00
Camilla Berglund
41fd1655bd
Added test for posting of empty event.
2014-03-09 20:05:27 +01:00
Camilla Berglund
91e069f979
Desktop mode full screen fixes for tests.
2014-02-13 13:30:15 +01:00
Camilla Berglund
135ee0d93f
Added multi-window support to events test.
2014-02-12 00:49:26 +01:00
Camilla Berglund
8f349e84ae
Cleaned up drop callback design.
2014-01-21 18:23:25 +01:00
Camilla Berglund
ed4c8b27f1
Added drop reporting to events test.
2014-01-21 15:25:50 +01:00
Camilla Berglund
c64d2787f8
Revamped cursor mode test.
2014-01-18 23:10:05 +01:00
Camilla Berglund
45368f410a
Fixed warnings from Clang static analysis.
2013-11-14 13:42:29 +01:00
Camilla Berglund
cc4c7167fd
Fixed joysticks test segfault.
2013-11-07 19:29:33 +01:00
Camilla Berglund
785e68bb0d
Added flag descriptions to glfwinfo -h.
2013-11-03 13:38:45 +01:00
Camilla Berglund
86e50b1044
Placed glfwinfo version test after getopt.
2013-11-03 13:29:21 +01:00
Camilla Berglund
dbdf01d4a0
Added getopt dependency to events text.
2013-10-17 15:35:01 +02:00
Camilla Berglund
e85455719d
Point made.
2013-10-16 20:33:28 +02:00
Camilla Berglund
2c920fbb8b
Clarified character callback parameter.
2013-10-10 19:41:56 +02:00
Camilla Berglund
7dd8770e6f
Added full screen option to events test.
2013-10-10 00:17:53 +02:00
Camilla Berglund
10017b27bb
Cleanup.
2013-06-17 12:46:51 +02:00
Camilla Berglund
3df0b4478b
Fixed VC++ warnings.
2013-06-12 20:37:04 +02:00
Camilla Berglund
11615fcaf2
Added scancode to key callback.
2013-06-05 23:46:09 +02:00
Camilla Berglund
180a4ee640
Fixed constness of joystick data.
2013-06-04 18:20:38 +02:00
Camilla Berglund
3498163da1
Separated window and framebuffer sizes.
2013-06-04 01:51:54 +02:00
Camilla Berglund
f5dc6e4007
Added random seed init.
2013-05-30 20:41:39 +02:00
Camilla Berglund
731812cfc1
Added refresh rate to GLFWvidmode.
2013-05-30 15:52:42 +02:00
Camilla Berglund
525b4151f0
Fixed invalid pointer use.
2013-05-29 22:35:58 +02:00
Camilla Berglund
ad1f6f0341
Renamed glfwGetWindowParam to glfwGetWindowAttrib.
...
Parameters are something specified at creation time and are often
immutable, while many of the values returned by glfwGetWindowParam
reflected current state not controlled by any parameter or hint.
2013-05-27 15:30:32 +02:00
Camilla Berglund
1f0122e05c
Fixed uses of renamed symbol.
2013-05-23 14:41:43 +02:00
Noel Cower
eff85f9500
Added super modifier bit.
...
Edited during merge.
2013-05-23 14:21:35 +02:00
Camilla Berglund
15ed715f4e
Moved public headers to the GLFW directory.
2013-05-22 22:46:34 +02:00
Camilla Berglund
ce1e84def6
Made glfwGetVideoMode consistent with getters.
2013-05-22 22:16:43 +02:00
Camilla Berglund
6df692b61e
Renamed CURSOR_CAPTURED to CURSOR_DISABLED.
2013-05-22 21:56:14 +02:00
Camilla Berglund
9264b5da0e
Removed double mode for cursor mode.
2013-05-22 21:56:14 +02:00
Camilla Berglund
2d1b835711
Added a conservative set of key modifiers.
2013-05-22 21:56:14 +02:00
Camilla Berglund
7f2eb7b15b
New joystick API.
2013-05-22 21:56:14 +02:00
Camilla Berglund
9a5feaad05
Dropped fsfocus test.
2013-05-20 12:45:41 +02:00
Camilla Berglund
f966ff894a
Added refresh rate calculation to tearing test.
2013-05-19 20:43:33 +02:00
Camilla Berglund
e5a4bea4df
Improved reopen test input.
2013-05-19 09:18:57 +02:00
Camilla Berglund
c310d1c47c
Restored explicit linking for threading test.
2013-05-07 22:38:34 +02:00
Camilla Berglund
807f1622ea
Added threading library to link dependencies.
...
Since the GLX backend now uses explicit pthread calls, linking needs to
be explicit as well.
2013-05-07 21:39:09 +02:00
Camilla Berglund
f06a700307
Renamed support directory to deps.
2013-04-17 15:42:21 +02:00
Camilla Berglund
1c4f7525d5
Added mintty/msvcrt fix to events test.
2013-04-17 15:31:20 +02:00
Camilla Berglund
129e94da2e
Changed cursor pos to double.
2013-04-04 16:29:40 +02:00
Camilla Berglund
3897a174b5
Fixed VC++ warnings.
2013-03-08 14:19:40 +01:00
Camilla Berglund
64afb193e8
Removed return value of close callback.
2013-03-06 23:29:37 +01:00
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.
2013-03-01 14:13:45 +01:00
Camilla Berglund
182e0afe25
Made character unsigned.
2013-02-25 17:02:28 +01:00
SephiRok
1ae9ce1e0a
Fixed print screen key input for all platforms.
2013-02-21 18:41:27 +01:00
Camilla Berglund
2e1bc043ef
Fixed order of operations bug in gamma test.
2013-02-19 01:57:00 +01:00
Camilla Berglund
253e0d6b23
Added GLFW_REPEAT.
2013-02-15 13:21:11 +01:00
Camilla Berglund
94f5b28152
Made reopen test pick a monitor at random.
2013-02-14 17:27:37 +01:00
Camilla Berglund
92a71e07d3
Made gamma ramp functions per-monitor.
2013-02-12 14:03:51 +01:00
Camilla Berglund
20ccf0bc60
Replaced event poll with wait in gamma test.
2013-02-12 13:45:07 +01:00
Camilla Berglund
7c1932381b
Reintroduced glfwGetWindowPos, glfwSetWindowPos.
2013-02-11 19:43:08 +01:00
Camilla Berglund
ee5f30ea8f
Replaced glfwGetMonitorParam with glfwGetMonitor*.
...
Having one way to retrieve the cursor position and another (more
verbose) way to retrieve the monitor position is inconsistent. Having
them both work the same way is the least surprising thing.
The expected glfwGetMonitorSize function gets an added Physical in its
name so users won't confuse it with glfwGetVideoMode.
2013-02-04 12:33:10 +01:00
Camilla Berglund
ac5fee4d20
Re-used POSITION_* tokens for monitor position.
2013-02-04 12:33:09 +01:00
Camilla Berglund
f0f4af4287
Fixed warnings on VC++.
2013-01-06 21:02:57 +01:00
Camilla Berglund
c3da8e417f
Merge branch 'master' of github.com:elmindreda/glfw
2013-01-06 19:59:51 +01:00
Matt Arsenault
5162796094
Threads still need to be linked with static library
2013-01-06 12:31:47 -05:00
Camilla Berglund
316ee1d77d
Made glfwGetVideoMode return a GLFWvidmode.
2013-01-05 22:07:06 +01:00
Camilla Berglund
9af960e2dd
Made the pointer-ness of object handles explicit.
2013-01-05 21:13:28 +01:00
Camilla Berglund
46c1e4028f
Begun integrating mode setting and monitor API.
2013-01-03 17:56:59 +01:00