Add flag for filterquality in flutter

Change-Id: I8612d58efcfac82b7924c680fd8fa91b6d48614f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/426956
Commit-Queue: Mike Reed <reed@google.com>
Reviewed-by: Florin Malita <fmalita@chromium.org>
This commit is contained in:
Mike Reed 2021-07-12 14:53:57 -04:00 committed by Skia Commit-Bot
parent bccbec3147
commit 5643e55f09
2 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,7 @@ flutter_defines = [
"SK_DISABLE_LOWP_RASTER_PIPELINE",
"SK_FORCE_RASTER_PIPELINE_BLITTER",
"SK_SUPPORT_LEGACY_GETBLENDMODE",
"SK_SUPPORT_LEGACY_SETFILTERQUALITY",
]
if (!is_fuchsia) {

View File

@ -26,7 +26,9 @@ class SkPathEffect;
class SkShader;
// Move to clients when they are ready -- aid in deprecating the enum
#ifndef SK_SUPPORT_LEGACY_SETFILTERQUALITY
#define SK_SUPPORT_LEGACY_SETFILTERQUALITY
#endif
/** \class SkPaint
SkPaint controls options applied when drawing. SkPaint collects all