9403c3897f
This reverts commitf66bba6018
. Reason for revert: sheriff thinks it may be the bot, so landing Original change's description: > Reland "Revert "allow clients to opt into new didTranslate/didScale"" > > This reverts commitd7ce7ac8d1
. > > Reason for revert: breaks Test-Debian10-GCC-GCE-CPU-AVX2-x86-Debug-All-Docker > > Original change's description: > > Revert "Revert "allow clients to opt into new didTranslate/didScale"" > > > > This reverts commit4a46758db8
. > > > > Add guard to Flutter > > > > Change-Id: Ief0e5cb36af13c8f00a36a617d0384622012d644 > > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/263937 > > Reviewed-by: Mike Reed <reed@google.com> > > Commit-Queue: Mike Reed <reed@google.com> > > TBR=reed@google.com > > Change-Id: I3291c4dfe18d6e751e61f55ed9b22a01f0c8ad72 > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/263860 > Reviewed-by: Mike Reed <reed@google.com> > Commit-Queue: Mike Reed <reed@google.com> TBR=reed@google.com Change-Id: I3111a034291c2320e5ff33f8c2072354f836440f No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://skia-review.googlesource.com/c/skia/+/263939 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
31 lines
820 B
Plaintext
31 lines
820 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
|
|
"SK_SUPPORT_LEGACY_CANVAS_MATRIX_VIRTUALS",
|
|
|
|
# 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" ]
|
|
}
|