Commit Graph

329 Commits

Author SHA1 Message Date
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
fb418b26d7 Fix grammar
Fixes #776.
2016-07-17 15:39:25 +02:00
Camilla Berglund
c1b1e0aab1 Documentation work
[ci skip]
2016-07-14 18:21:43 +02:00
Camilla Berglund
4bccb3dc9f Start 3.2.1 2016-06-15 01:35:05 +02:00
Camilla Berglund
f6ec835599 Fix documentation for timer thread safety 2016-06-02 16:13:47 +02:00
Camilla Berglund
9e86826eab Documentation work 2016-06-01 21:25:18 +02:00
Camilla Berglund
278bffe059 Remove severely outdated Rift guide 2016-06-01 21:25:09 +02:00
Camilla Berglund
7314501d62 Formatting 2016-05-31 15:38:12 +02:00
Camilla Berglund
1615edf5fb Clarify wording
Related to #766.
2016-05-31 15:37:20 +02:00
Camilla Berglund
20bce151c1 Documentation work 2016-05-30 17:00:21 +02:00
Camilla Berglund
85f6c6b2df Add description of 3.2 release 2016-05-29 17:55:08 +02:00
Camilla Berglund
ef80beab81 Add run-time context creation API selection
Fixes #145.
2016-05-04 17:00:07 +02:00
Camilla Berglund
e2d5071e59 Fix typo 2016-03-31 16:56:43 +02:00
Camilla Berglund
8a7fa306ce Add glfwSetJoystickCallback 2016-03-31 12:12:09 +02:00
Camilla Berglund
13e2ad2840 Documentation work 2016-03-29 11:37:22 +02:00
Camilla Berglund
bc713dabc4 Documentation work
[ci skip]
2016-03-29 11:12:56 +02:00
Camilla Berglund
7ab7d8b4b1 Make use of uint32_t where appropriate
This change does not affect the ABI.
2016-03-28 12:34:57 +02:00
Camilla Berglund
5661d03be8 Replace GLFWuint64 with uint64_t
C99 stdint.h is provided by VS 2010 and later.  GLFW has not provided
testing or binaries for VS 2008 for several releases.

For earlier versions of VS there are third-party alternatives:

https://msinttypes.googlecode.com/svn/trunk/stdint.h
http://www.azillionmonkeys.com/qed/pstdint.h

This change does not affect the ABI.
2016-03-28 12:34:44 +02:00
Camilla Berglund
728a088cd7 Fix event processing guide section 2016-03-18 12:08:43 +01: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
b823f7151e Add glfwSetWindowIcon
Adds support for setting window icons programmatically on platforms
where this makes sense.

Fixes #453.
Closes #467.
2016-03-10 17:26:26 +01:00
Camilla Berglund
793eef1d0a Fix missing word 2016-03-08 15:29:03 +01:00
Camilla Berglund
ee33dcdf33 Fix speling
[ci skip]
2016-03-07 14:43:10 +01:00
Camilla Berglund
5620895e88 Add glfwWaitEventsTimeout
This function will put the calling thread to sleep until an event
arrives or until the specified timeout has elapsed.
2016-03-06 17:28:40 +01:00
Camilla Berglund
337c77a39b Documentation work 2016-03-06 14:11:14 +01:00
Camilla Berglund
9fb00f2ad0 Fix speling 2016-03-06 11:51:32 +01:00
Camilla Berglund
31f67dd3cc Add glfwGetTimerValue and glfwGetTimerFrequency
This adds raw timer access to the public API and builds the
floating-point time functions on top.  It also makes the GLFWuint64 type
public.
2016-03-06 11:51:23 +01:00
Camilla Berglund
239ede725d Add cache variable setting to source tree method
By default both tests, examples and documentation is built when the GLFW
source tree is included in a larger CMake project.
2016-02-26 11:38:36 +01:00
Camilla Berglund
22a09a53e6 Centralize documentation generation logic 2016-02-26 11:38:36 +01:00
Camilla Berglund
baf574494d Add glfwFocusWindow
This removes the (undocumented) behavior where glfwShowWindow would
bring the window to front and set input focus.  That function now
does what it says.
2016-02-25 21:37:40 +01:00
Camilla Berglund
7669ade19c Make instance extension count unsigned
Fixes #714.
2016-02-22 10:44:43 +01:00
Camilla Berglund
bda18bc899 Remove XInput2 XI_Motion support
Sadly, this interferes with the Steam overlay.

