On 6/5/20 11:24 PM, Méven wrote:
    Date: Mon, 1 Jun 2020 10:23:16 -0600
    From: Nate Graham <n...@kde.org <mailto:n...@kde.org>>
    To: xdg@lists.freedesktop.org <mailto:xdg@lists.freedesktop.org>
    Subject: Re: Thumbnails: add HiDpi folders
    Message-ID: <7a961085-09bc-2079-6918-2acd70e21...@kde.org
    <mailto:7a961085-09bc-2079-6918-2acd70e21...@kde.org>>
    Content-Type: text/plain; charset=utf-8; format=flowed

    I like the idea. How would fractional scaling be handled though? If I'm
    using a 1.25x scale (as I am right now), would it generate an @2x
    thumbnail, store that, and scale it down for display? Or would it
    generate an @1.25x scale thumbnail?


Scale would be rounded up , that means 1.25 => 2, 3.25 => 4.
Under X, the application will have to down scale while painting the thumbnails. Under Wayland, with fractional scaling, application paint at the scale ceil up,(1.25=> 2) and the fact that the scale factor is not an integer is non of their concern, the compositor downscales on the GPU the application then.

Sounds good to me, then! 👍👍👍👍

Nate

_______________________________________________
xdg mailing list
xdg@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/xdg

Reply via email to