e00afb0a1a
Bug: skia:12662 Change-Id: Ic2924257fce3ea9a2df5e49d0ab26ad085693d30 Cq-Include-Trybots: luci.skia.skia.primary:Canary-Flutter Reviewed-on: https://skia-review.googlesource.com/c/skia/+/473676 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Michael Ludwig <michaelludwig@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
31 lines
830 B
Plaintext
31 lines
830 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",
|
|
"SK_LEGACY_IGNORE_DRAW_VERTICES_BLEND_WITH_NO_SHADER",
|
|
|
|
# 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",
|
|
]
|
|
}
|