Camilla Löwy
1d75b205cb
Cleanup
...
Allow window creation despite video mode setting failure.
Video mode setting failure is ignored the rest of the time and the
desired video mode has never been a hard constraint anyway.
ago%!(EXTRA string=7 years)
Camilla Löwy
973bf29622
Remove use of non-standard function strdup
...
Related to #873 .
ago%!(EXTRA string=7 years)
Camilla Löwy
16bf872117
Add content scale queries
...
This adds glfwGetWindowContentScale and glfwGetMonitorContentScale for
querying the recommended drawing scale factor for DPI-aware rendering.
Parts of this patch are based on code by @ferreiradaselva .
Fixes #235 .
Fixes #439 .
Fixes #677 .
Fixes #845 .
Fixes #898 .
ago%!(EXTRA string=8 years)
Camilla Löwy
e3be6b8ae0
Cleanup
...
Break up some overly long lines.
ago%!(EXTRA string=8 years)
Camilla Löwy
6a8ade99c7
Cocoa: Remove errors emitted on headless systems
...
Related to #958 .
ago%!(EXTRA string=8 years)
Camilla Löwy
980f955f6c
Fix undefined behavior
...
Fixes #950 .
ago%!(EXTRA string=8 years)
Camilla Löwy
51e415a026
Cocoa: Fix CGDisplayModeCopyPixelEncoding cutoff
ago%!(EXTRA string=9 years)
Camilla Löwy
04f559e28d
Restructure monitor enumeration
...
This way is both kinder on event-based enumeration and less work to
unwind allocations for when properly implementing GLFW_OUT_OF_MEMORY.
ago%!(EXTRA string=9 years)
Camilla Löwy
f4d0c83181
Paperwork done
ago%!(EXTRA string=9 years)
Camilla Berglund
9190cf8796
Cocoa: Disable deprecated function on macOS 10.12+
...
CGDisplayModeCopyPixelEncoding is deprecated starting with macOS 10.12.
ago%!(EXTRA string=9 years)
Camilla Berglund
d19a21bd01
Cocoa: Monitor name cleanup
...
Only retrieve the display info dictionary once. Remove non-standard
function name.
ago%!(EXTRA string=9 years)
Matthew Henry
94b8486d4b
Cocoa: Replace deprecated CGDisplayIOServicePort
...
This replaces CGDisplayIOServicePort with manually finding a service
port with matching vendor and product IDs. This may technically not be
the one corresponding to the display ID, but it is only used to retrieve
the human-readable make/model string.
This could be cleaned up and refined a bit by comparing more display
attributes when available, but it gets the job done.
Fixes #165 .
Closes #192 .
Closes #508 .
Closes #511 .
ago%!(EXTRA string=9 years)
Camilla Berglund
8d6f265441
Update default name from OS X to macOS
...
Note that earlier releases are still referred to by their proper names;
OS X <version> or Mac OS X <version>.
ago%!(EXTRA string=9 years)
Camilla Berglund
f0a55df963
Cleanup
ago%!(EXTRA string=9 years)
Camilla Berglund
53fafad915
Start 3.3
ago%!(EXTRA string=9 years)
Camilla Berglund
c18d3aecbc
Cocoa: Remove duplicate includes
...
Fixes #838 .
ago%!(EXTRA string=9 years)
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=10 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=11 years)
Camilla Berglund
5c23071a81
Fixed leak of display name.
ago%!(EXTRA string=11 years)
Camilla Berglund
43095307da
Cleanup of CGDisplayIOServicePort replacement.
ago%!(EXTRA string=11 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=11 years)
Camilla Berglund
78f1b8bd15
Fixed invalid video mode being restored.
ago%!(EXTRA string=11 years)
Camilla Berglund
87dd7b89f5
Video mode detection cleanup.
ago%!(EXTRA string=11 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)