4 ms·
Gnome does exactly that. While Android, Windows, Qt/KDE and the web went with real fractional scaling, GTK/Gnome, macOS and iOS went with just increasing the
by kuschku 8y ago
Gnome does exactly that.
While Android, Windows, Qt/KDE and the web went with real fractional scaling,
GTK/Gnome, macOS and iOS went with just increasing the framebuffer size and scaling it down.
As result, when rendering a GTK app (be it a video player or a game like Minecraft) on a 4K screen at 1.5x scale, you're actually rendering it at 6K resolution, which utterly destroys performance.
- vetinari 8y agoGnome seems to do that per window, not per framebuffer like macOS does. The framebuffer size seems to be exactly the display resolution, plus you need GPU to do window scaling, you cannot let the output encoder to do the job. The Windows and Qt approach has it's own issues with fractional pixel positions, and the resulting problem with mapping integer input coordinates to these. And of course, it doesn't work nice with legacy apps (Gnome has to handle X11 apps, that won't tell anything about the scale they work with. See also: Gimp).