UTM icon indicating copy to clipboard operation
UTM copied to clipboard

[Feature Request] Integer scale

Open flanter21 opened this issue 1 year ago • 2 comments

Currently utm provides two scaling modes: linear and nearest neighbour

Although these work well enough (especially nearest neighbour), it's still very possible to see scaling artefacts. For this reason, I would really like an option to have an integer scale, so that when working with oses that do not support hidpi, you can still see well without any artefacts.

flanter21 avatar Mar 21 '24 02:03 flanter21

We currently used a fixed functionality in the Metal pipeline to do scaling: https://developer.apple.com/documentation/metal/mtlsamplerminmagfilter?language=objc

This would require a shader which would take some work to implement.

osy avatar Mar 28 '24 21:03 osy

We currently used a fixed functionality in the Metal pipeline to do scaling: https://developer.apple.com/documentation/metal/mtlsamplerminmagfilter?language=objc

This would require a shader which would take some work to implement.

Ah well, could I suggest that alternatively a menu is added to resize the window/display to an integer scale even if it the scaling isn't a true pixel doubling.

flanter21 avatar Mar 29 '24 14:03 flanter21