Eric Larson
ad1739c63f
Fixed invalid pointer when Xrandr is unavailable.
...
Fixes #497 .
Closes #498 .
ago%!(EXTRA string=10 years)
Camilla Berglund
b415b9aacf
Fixed harmless argument reversal.
ago%!(EXTRA string=10 years)
Camilla Berglund
49cf82a0ac
Cleaned up monitor and video mode enumeration.
ago%!(EXTRA string=10 years)
Camilla Berglund
5f21e213df
Made Xxf86vm optional at compile-time.
ago%!(EXTRA string=10 years)
Camilla Berglund
bb338a2b9c
Fixed monitor size not corrected for rotation.
...
Fixes #413 .
ago%!(EXTRA string=11 years)
Camilla Berglund
49ec306a0a
Added glfwGet*Adapter to native API.
ago%!(EXTRA string=11 years)
Camilla Berglund
468714cab9
Unified video mode enumeration.
ago%!(EXTRA string=11 years)
Camilla Berglund
4918514eaf
Added support for _NET_WM_FULLSCREEN_MONITORS.
...
This allows EWMH full screen windows to correctly cover monitors that
overlap other monitors, such as an Oculus Rift mapped onto a section of
a larger monitor.
Fixes #175 .
ago%!(EXTRA string=11 years)
Camilla Berglund
58c390991c
Made glfwGetX11Monitor return output, not CRTC.
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
4ae6eae58d
Made queries use XRRGetScreenResourcesCurrent.
...
Fixes #347 .
Closes #351 .
ago%!(EXTRA string=11 years)
Camilla Berglund
a5281df501
Moved RandR gamma probe to init.
ago%!(EXTRA string=11 years)
Camilla Berglund
59d1aa52f2
Merged gamma files into monitor files.
ago%!(EXTRA string=11 years)
Camilla Berglund
87490316c8
Fixed video modes not being rotated to match CRTC.
...
Fixes #284 .
ago%!(EXTRA string=11 years)
Camilla Berglund
c1ed0b2d5b
Removed duplicate fallback.
ago%!(EXTRA string=11 years)
Camilla Berglund
87dd7b89f5
Video mode detection cleanup.
ago%!(EXTRA string=11 years)
Camilla Berglund
bf389f7183
Cleaned up RandR video mode handling.
ago%!(EXTRA string=11 years)
Camilla Berglund
dd02b96c94
Added flag for non-functional RandR monitor path.
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
16eb97dbc3
Added native monitor handle access to native API.
ago%!(EXTRA string=12 years)
Camilla Berglund
a79b93f5bc
Avoid X11 video mode setting if modes match.
...
This matches the behavior of the Windows port.
ago%!(EXTRA string=12 years)
Camilla Berglund
261f290abf
Fixed original video mode being overwritten.
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
35c386b7bb
Ignore CRTCs with no outputs.
ago%!(EXTRA string=12 years)
Camilla Berglund
68b7ea86d2
Monitor enumeration fixes.
ago%!(EXTRA string=12 years)
Camilla Berglund
8c069f3753
Fixed use of wrong variable.
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
1fe21b22a3
Assume that malloc works.
ago%!(EXTRA string=12 years)
Camilla Berglund
26e8fde8fb
Assume malloc works.
ago%!(EXTRA string=12 years)
Camilla Berglund
7b3783abe2
Made glfwGetMonitorPos immediate.
ago%!(EXTRA string=12 years)
Camilla Berglund
a591cdeba6
Removed platform-specific resources from monitor.
ago%!(EXTRA string=12 years)
Camilla Berglund
1961cecb7c
Made glfwGetPrimaryMonitor always return a handle.
...
Replaced the primary flag with the convention of putting the primary
monitor first in the returned array.
ago%!(EXTRA string=12 years)
Camilla Berglund
1130f1af3f
Fixed uses of wrong loop variable.
ago%!(EXTRA string=12 years)
Camilla Berglund
d97dddc8c4
Simplified function comment headers.
ago%!(EXTRA string=12 years)
Camilla Berglund
954d6383ee
RandR monitor work.
...
Moved to CRTC plus usable output for native representation of monitors.
Moved to CRTCs for mode setting and simplified mode setting interface.
ago%!(EXTRA string=13 years)
Camilla Berglund
3e78570a31
Removed duplicate documentation.
...
The public, platform, native, event and utility functions are already
documented in-source. Having duplicate documentation inevitably means
having them contradict one another. Furthermore, most of the function
descriptions simply repeated the name of the function.
ago%!(EXTRA string=13 years)
Camilla Berglund
6a4c175816
Made client-side RandR and Xf86VidMode required.
ago%!(EXTRA string=13 years)
Camilla Berglund
747b6d8805
RandR and fallback path fixes.
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
20af66f271
Added OOM error reporting to X11 mode enumeration.
ago%!(EXTRA string=13 years)
Camilla Berglund
18854d16db
Removed legacy video mode generation.
ago%!(EXTRA string=13 years)