skia2/gn/flutter_defines.gni
Julia Lavrova db10b0e802 Float error and positioning
(Hiding the fix from Flutter for now because we need to test it in
Google3 first)

Bug: skia:11100
Change-Id: I51fa37ee16a48de6a636dc857d5ae8650327922f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/391197
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Julia Lavrova <jlavrova@google.com>
2021-04-05 19:00:46 +00:00

34 lines
877 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 = [
"SK_DISABLE_REDUCE_OPLIST_SPLITTING",
# 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 changes for Google3 (want to test it first)
"SK_PARAGRAPH_ROUND_POSITION",
# Staging
# 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",
]
if (!is_fuchsia) {
flutter_defines += [
"SK_GL",
"SK_DISABLE_EFFECT_DESERIALIZATION",
]
}