Fixes #304.
2016-02-21 18:32:57 +01:00
Camilla Berglund
a10caa4631 Add glfwMaximizeWindow and GLFW_MAXIMIZED
Fixes #266.
2016-02-21 15:32:26 +01:00
Camilla Berglund
cbcadded18 Update documentation main page 2016-02-19 11:44:11 +01:00
Camilla Berglund
80c203f3bb Separate guide and reference documentation tags 2016-02-19 10:38:30 +01:00
Camilla Berglund
bad778c1c4 OpenGL headers not required for compilation 2016-02-18 22:28:26 +01:00
Camilla Berglund
65870346e4 Add Vulkan functions to thread safety section 2016-02-18 15:17:27 +01:00
Camilla Berglund
511183e76c Remove CRLF line endings 2016-02-18 14:22:11 +01:00
Camilla Berglund
b0b77bc0f2 Documentation work 2016-02-17 21:48:09 +01:00
Camilla Berglund
be94eb67be Add support for EGL_KHR_gl_colorspace
Fixes #285.
2016-02-17 17:27:33 +01:00
Camilla Berglund
08ea80b708 Clarify language on instance function loading 2016-02-17 15:09:48 +01:00
Camilla Berglund
95c44ab298 Fix cursor coordinate phrasing
Fixes #387.
2016-02-17 15:06:56 +01:00
Camilla Berglund
41b82903a8 Documentation work 2016-02-17 09:10:48 +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
f51cf81148 Add error sections to reference docs
[ci skip]
2016-02-05 03:47:17 +01:00
Camilla Berglund
58a83ca8ad Documentation work 2016-02-04 20:34:22 +01:00
Camilla Berglund
b63b992fd6 CMake documentation work 2016-02-02 06:10:26 +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
Camilla Berglund
832c2ffa3b History work 2016-01-31 22:36:34 +01:00
Camilla Berglund
951a9583fa Add Doxygen aliases for custom paragraphs 2016-01-31 22:35:37 +01:00
Camilla Berglund
ecd04539ec Add mention of command-line CMake option setting 2015-12-16 03:44:20 +01:00
Camilla Berglund
addb977ef1 Use monitor callback event more strictly 2015-12-15 22:37:22 +01:00
Camilla Berglund
0df4e06f11 Make more RFC 2119 compliant use of may 2015-12-13 14:49:01 +01:00
Camilla Berglund
001761ed58 Add note on event processing to context guide 2015-11-23 20:48:52 +01:00
Camilla Berglund
9c315412e1 Add glfwGetKeyName
Fixes #464.
2015-11-09 14:46:09 +01:00
Camilla Berglund
584d5f0f31 Remove dependency on eglplatform.h header
Fixes #636.
2015-11-08 15:48:34 +01:00
Camilla Berglund
43d6292328 Formatting 2015-11-07 21:08:25 +01:00
Camilla Berglund
98b478fec1 Add more GLFW_NO_API documentation 2015-11-05 13:52:04 +01:00
Camilla Berglund
d00579bf60 Clarify pre-initialization threading limitations 2015-11-05 11:38:45 +01:00
Camilla Berglund
ba1f1f8ee9 Update tutorial
Related to #628.
2015-10-28 23:26:57 +01:00
Camilla Berglund
d946337724 Document GLFW_CONTEXT_NO_ERROR caveat 2015-10-27 21:11:36 +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
88660fdf64 Add note on C++11/C11 UTF-8 literals 2015-10-24 21:41:39 +02:00
Camilla Berglund
f47e2f3ae4 Documentation work 2015-10-24 21:28:28 +02:00
Camilla Berglund
318e8acfae Header file documentation work 2015-10-24 21:18:52 +02:00
Camilla Berglund
b312f5e208 Fix grammar 2015-10-24 20:28:25 +02:00
Camilla Berglund
c9040bce55 Improve tutorial ending 2015-10-24 20:28:25 +02:00
Camilla Berglund
ce52210832 Add note about non-magic boolean values 2015-10-24 20:28:25 +02:00
Camilla Berglund
37b10d1a0e New release 2015-10-24 20:28:25 +02:00
Camilla Berglund
143c52e4cd Add OpenGL tutorial links to tutorial 2015-10-24 20:28:25 +02:00
Camilla Berglund
156cd33c7f Add use of glad to tutorial 2015-10-24 20:28:25 +02:00
Camilla Berglund
bbae72cea2 Improve header section of tutorial 2015-10-24 20:28:24 +02:00
Camilla Berglund
02b1710ab2 Remove mention of GLU from tutorial 2015-10-24 20:28:24 +02:00
Camilla Berglund
af5b82acf5 Documentation work 2015-10-19 16:01:42 +02:00
Camilla Berglund
42efd26698 Remove support for Universal Binaries 2015-10-18 19:34:33 +02:00
Camilla Berglund
d84772d620 Add size limits and aspect ratio functions
Fixes #555.
2015-10-18 17:18:29 +02:00
Camilla Berglund
22eca139fb Remove compile-time client library selection 2015-10-14 13:43:05 +02:00
Camilla Berglund
0eccf75f65 Replace GL booleans with public macros 2015-10-13 00:46:02 +02:00
Camilla Berglund
95a07f3340 Start 3.2 2015-10-12 21:59:49 +02:00
Camilla Berglund
be65829055 Clarify GLU deprecation 2015-10-12 19:05:21 +02:00
Camilla Berglund
0b65053ffd Clarify documentation of glfwGetClipboardString
The reference documentation for glfwGetClipboardString did not link to
GLFW_FORMAT_UNAVAILABLE.

