skia2/gn/flutter_defines.gni
Mike Reed 5643e55f09 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>
2021-07-12 20:09:30 +00:00

32 lines
849 B
Plaintext

# Copyright 2017 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
flutter_defines = [
# Flutter always wants this https://github.com/flutter/flutter/issues/11402
"SK_ENABLE_DUMP_GPU",
# Remove software rasterizers to save some code size.
"SK_DISABLE_AAA",
# Things we do for Flutter but don't want in general text layout
"SK_PARAGRAPH_LIBTXT_SPACES_RESOLUTION",
# Staging
"SK_LEGACY_INNER_JOINS",
# Fast low-precision software rendering isn't a priority for Flutter.
"SK_DISABLE_LEGACY_SHADERCONTEXT",
"SK_DISABLE_LOWP_RASTER_PIPELINE",
"SK_FORCE_RASTER_PIPELINE_BLITTER",
"SK_SUPPORT_LEGACY_GETBLENDMODE",
"SK_SUPPORT_LEGACY_SETFILTERQUALITY",
]
if (!is_fuchsia) {
flutter_defines += [
"SK_GL",
"SK_DISABLE_EFFECT_DESERIALIZATION",
]
}