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)
Camilla Berglund
648655aa5b
Fixed RandR primary monitor detection.
ago%!(EXTRA string=13 years)
Camilla Berglund
422618d67f
Added missing X extension test.
ago%!(EXTRA string=13 years)
Camilla Berglund
9f26500f32
Removed VidMode mode setting code path.
ago%!(EXTRA string=13 years)
Camilla Berglund
7e225281af
Fixed RandR per-monitor resolution enumeration.
ago%!(EXTRA string=13 years)
Camilla Berglund
6fc6c93223
Implemented RandR monitor mode retrieval.
ago%!(EXTRA string=13 years)
Camilla Berglund
d75c06a994
Added missing screen resource cleanup.
ago%!(EXTRA string=13 years)
Camilla Berglund
a2dab25b06
Added fallback for X11 monitor size.
ago%!(EXTRA string=13 years)
Camilla Berglund
20a49a7eee
Improved handling of primary monitor.
ago%!(EXTRA string=13 years)
Camilla Berglund
55419bda67
Merged fullscreen and monitor modules.
ago%!(EXTRA string=13 years)
Camilla Berglund
c83b336a4c
Formatting.
ago%!(EXTRA string=13 years)
Camilla Berglund
830f2b439c
Cleanup.
ago%!(EXTRA string=13 years)