Apply the same heuristics as the DRM code, and set a device scale on the pixel buffer. An environment variable is introduced to force a scale different than the native one.
https://bugs.freedesktop.org/show_bug.cgi?id=84482
dd005c3 x11: allow testing the hidpi support code
src/plugins/renderers/x11/plugin.c | 69 +++++++++++++++++++++++++++++++++++-
1 file changed, 68 insertions(+), 1 deletion(-)
Upstream: cgit.freedesktop.org