From 5ccf414183e9ebc7f16d2acc5ce7a44bce1aad80 Mon Sep 17 00:00:00 2001 From: David Capello Date: Mon, 21 Feb 2022 15:30:09 -0300 Subject: [PATCH] Add options to change the downsampling algorithm (fix #3183) Also we've restored the default algorithm to bilinear + mipmapping, which was the default on the Aseprite before we switched to Skia m96. This was requested by some users. --- data/pref.xml | 7 +++ laf | 2 +- src/app/script/values.cpp | 3 +- src/app/ui/context_bar.cpp | 89 ++++++++++++++++++++++++++++++++---- src/app/ui/context_bar.h | 6 ++- src/app/ui/editor/editor.cpp | 67 +++++++++++++++++++++++---- src/app/ui/editor/editor.h | 3 ++ src/ui/graphics.cpp | 22 ++++++++- src/ui/graphics.h | 8 +++- 9 files changed, 183 insertions(+), 24 deletions(-) diff --git a/data/pref.xml b/data/pref.xml index 5185574e8..26f4796d6 100644 --- a/data/pref.xml +++ b/data/pref.xml @@ -127,6 +127,12 @@ + + + + + + @@ -176,6 +182,7 @@ some performance issue rendering huge sprites with small zoom levels -->