Commit Graph

2986 Commits

Author SHA1 Message Date
Camilla Berglund 12b6c56903 Add suffixes to platform specific helper functions
Also merge win32_tls.h into win32_platform.h.
2015-12-13 14:50:59 +01:00
Camilla Berglund 0a3b5952e0 Make WGL backend more readable 2015-12-13 14:49:55 +01:00
Camilla Berglund 66b462d6e1 Make GLX backend more readable 2015-12-13 14:49:55 +01:00
Camilla Berglund 02fdd6459e Make EGL backend more readable 2015-12-13 14:49:55 +01:00
Camilla Berglund 0df4e06f11 Make more RFC 2119 compliant use of may 2015-12-13 14:49:01 +01:00
Camilla Berglund 8f0f1cf6c1 Only poll requested joystick on Linux
This also performs minor cleanup.
2015-12-13 14:49:01 +01:00
Camilla Berglund ee27930628 Update changelog 2015-12-12 20:35:26 +01:00
Camilla Berglund a61d8dea36 Update .gitignore 2015-12-12 20:32:30 +01:00
Camilla Berglund eea46be4e6 Fix missing MinGW import library prefix
Fixes #657.
2015-12-12 18:08:45 +01:00
Camilla Berglund fdc65e49e4 Fix bad Win32 updates 2015-12-10 12:16:13 +01:00
Camilla Berglund 75f1dfaf8a Move DWM enabled test to file where it is used 2015-12-09 19:39:16 +01:00
Camilla Berglund 72632a846b Cleanup 2015-12-09 19:39:16 +01:00
Camilla Berglund 5668b64839 Fix segfault on DISP_CHANGE_RESTART
Fixes #647.
2015-12-09 19:39:16 +01:00
Camilla Berglund b3d0bd6081 Fix type of OpenGL bundle reference 2015-12-08 15:10:23 +01:00
Camilla Berglund 1ea66b9033 Cleanup 2015-12-07 21:17:03 +01:00
Camilla Berglund e82e2b7570 Fix full screen window position on OS X
Fixes #653.
2015-12-07 21:14:24 +01:00
Camilla Berglund 001761ed58 Add note on event processing to context guide 2015-11-23 20:48:52 +01:00
Camilla Berglund 5c98a44603 Move Win32 clipboard code to helper window 2015-11-23 20:48:51 +01:00
Camilla Berglund 4cd493dd9a Add Win32 helper window 2015-11-23 20:48:51 +01:00
Camilla Berglund b4b210526a Move to RegisterWindowClassEx for no real reason 2015-11-23 20:38:18 +01:00
Camilla Berglund 1bf33a7402 Clarify WNDPROC window pointer handling 2015-11-21 20:55:13 +01:00
Camilla Berglund 12903ee9b5 Remove no-op ReleaseDC 2015-11-21 20:55:12 +01:00
Camilla Berglund fc250c3df7 Cleanup 2015-11-21 20:54:24 +01:00
Camilla Berglund 486354d63f Fix libGL not being found on NetBSD
Fixes #646.
2015-11-17 23:29:13 +01:00
Emmanuel Gil Peyrot 9ac9c61433 Wayland: Make sure the cursor buffer is valid
Fixes #645.
2015-11-17 00:13:44 +01:00
Camilla Berglund 580c7da559 Make Wayland and Mir backends use key LUTs 2015-11-12 15:06:46 +01:00
Camilla Berglund 994d8ae54d Relax native access header constraints 2015-11-10 15:11:32 +01:00
Camilla Berglund d9e43ea120 Fix example build errors on legacy MinGW 2015-11-10 14:08:28 +01:00
Camilla Berglund 27462c1078 Cleanup 2015-11-10 13:43:55 +01:00
Stanislav dc373d2e0e Fix for MinGW compilation
GET_XBUTTON_WPARAM is not defined on legacy MinGW.

Fixes #639.
2015-11-10 13:43:17 +01:00
Camilla Berglund e046d0696b Add glfwGetGLXWindow 2015-11-09 23:52:03 +01:00
Camilla Berglund d4079ad3a2 Move all context related members to _GLFWcontext 2015-11-09 23:52:02 +01:00
Camilla Berglund b22a0ec7d8 There is only one ICD 2015-11-09 23:51:59 +01:00
Camilla Berglund d3e5a3024c Fix update being called on nil context 2015-11-09 20:36:42 +01:00
Camilla Berglund 9c315412e1 Add glfwGetKeyName
Fixes #464.
2015-11-09 14:46:09 +01:00
Camilla Berglund 67c6a45e0e Fix xkbcommon build regression
Somehow X11 keysyms were still being used in xkbcommon code.
2015-11-09 02:33:34 +01:00
Camilla Berglund 584d5f0f31 Remove dependency on eglplatform.h header
Fixes #636.
2015-11-08 15:48:34 +01:00
Camilla Berglund 24f41c8c4c Use only LoadLibraryA to match EGL backend 2015-11-08 15:35:15 +01:00
Camilla Berglund dc1b9ce7f0 Move simple example to GL2 2015-11-07 21:08:25 +01:00
Camilla Berglund 43d6292328 Formatting 2015-11-07 21:08:25 +01:00
Camilla Berglund 3efaa065a5 Fix comment 2015-11-05 20:55:15 +01:00
Camilla Berglund a36e3a2033 Fix documentation formatting error 2015-11-05 17:14:26 +01:00
Camilla Berglund bce20c3280 Add links to GLFWglproc reference 2015-11-05 13:58:52 +01:00
Camilla Berglund 98b478fec1 Add more GLFW_NO_API documentation 2015-11-05 13:52:04 +01:00
Camilla Berglund 9d3a3c32d6 Replace hardcoded version number with macro 2015-11-05 12:11:22 +01:00
Camilla Berglund d00579bf60 Clarify pre-initialization threading limitations 2015-11-05 11:38:45 +01:00
Camilla Berglund 9d71eb46b8 Add guide section links to type reference 2015-11-05 09:24:16 +01:00
Camilla Berglund 5006ef3f56 Use more GLFWbool 2015-11-05 08:58:40 +01:00
Emmanuel Gil Peyrot 4c06426d46 Wayland: Create the surface before the context
This fixes a regression introduced in 496f559c where a context would be
created for a NULL egl_surface, which subsequently fails.

Fixes #633.
2015-11-03 00:18:43 +01:00
Camilla Berglund 9f3636a103 Add partial support for Windows 8.1 per-monitor DPI
Related to #235.
2015-11-01 17:39:21 +01:00