skia2/gn/flutter_defines.gni
Forrest Reiling 51e4024bac [flutter][fuchsia] Enable Effect Deserialization in Flutter on Fuchsia
Change-Id: I736a026af7a58461f806f1ea6504f317cdc9e74d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/317016
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Forrest Reiling <freiling@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2020-10-29 20:18:06 +00:00

29 lines
716 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",
# Staging
"SK_SUPPORT_LEGACY_MATRIX_FACTORIES",
# 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",
]
}