Fixes #605.
2015-09-16 18:25:56 +02:00
Camilla Berglund
c8e068712b Fix glfwGetProcAddress documentation 2015-09-08 21:43:05 +02:00
Camilla Berglund
85a01bfd9b Document image data being non-premultiplied
Fixes #426.
2015-08-17 21:09:59 +02:00
Camilla Berglund
dd01dd7bef Replace GLU with linmath.h in examples 2015-08-09 16:54:19 +02:00
Camilla Berglund
04c057238b Added support for EXT_framebuffer_sRGB.
Added sRGB extensions to standards conformance page.
2015-07-16 17:48:00 +02:00
Camilla Berglund
2cc3c16ab1 Documentation tweak. 2015-06-15 20:40:15 +02:00
Camilla Berglund
1c104a385d Clarified note on role of CMake. 2015-06-09 21:04:49 +02:00
Camilla Berglund
6d5753c548 Added support for AMD PowerXpress override.
Generalized _GLFW_USE_OPTIMUS_HPG to _GLFW_USE_HYBRID_HPG to reflect the
change.

Fixes #520.
2015-05-29 13:15:32 +02:00
Camilla Berglund
d3e25db395 Added missing documentation for option. 2015-05-27 02:22:56 +02:00
Camilla Berglund
3c52cb1790 Simplified glXGetProcAddress logic.
Removed compile-time selection of GLX entry point retrieval mechanism.
Made dlopen a required dependency.

This is a stopgap solution until we start requiring GLX 1.4.
2015-05-27 02:20:55 +02:00
Camilla Berglund
8309e0ecb0 Use DwmFlush when DWM is enabled.
Use DwmFlush instead of WGL_EXT_swap_control when desktop compositing is
enabled, to avoid the jitter of DWM and WGL vsync fighting.

Fixes #516.
2015-05-21 18:28:53 +02:00
Camilla Berglund
460c34df4b Documentation tweaks. 2015-04-19 13:50:13 +02:00
Camilla Berglund
5733b0e4cb Removed repetitition in input guide.
Fixes #496.
2015-04-10 13:31:54 +02:00
Camilla Berglund
6b21c4f6c9 Fixed out-of-tree build documentation.
Fixes #489.
2015-04-07 22:19:56 +02:00
Camilla Berglund
427c79b24b Documented framebuffer attribute retrieval.
Related to #476.
2015-03-30 21:53:47 +02:00
Camilla Berglund
f3270d4ce8 Fixed language referring to GLFW 2.
Fixes #476.
2015-03-26 12:42:30 +01:00
Camilla Berglund
5268914b3f Started 3.1.2. 2015-03-20 00:16:24 +01:00
Camilla Berglund
1a004264f4 Removed reference to Carbon by postponed feature. 2015-03-17 16:48:56 +01:00
Camilla Berglund
8f08661d9e Header option macro fixes and documentation work.
This adds compile-time checks and documentation warning about defining
header option macros during compilation of GLFW.

Fixes #445.
2015-03-17 16:39:09 +01:00