• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2017 Google Inc.
2#
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5flutter_defines = [
6  # Flutter always wants this https://github.com/flutter/flutter/issues/11402
7  "SK_ENABLE_DUMP_GPU",
8
9  # Remove software rasterizers to save some code size.
10  "SK_DISABLE_AAA",
11
12  # Staging
13  "SK_LEGACY_IGNORE_DRAW_VERTICES_BLEND_WITH_NO_SHADER",
14
15  # Fast low-precision software rendering isn't a priority for Flutter.
16  "SK_DISABLE_LEGACY_SHADERCONTEXT",
17  "SK_DISABLE_LOWP_RASTER_PIPELINE",
18  "SK_FORCE_RASTER_PIPELINE_BLITTER",
19
20  # When running Metal, ensure that command buffers are scheduled before
21  # returning from submit.
22  "SK_METAL_WAIT_UNTIL_SCHEDULED",
23]
24
25if (!is_fuchsia) {
26  flutter_defines += [ "SK_DISABLE_EFFECT_DESERIALIZATION" ]
27}
28