Re: Thumbnails: add HiDpi folders

Nate Graham <[email protected]>
Newsgroups gmane.linux.xdg.devel
Organization kde.org
Message-ID <[email protected]>

On 6/5/20 11:24 PM, Méven wrote:
>     Date: Mon, 1 Jun 2020 10:23:16 -0600
>     From: Nate Graham <[email protected] <mailto:[email protected]>>
>     To: [email protected] <mailto:[email protected]>
>     Subject: Re: Thumbnails: add HiDpi folders
>     Message-ID: <[email protected]
>     <mailto:[email protected]>>
>     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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/xdg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.