Wolfgang Draxinger
019609b6cd
Add GLFW_TRANSPARENT and X11 implementation
...
This is a squashed extract of several commits, minimally edited to
ensure it compiles.
Related to #197 .
Related to #715 .
2017-09-27 21:33:03 +02:00
Camilla Löwy
c23fca6343
Fix APIENTRY from windows.h being undefined
...
Some extension loader headers include windows.h. If they were included
before glfw3.h, glfw3native.h would leave APIENTRY undefined. This adds
the GLFW_APIENTRY_DEFINED macro to signal when GLFW "owns" APIENTRY and
may undefine it.
Fixes #1062 .
2017-08-21 16:01:32 +02:00
Kristian Nielsen
29a75ab09d
X11: Add native access to primary selection
...
This adds the native access functions glfwSetX11SelectionString and
glfwGetX11SelectionString under GLFW_EXPOSE_NATIVE_X11. They are
similar to glfwSetClipboardString and glfwGetClipboardString but operate
on the PRIMARY selection.
The primary selection is widely used in X11, and so seems important to
support. Primary selection is mostly an X11-specific thing, hence it's
exposed as an X11 native interface.
Fixes #894 .
Closes #1056 .
Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
2017-08-13 18:52:24 +02:00
Camilla Löwy
5bc1c38159
Documentation work
...
[ci skip]
2017-08-09 12:20:51 +02:00
Camilla Löwy
5b7281bd41
Add glfwGetJoystickGUID
...
This function completes the first round of support for
SDL_GameControllerDB.
Fixes #900 .
2017-07-30 16:15:12 +02:00
Camilla Löwy
213dd2d0d6
Add glfwInitHintString
...
Adds string type init hints. Adds X11 specific init hints for WM_CLASS
components. Documentation work.
Fixes #893 .
2017-07-25 23:53:52 +02:00
Camilla Löwy
2d8d8f5917
Fix signedness in GLFWgamepadstate
...
The signedness did not match glfwGetJoystickButtons.
2017-07-17 23:16:55 +02:00
Camilla Löwy
8e899ccc29
Cocoa: Add support for MoltenVK dynamic library
...
Tested with MoltenVK 0.18.0.
Related to #870 .
2017-07-10 21:34:02 +02:00
Camilla Löwy
2e9aff759e
Fix @ref link
2017-07-09 14:46:39 +02:00
Camilla Löwy
953106e74d
Add support for SDL_GameControllerDB
...
This adds support for importing and applying mappings from the
SDL_GameControllerDB database.
Related to #900 .
2017-07-07 15:52:33 +02:00
Camilla Löwy
be51c201dd
Cleanup
...
Related to #1039 .
2017-07-03 14:32:23 +02:00
David Carlier
57f872054c
Fix GLAPIENTRY re-definition warning on OpenBSD
...
Closes #1039 .
2017-07-03 14:28:44 +02:00
Camilla Löwy
539a728063
Documentation work
...
[ci skip]
2017-06-30 12:45:29 +02:00
Camilla Löwy
d2952e4e92
Cleanup
...
Related to #1005 .
2017-06-15 20:01:44 +02:00
Camilla Löwy
14a3fe0ac0
Make glfwGetError also provide description
...
Related to #970 .
2017-06-08 16:08:36 +02:00
Camilla Löwy
beaeb0d4af
Add missing pixel format documentation
...
Fixes #1027 .
2017-06-07 20:07:24 +02:00
Camilla Löwy
fa0b5e1b85
Additional client API logic cleanup
2017-05-16 15:43:29 +02:00
Konstantin Käfer
244d6d7823
Allow OpenGL ES header inclusion on macOS
...
Related to #985 .
2017-05-16 15:42:51 +02:00
Camilla Löwy
baa9cd8968
Cleanup
...
Closes #988 .
2017-05-11 20:10:04 +02:00
Felipe Ferreira da Silva
412eb6a611
Add glfwRequestWindowAttention
...
Related to #988 .
2017-05-11 13:36:39 +02:00
Camilla Löwy
6350641f0a
Add glfwGetError
...
Related to #970 .
If you have opinions on the design or implementation of this function,
please come join us in #970 before it is frozen for release.
2017-05-03 18:30:11 +02:00
Camilla Löwy
16ddfafeaa
Allow object creation from callbacks
2017-05-03 15:10:36 +02:00
Camilla Löwy
9558b85f7b
Documentation work
...
Related to #981 .
2017-04-04 18:53:47 +02:00
Brandon Schaefer
c9003b5547
Mir: Get ready for Mir 1.0
...
Clean up CMake finding and check version. Change last remaining
deprecations.
Closes #979 .
2017-03-30 00:43:03 +02:00
Camilla Berglund
bff31f006e
Formatting
2017-03-16 16:22:00 +01:00
Camilla Löwy
798d7c6d68
Implement glfwGetJoystickHats
...
This moves the buttons-as-hats logic to shared code and adds the
GLFW_JOYSTICK_HAT_BUTTONS input mode as a way to disable this legacy
behavior.
Fixes #889 .
2017-03-06 03:23:29 +01:00
IntellectualKitty
368dec7ac7
Add glfwGetJoystickHats
...
This merges the public part of the glfwGetJoystickHats work by
@IntellectualKitty. The implementation needs replacing due to
refactoring in preparation for gamecontrollerdb support.
Closes #906 .
2017-03-05 23:20:07 +01:00
Camilla Löwy
c50aba1335
Cocoa: Add support for MainMenu.nib loading
2017-03-01 04:36:00 +01:00
Camilla Löwy
6d9a58bfef
Add glfwInitHint
...
This allows setting hints that control how the library is initialized,
transforming more compile-time options into run-time ones.
2017-03-01 04:35:41 +01:00
Camilla Löwy
071a049f07
Documentation work
...
[ci skip]
2017-02-28 22:54:50 +01:00
Camilla Löwy
e9560ef021
Add GLFW_OSMESA_CONTEXT_API
...
This allows the creation of OpenGL contexts via OSMesa on existing
platforms. It does not add a compile- or link-time dependency on
OSMesa.
Fixes #281 .
2017-02-28 20:38:10 +01:00
Camilla Löwy
463930761b
Documentation work
...
[ci skip]
2017-02-20 16:35:02 +01:00
Camilla Löwy
77a8f103d8
Add GLFW_COCOA_GRAPHICS_SWICTHING
...
This provides control over whether the context should participate in
macOS Automatic Graphics Switching.
Closes #377 .
Closes #935 .
2017-02-10 01:29:29 +01:00
Camilla Löwy
21eabd3938
Documentation work
2017-02-08 06:53:04 +01:00
Camilla Löwy
98bdd36231
Fix glfwVulkanSupported semantics
2017-02-07 21:28:50 +01:00
Camilla Löwy
5a74b5008d
Cleanup
...
Related to #842 .
2017-02-06 15:16:27 +01:00
Liam Middlebrook
72ac5badb0
Add GLFW_CENTER_CURSOR
...
Adds a hint for controlling whether the cursor is centered over newly
created full screen windows.
Fixes #749 .
Closes #842 .
2017-02-06 15:16:26 +01:00
Camilla Löwy
a46c95c7f2
Clarify requirements for receiving joystick events
...
As of c5694b3013
this is now consistent
enough across platforms to describe.
Fixes #887 .
[ci skip]
2017-02-01 05:40:48 +01:00
Camilla Löwy
6801478a13
Lengthen lifetime of joystick information pointers
...
This is possible because publicly available joystick information is now
managed by shared code and there is now a joystick callback.
[ci skip]
2017-02-01 05:37:38 +01:00
Camilla Löwy
3edaa5280d
Add GLFW_INCLUDE_ES32
2017-01-02 06:06:01 +01:00
Camilla Löwy
4661315192
Add GLFW_COCOA_FRAME_AUTOSAVE
...
Fixes #195 .
2017-01-01 19:58:34 +01:00
Camilla Löwy
831426ca63
Documentation work
...
[ci skip]
2016-12-08 17:08:53 +01:00
Camilla Löwy
58ceab5f1e
Add GLFW_COCOA_RETINA_FRAMEBUFFER
...
Look, a can of worms! I wonder what's inside.
This adds the first platform specific window hint, transforming
a compile-time option to a run-time per-window one.
2016-12-08 16:56:05 +01:00
Camilla Löwy
766a9dc9fd
Documentation work
...
Related to glfw/website#34 .
2016-12-08 16:56:05 +01:00
Camilla Löwy
9e56099edd
Add glfwSetWindowAttrib
...
This function allows updating the GLFW_DECORATED, GLFW_RESIZABLE,
GLFW_FLOATING and GLFW_AUTO_ICONIFY attributes for existing windows.
Fixes #537 .
2016-12-06 15:59:18 +01:00
Camilla Löwy
ce161c2c02
Documentation work
...
[ci skip]
2016-12-06 13:58:45 +01:00
Camilla Löwy
fd127d59fa
Cocoa: Improve OpenGL version restriction messages
...
Fixes #904 .
2016-12-03 20:15:26 +01:00
Camilla Löwy
f4d0c83181
Paperwork done
2016-11-30 14:00:41 +01:00
Camilla Berglund
fef21361c5
OSMesa: Cleanup
...
Fixes formatting, semantics and documentation. Adds
glfwGetOSMesaContext. Adds support for OSMesa context attributes.
Updates changelog and credits. Adds license and copyright headers.
Removes superfluous code (the shared code provides many conveniences).
Removes loading of unused OSMesa functions. Removes empty platform
structs. Fixes version string format. Removes build dependency on
the OSMesa header and library (only the library is needed and only at
runtime).
Closes #850 .
2016-11-09 01:36:21 +01:00
Jason Daly
368fa9475d
Add headless OSMesa backend
...
Allows creation and drawing to in-memory OpenGL contexts.
This backend does not provide input.
Related to #850 .
2016-11-09 01:23:43 +01:00