270f7e22c5
This reverts commitfdf7e08210
. Reason for revert: briano fixed flutter call-site Original change's description: > Revert "remove legacy SkPath enum guards" > > This reverts commit7fdceb9216
. > > Reason for revert: need more fixes in flutter (getFillType) > > Original change's description: > > remove legacy SkPath enum guards > > > > Change-Id: I5874ac89b6dec5c050bc02df9df6849d2131df76 > > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257690 > > Reviewed-by: Mike Reed <reed@google.com> > > Commit-Queue: Mike Reed <reed@google.com> > > TBR=reed@google.com > > Change-Id: I7b65e51b53dc15739ddeb76d9b5fd18d956f4cfd > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257879 > Reviewed-by: Mike Reed <reed@google.com> > Commit-Queue: Mike Reed <reed@google.com> TBR=reed@google.com Change-Id: I0ff366d1e98cd9d581e0bf1041d1c859a88ffef6 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257887 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
30 lines
774 B
Plaintext
30 lines
774 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",
|
|
"SK_LEGACY_SKCODEC_NONE_ENUM",
|
|
|
|
# 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",
|
|
|
|
# API staging
|
|
|
|
# Flutter doesn't deserialize anything.
|
|
"SK_DISABLE_READBUFFER",
|
|
"SK_DISABLE_EFFECT_DESERIALIZATION",
|
|
|
|
# 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" ]
|
|
}
|