Emmanuel Gil Peyrot
8d98a6e37d
Add a FreeMonitor platform API
...
This fixes the leak of a wl_output object everytime a monitor is freed.
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)
Brandon Schaefer
c9003b5547
Mir: Get ready for Mir 1.0
...
Clean up CMake finding and check version. Change last remaining
deprecations.
Closes #979 .
ago%!(EXTRA string=8 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)
Brandon Schaefer
acce7ec9cf
Mir: Add cursor mode support
...
Implements a few other missing functions. Cleaning up naming convention
as well.
Fix FindMir.cmake was not finding the correct mirclient.so when
you wanted something other then the system library.
Closes #839 .
ago%!(EXTRA string=9 years)
Camilla Berglund
53fafad915
Start 3.3
ago%!(EXTRA string=9 years)
Camilla Berglund
a407a673dd
Add native Wayland and Mir functions
...
Fixes #419 .
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
f6defeff5d
Remove C++-isms in Mir port
...
Related to #568 .
ago%!(EXTRA string=10 years)
Camilla Berglund
f8395886d3
Formatting
ago%!(EXTRA string=10 years)
Brandon Schaefer
9527c93a1c
Move to the new MirEvent 2.0 + 0.14/0.15 changes
...
Closes #568 .
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
ead3937394
Mir string fixes.
ago%!(EXTRA string=11 years)
BrandonSchaefer
d300aa3255
Fix the found issue. Found needs to be 1.
...
This is needed for realloc, while index should be 0. So using i for the
index, and found for the count.
ago%!(EXTRA string=11 years)
BrandonSchaefer
0a5d57eade
Fixed realloc, should be monitors.
...
Moved found to the end of the loop, otherwise found = 1 causing index 0 to
crash.
HACK: Retrieve video modes from platform-specific code.
ago%!(EXTRA string=11 years)
Camilla Berglund
916371e04c
Formatting.
ago%!(EXTRA string=11 years)
Camilla Berglund
13ac6e9a82
Fixed platform code writing to shared members.
ago%!(EXTRA string=11 years)
Camilla Berglund
10a74924e3
Removed function duplicating _glfwAllocMonitor.
ago%!(EXTRA string=11 years)
BrandonSchaefer
4674ed367d
Fix some memory leaks.
...
One in wl_init.c, need to clean up Joysticks.
Finish getting the monitor modes set up.
Finish adding Unsupported error messages.
ago%!(EXTRA string=11 years)
BrandonSchaefer
f4f525549c
Finish up the monitor work.
ago%!(EXTRA string=11 years)
BrandonSchaefer
cb4ccc59c2
Realloc the monitor size for each IN USE monitor.
ago%!(EXTRA string=11 years)
BrandonSchaefer
d76d56ce74
Add the start of size of each monitor and modes.
ago%!(EXTRA string=11 years)
BrandonSchaefer
50cf4cfda3
Add Mir file licenses.
ago%!(EXTRA string=11 years)
BrandonSchaefer
4295b77582
Set up the Mir connection.
...
Set up the first of the Mir surface.
ago%!(EXTRA string=11 years)
BrandonSchaefer
46c9663ed7
I should add the actual mir_* source files :).
ago%!(EXTRA string=11 years)