Camilla Berglund
56f0bb8613
Comment fix.
ago%!(EXTRA string=11 years)
Camilla Berglund
1fed6f8abd
Fixed name of global TLS state macro.
ago%!(EXTRA string=11 years)
Camilla Berglund
1127c0e6e5
Renamed Wayland files to match prefix.
ago%!(EXTRA string=11 years)
Camilla Berglund
12b28c4bb9
Fixed name of global context state macro.
ago%!(EXTRA string=11 years)
Camilla Berglund
7c925353a5
Renamed context module headers.
ago%!(EXTRA string=11 years)
Camilla Berglund
17d9051b82
Separated time state from window system state.
ago%!(EXTRA string=11 years)
Camilla Berglund
660034332d
Separated joystick state from window system state.
...
This is partially in preparation for pending support for additional
joystick APIs like XInput, DirectInput and IOHID.
ago%!(EXTRA string=11 years)
Jonas Ådahl
8e99996321
Introduce experimental Wayland backend
...
This patch introduces a new backend that enables GLFW applications to
run on Wayland. For now, only output is supported (windowed and
fullscreen). Pointer cursor management, input devices, clipboard etc are
not supported yet.
There are some concepts that can not be supported, more specifically
glfwSetWindowPos, glfwGetWindowPos and glfwSetCursorPos, as they are not
supported by Wayland.
This patch also changes the time and joystick implementations used by the
X11 backend to be shared between the Wayland backend and the X11 backend.
ago%!(EXTRA string=11 years)
Camilla Berglund
b54c76d6a3
Removed typedef of removed struct.
ago%!(EXTRA string=11 years)
Camilla Berglund
78efc18079
Split out TLS code into separate modules.
...
This allows the TLS code to be re-used by partial ports like EGL.
ago%!(EXTRA string=11 years)
Camilla Berglund
eb3f75e03e
Added glfwGetWindowFrameSize.
ago%!(EXTRA string=11 years)
Camilla Berglund
8fa9cc0de3
Added GLFWimage struct.
ago%!(EXTRA string=11 years)
Camilla Berglund
608de57358
Cleanup.
ago%!(EXTRA string=11 years)
urraka
40c04a7565
Added support for custom system cursors.
...
This adds 3 functions to the GLFW API: glfwCreateCursor,
glfwDestroyCursor and glfwSetCursor.
ago%!(EXTRA string=11 years)
Camilla Berglund
1ccc23268c
Added glfwPostEmptyEvent.
ago%!(EXTRA string=11 years)
Camilla Berglund
6d8e78cc95
Further separation of window and context.
...
The context related parts of _GLFWwndconfig have been moved to
_GLFWctxconfig and given better names. Window hint and attribute
members have been renamed to match.
ago%!(EXTRA string=11 years)
Camilla Berglund
ae8393c06e
Fixed refresh of debug context attribute.
ago%!(EXTRA string=11 years)
Camilla Berglund
e2d6f2761c
Fixed constness of function parameters.
ago%!(EXTRA string=11 years)
Camilla Berglund
611006af18
Updated API version in comment headers.
ago%!(EXTRA string=12 years)
Camilla Berglund
8f349e84ae
Cleaned up drop callback design.
ago%!(EXTRA string=12 years)
arturo
89d0723ba3
Initial drag and drop support.
ago%!(EXTRA string=12 years)
Camilla Berglund
0548c713e8
Renamed monitor helper functions for clarity.
ago%!(EXTRA string=12 years)
Camilla Berglund
e0a26aa62f
Cursor mode cleanup.
ago%!(EXTRA string=12 years)
Camilla Berglund
7e806a8567
Started 3.1.
ago%!(EXTRA string=12 years)
Camilla Berglund
06289110e7
Documented utility functions.
ago%!(EXTRA string=12 years)
Camilla Berglund
0ccbddf767
Moved version number macro to internal.h.
...
This lets alternative build environments avoid having to manually keep
track of which version of GLFW is being built.
ago%!(EXTRA string=12 years)
Camilla Berglund
23021422f3
Added explicit configuration header macro.
ago%!(EXTRA string=12 years)
Camilla Berglund
2c920fbb8b
Clarified character callback parameter.
ago%!(EXTRA string=12 years)
Andrew Corrigan
34f1c298b6
config.h.in --> glfw_config.h.in
ago%!(EXTRA string=12 years)
Camilla Berglund
63a191eb8d
Added clearing of callbacks on terminate.
ago%!(EXTRA string=12 years)
Camilla Berglund
3cfc400cf9
Simplified source file comment headers.
ago%!(EXTRA string=12 years)
Camilla Berglund
f7282e86c0
Added pointer swap macro for callback setters.
ago%!(EXTRA string=12 years)
Camilla Berglund
d7512f529c
Clarified names of gamma array helper functions.
ago%!(EXTRA string=12 years)
Camilla Berglund
11615fcaf2
Added scancode to key callback.
ago%!(EXTRA string=12 years)
Camilla Berglund
180a4ee640
Fixed constness of joystick data.
ago%!(EXTRA string=12 years)
Camilla Berglund
3498163da1
Separated window and framebuffer sizes.
ago%!(EXTRA string=12 years)
Camilla Berglund
2cd34386bc
Added back refresh rate window hint.
ago%!(EXTRA string=12 years)
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.
ago%!(EXTRA string=12 years)
Camilla Berglund
15ed715f4e
Moved public headers to the GLFW directory.
ago%!(EXTRA string=12 years)
Camilla Berglund
ce1e84def6
Made glfwGetVideoMode consistent with getters.
ago%!(EXTRA string=12 years)
Camilla Berglund
5d308db654
New gamma ramp API.
ago%!(EXTRA string=12 years)
Camilla Berglund
2d1b835711
Added a conservative set of key modifiers.
ago%!(EXTRA string=12 years)
Camilla Berglund
7f2eb7b15b
New joystick API.
ago%!(EXTRA string=12 years)
Camilla Berglund
d82f068f7e
Reintroduced manual framebuffer config selection.
...
The default behavior of WGL, EGL and GLX is to choose a config that has
/at least/ the specified number of bits, whereas the GLFW 2 behavior was
to choose the closest match with very few hard constraints. Moving the
responsibility of finding the supported minimum values to the client was
problematic, as there's no way to enumerate supported configurations,
forcing the client to perform multiple (and slow) window/context
creation attempts. Not even the currently set defaults (24-bit color
and depth, 8-bit stencil) is universally supported, as bug reports show.
ago%!(EXTRA string=12 years)
Camilla Berglund
0046b210e2
Merged hints into library struct.
ago%!(EXTRA string=12 years)
Camilla Berglund
7405bc48cd
Added proper monitor comparison.
ago%!(EXTRA string=12 years)
Camilla Berglund
57751a5494
Added initial NSScreen integration.
...
This (tentatively) fixes the bug of full screen windows on OS X always
opening on the primary monitor.
ago%!(EXTRA string=12 years)
Camilla Berglund
f06a700307
Renamed support directory to deps.
ago%!(EXTRA string=12 years)
Camilla Berglund
008376d450
Restore cursor position on capture mode exit.
ago%!(EXTRA string=12 years)
Camilla Berglund
49db3b2a9e
Formatting.
ago%!(EXTRA string=12 years)