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.
ago%!(EXTRA string=9 years)
Xo Wang
9f5658c8ac
Removed OS X modifier flags cache
...
Related to #566 .
Related to #567 .
ago%!(EXTRA string=9 years)
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.
ago%!(EXTRA string=9 years)
Camilla Berglund
7fec7a0569
Make source file names more consistent
...
Use platform prefix for files specific to that platform AND that have no
credible alternative API on that platform.
The exception is WinMM, which will be replaced before 3.2.
ago%!(EXTRA string=10 years)
Camilla Berglund
12b6c56903
Add suffixes to platform specific helper functions
...
Also merge win32_tls.h into win32_platform.h.
ago%!(EXTRA string=10 years)
Camilla Berglund
9c315412e1
Add glfwGetKeyName
...
Fixes #464 .
ago%!(EXTRA string=10 years)
Camilla Berglund
0eccf75f65
Replace GL booleans with public macros
ago%!(EXTRA string=10 years)
Camilla Berglund
95a07f3340
Start 3.2
ago%!(EXTRA string=10 years)
Camilla Berglund
e0084617d5
Fix monitor disappearing on OS X with AGS
...
When automatic graphics switching is activated, the CGDirectDisplayID
for the display changes, casuing the primary GLFWmonitor to disappear.
ago%!(EXTRA string=10 years)
Camilla Berglund
ff67e06844
Added prefixes to header guard macros.
ago%!(EXTRA string=10 years)
Camilla Berglund
38ae319bea
Header inclusion cleanup.
ago%!(EXTRA string=10 years)
Camilla Berglund
076d9311fa
Removed tab characters.
ago%!(EXTRA string=10 years)
Chi-kwan Chan
4277e9f5d6
Removed NSScreen member of OS X monitor.
...
Apple's documentation of [NSScreen screens] mentions that, "The
(screens) array should not be cached. Screens can be added, removed,
or dynamically reconfigured at any time." Because of this, we simply
obtain the screen from a displayID whenever we need it.
Fixes #492 .
Closes #493 .
ago%!(EXTRA string=10 years)
Camilla Berglund
1634742177
Fixed lifetime management of application delegate.
ago%!(EXTRA string=11 years)
Camilla Berglund
d459145d28
Made glfwGetCursorPos query system directly.
...
Fixes #103 .
Fixes #153 .
Fixes #193 .
Fixes #355 .
Fixes #381 .
ago%!(EXTRA string=11 years)
Camilla Berglund
54a1fad13b
Fixed cursor sometimes not being set.
ago%!(EXTRA string=11 years)
Camilla Berglund
9aa15aa710
Fixed menu bar for non-bundled OS X applications.
...
The menu bar for non-bundled applications did not become visible until
it had lost and regained focus. This is fixed (somehow) by letting the
NSApplication run loop start and stop.
Technique by scoopr.
ago%!(EXTRA string=11 years)
Camilla Berglund
1495134398
Changed all key translation to arrays.
ago%!(EXTRA string=11 years)
Camilla Berglund
f8d80a936f
Internal header cleanup.
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)
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
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
611006af18
Updated API version in comment headers.
ago%!(EXTRA string=12 years)
Camilla Berglund
0163bc05d6
Moved internal context function declarations.
ago%!(EXTRA string=12 years)
Camilla Berglund
d3f3e2d6c5
Removed unused flag.
ago%!(EXTRA string=12 years)
Camilla Berglund
3cfc400cf9
Simplified source file comment headers.
ago%!(EXTRA string=12 years)
Camilla Berglund
7f2eb7b15b
New joystick API.
ago%!(EXTRA string=12 years)
Camilla Berglund
3ec843a1da
Fixed captured cursor mode on OS X.
ago%!(EXTRA string=12 years)
Camilla Berglund
a2745574c8
OS X hidden cursor cleanup.
ago%!(EXTRA string=12 years)
Camilla Berglund
f5ba0d9f22
Video mode setting cleanup.
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
d4a61bbd36
Removed unused type.
ago%!(EXTRA string=12 years)
Camilla Berglund
ec8273f249
Moved Cocoa joystick state to library struct.
ago%!(EXTRA string=12 years)
Camilla Berglund
38947b37af
Renamed context API init/terminate functions.
ago%!(EXTRA string=13 years)
Camilla Berglund
46c1e4028f
Begun integrating mode setting and monitor API.
ago%!(EXTRA string=13 years)
Camilla Berglund
1bc91bfe5b
Formatting.
ago%!(EXTRA string=13 years)
Camilla Berglund
b72a97d531
Renamed global struct and substructs.
...
Renamed _glfwLibrary to _glfw and made all substructs lower-case, making
global variable names easier to read and type. Partially inspired by the
internal naming conventions of glwt.
ago%!(EXTRA string=13 years)
Camilla Berglund
52dac79219
Ripped out horribly broken refresh rate mess.
ago%!(EXTRA string=13 years)
Camilla Berglund
a8403c10d3
Moved NSGL context creation to proper module.
ago%!(EXTRA string=13 years)
Camilla Berglund
5da8ed250a
Cleanup of backend option strings.
ago%!(EXTRA string=13 years)
Camilla Berglund
34d383399c
Finished initial window/context backend split.
ago%!(EXTRA string=13 years)
Camilla Berglund
10cc85343a
Formatting.
ago%!(EXTRA string=13 years)
Camilla Berglund
a0305affeb
Began implementing multi-monitor on Cocoa.
ago%!(EXTRA string=13 years)
Camilla Berglund
fa4f6b43f6
Added monitor stubs for Cocoa.
ago%!(EXTRA string=13 years)
Camilla Berglund
89b42d084d
Replaced glfwGetDesktopMode with glfwGetVideoMode.
ago%!(EXTRA string=13 years)
Camilla Berglund
18a5aba8f1
Implemented TLS for all platforms.
ago%!(EXTRA string=13 years)
Camilla Berglund
b78fd85e11
Moved glext.h inclusion back.
ago%!(EXTRA string=13 years)