Camilla Berglund
e77a76a284
Cleanup
ago%!(EXTRA string=9 years)
Camilla Berglund
757eea2779
Update email address
ago%!(EXTRA string=9 years)
Camilla Berglund
6a8e169001
Update copyright notice year
ago%!(EXTRA string=9 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
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
f6f0771770
Replace NSScreen with platform functions
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
49cf82a0ac
Cleaned up monitor and video mode enumeration.
ago%!(EXTRA string=10 years)
Camilla Berglund
29b40112c2
Fixed sleeping monitors being excluded from list.
...
Closes #430 .
ago%!(EXTRA string=10 years)
Camilla Berglund
d493a82f9e
Various error fixes.
...
Fixed incorrect error types. Added missing error string prefixes.
Removed some invalid or superfluous error emissions. Clarified some
error strings. Joined error string lines to aid grep. Replaced some
generic error strings with specific ones. Documentation work.
Fixes #450 .
ago%!(EXTRA string=11 years)
Camilla Berglund
e64699bd54
Updated no-replacement-for-function date.
ago%!(EXTRA string=11 years)
Camilla Berglund
e1ae9af5a0
Removed OS X display capturing (for now).
...
Fixes #378 (poorly).
ago%!(EXTRA string=11 years)
Camilla Berglund
468714cab9
Unified video mode enumeration.
ago%!(EXTRA string=11 years)
Camilla Berglund
a0742e99e3
Fixed error return value of glfwGetCocoaMonitor.
ago%!(EXTRA string=11 years)
Camilla Berglund
1b6d8a6ed6
Enabled enumeration of mirroring displays.
...
This exposes all monitors in every mirroring group, which is needed for
robust detection of an Oculus Rift.
ago%!(EXTRA string=11 years)
Camilla Berglund
3fcc2a6cb2
Documented use of deprecated OS X function.
ago%!(EXTRA string=11 years)
Camilla Berglund
59d1aa52f2
Merged gamma files into monitor files.
ago%!(EXTRA string=11 years)
Camilla Berglund
215924f797
Removed harmless CGDisplay to NSScreen error.
...
This used to be a failure state, but has since been fixed.
Closes #221 .
ago%!(EXTRA string=11 years)
Camilla Berglund
bf0adc2c70
Fixed crash on monitor disconnection.
ago%!(EXTRA string=11 years)
Camilla Berglund
aaac715060
Reverted 43095307da
.
...
The proposed fix broke for multiple displays of the same model.
ago%!(EXTRA string=12 years)
Camilla Berglund
5c23071a81
Fixed leak of display name.
ago%!(EXTRA string=12 years)
Camilla Berglund
43095307da
Cleanup of CGDisplayIOServicePort replacement.
ago%!(EXTRA string=12 years)
Matthew Henry
bebae14223
Replace CGDisplayIOServicePort with a workaround
...
This could be cleaned up and refined a bit by comparing more display
attributes when available, but it gets the job done.
Closes #192 .
ago%!(EXTRA string=12 years)
Camilla Berglund
78f1b8bd15
Fixed invalid video mode being restored.
ago%!(EXTRA string=12 years)
Camilla Berglund
87dd7b89f5
Video mode detection cleanup.
ago%!(EXTRA string=12 years)
Camilla Berglund
611006af18
Updated API version in comment headers.
ago%!(EXTRA string=12 years)
Camilla Berglund
0548c713e8
Renamed monitor helper functions for clarity.
ago%!(EXTRA string=12 years)
Camilla Berglund
beb7e5909f
Added comment on headless Macs.
ago%!(EXTRA string=12 years)
Camilla Berglund
6eec7970c1
Made NSScreen to CGDisplay matching fail softly.
ago%!(EXTRA string=12 years)
Camilla Berglund
7bbd3943c9
Removed superfluous display sorting.
ago%!(EXTRA string=12 years)
Camilla Berglund
16eb97dbc3
Added native monitor handle access to native API.
ago%!(EXTRA string=12 years)
Camilla Berglund
cc7f0bd532
Fixed crash retrieving the name of some displays.
ago%!(EXTRA string=12 years)
Jack Moffitt
5be45d214b
Fix build on Mac OS X 10.7 Lion.
...
`CVDisplayLinkRef` needs an extra header file, and `NSAppKitVersionNumber10_7`
wasn't added until 10.8so use `> NSAppKitVersionNumber10_6` instead.
ago%!(EXTRA string=12 years)
Camilla Berglund
bc8ff545ca
Fixed mode enumeration for Thunderbolt monitors.
ago%!(EXTRA string=12 years)
Camilla Berglund
aab08712dd
Fixed zero refresh rate on some monitors.
ago%!(EXTRA string=12 years)
Shane Liesegang
209de7b56d
Removing warnings when building Cocoa in 64-bit
...
NSInteger is defined as the native integer width, so these changes
remove implicit conversions that were causing precision warnings.
ago%!(EXTRA string=12 years)
Camilla Berglund
3cfc400cf9
Simplified source file comment headers.
ago%!(EXTRA string=12 years)
Camilla Berglund
7a03ca8dbc
Removed superflous casts of allocated memory.
ago%!(EXTRA string=12 years)
Camilla Berglund
209a470a5f
Replaced all uses of malloc with calloc.
ago%!(EXTRA string=12 years)
Camilla Berglund
68b7ea86d2
Monitor enumeration fixes.
ago%!(EXTRA string=12 years)
Camilla Berglund
80076e7b67
Fixed function visibility.
ago%!(EXTRA string=12 years)
Camilla Berglund
2cd34386bc
Added back refresh rate window hint.
ago%!(EXTRA string=12 years)
Camilla Berglund
731812cfc1
Added refresh rate to GLFWvidmode.
ago%!(EXTRA string=12 years)
Camilla Berglund
7405bc48cd
Added proper monitor comparison.
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
1fe21b22a3
Assume that malloc works.
ago%!(EXTRA string=12 years)
Camilla Berglund
8dde39b3e0
Formatting.
ago%!(EXTRA string=13 years)