Commit Graph

2987 Commits

Author SHA1 Message Date
Camilla Berglund
93b4c828c1 Fix VC++ build failure
Regression caused by 71c72db1e3.
2016-02-23 11:49:42 +01:00
Camilla Berglund
165171f9c8 Add comment for Win32 helper window path 2016-02-23 11:30:17 +01:00
Camilla Berglund
0ea193c4e2 Fix detection of Win32 software monitor events
Fixes #53.
2016-02-23 11:28:37 +01:00
Camilla Berglund
d956dbbd2c Cleanup 2016-02-23 11:06:55 +01:00
Camilla Berglund
db49aa6bd9 Cleanup 2016-02-22 13:16:43 +01:00
Jonas Ådahl
9160a7ceb3 x11: Premultiply custom cursor image alpha
As with Wayland, X11 expects cursor pixels to have the alpha
premultiplied, so lets convert the non-premultiplied pixels to
premultiplied pixels.

Fixes #353.
Closes #707.
2016-02-22 13:06:55 +01:00
Jonas Ådahl
71c72db1e3 wayland: Pre-multiply custom cursor image alpha
Since the Wayland SHM buffer format is implicitly premultiplied and the
GLFWimage pixels are defined to be non-premultiplied, we need to
convert the non-premultiplied pixels to premultiplied when filling the
buffer.

Related to #707.
2016-02-22 12:45:05 +01:00
Jonas Ådahl
cb08dc574c wayland: Implement 'DISABLED' cursor mode
This implements support for the 'DISABLED' cursor mode, which
effectively means locking the pointer to the surface. The cursor is also
explicitly hidden.

This adds two new build dependencies: wayland-scanner and
wayland-protocols.

Closes #708.
2016-02-22 12:36:34 +01:00
Jonas Ådahl
c7f3bd0d22 wayland: Use modules from ECM for finding deps
We were using a copied FindWayland cmake script, but lets use the ones
from ECM (extra-cmake-modules) instead. This is more important in the
future when building extensions from wayland-protocols.
2016-02-22 12:34:51 +01:00
Camilla Berglund
bb3b3452f3 Cleanup 2016-02-22 12:29:52 +01:00
Camilla Berglund
70ffae7430 Documentation work 2016-02-22 11:59:40 +01:00
Camilla Berglund
4702be7488 Update changelog 2016-02-22 10:50:13 +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
2be2e0fa86 Fix X11 WSI extension selection logic 2016-02-21 18:36:28 +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
8c4ce9a3de Documentation work
[ci skip]
2016-02-21 15:25:57 +01:00
Camilla Berglund
710586367c Add Vulkan headers to test dependency list 2016-02-19 14:38:04 +01:00
Camilla Berglund
f3f0eaa59e Add OpenGL error check to glfwinfo 2016-02-19 14:31:37 +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
001c50cfc6 Add paragraphs on GL helpers not being for Vulkan 2016-02-19 09:19:17 +01:00
Camilla Berglund
3b64bae323 Fix X11 WSI extension selection logic 2016-02-19 08:56:46 +01:00
Camilla Berglund
7da0ffa5ea Formatting 2016-02-18 22:28:26 +01:00
Camilla Berglund
bad778c1c4 OpenGL headers not required for compilation 2016-02-18 22:28:26 +01:00
Camilla Berglund
6e103d5dca Change priority order of X11 WSI extensions 2016-02-18 20:05:35 +01:00
Camilla Berglund
65870346e4 Add Vulkan functions to thread safety section 2016-02-18 15:17:27 +01:00
Camilla Berglund
5e5fea2293 Fix struct member names of Mir WSI 2016-02-18 14:48:33 +01:00
Camilla Berglund
b6a72db2ad Add missing inclusion of linux/input.h 2016-02-18 14:48:07 +01:00
Camilla Berglund
c56af32bb7 Fix use of undeclared constant 2016-02-18 14:22:11 +01:00
Camilla Berglund
511183e76c Remove CRLF line endings 2016-02-18 14:22:11 +01:00
Camilla Berglund
2826f3d42f Check success of MakeCurrent before updating TLS
Fixes #706.
2016-02-18 09:37:19 +01:00
Camilla Berglund
bdbad880c4 Move GitHub documentation to .github 2016-02-17 21:48:48 +01:00
Camilla Berglund
b0b77bc0f2 Documentation work 2016-02-17 21:48:09 +01:00
Camilla Berglund
2accdb76bd Cleanup 2016-02-17 21:30:17 +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
b955936ee1 Semantics fix 2016-02-17 08:55:24 +01:00
Camilla Berglund
d6975a708a Fix search path for 32-bit Vulkan import library 2016-02-17 08:26:45 +01:00
Camilla Berglund
eabc64fb7d Disable unused prototypes 2016-02-17 08:06:38 +01:00
Camilla Berglund
96cdcec58a Fix declaration of dispatchable Vulkan handles 2016-02-16 21:40:01 +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
Camilla Berglund
f7228bb562 Fix window class not being unregistered
The helper window kept the window class from being unregistered.

Fixes #704.
2016-02-11 17:10:57 +01:00
Camilla Berglund
386b60396f Documentation work
[ci skip]
2016-02-10 13:48:49 +01:00