Home | History | Annotate | Download | only in gn
      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.
      5 flutter_defines = [
      6   "SK_DISABLE_EXPLICIT_GPU_RESOURCE_ALLOCATION",
      7   "SK_LEGACY_SKCODEC_NONE_ENUM",
      8 
      9   # Flutter always wants this https://github.com/flutter/flutter/issues/11402
     10   "SK_ENABLE_DUMP_GPU",
     11 
     12   # Remove software rasterizers to save some code size.
     13   "SK_DISABLE_AAA",
     14   "SK_DISABLE_DAA",
     15 
     16   # API staging
     17 
     18   # Flutter doesn't deserialize anything.
     19   "SK_DISABLE_READBUFFER",
     20   "SK_DISABLE_EFFECT_DESERIALIZATION",
     21 
     22   # Fast low-precision software rendering isn't a priority for Flutter.
     23   "SK_DISABLE_LEGACY_SHADERCONTEXT",
     24   "SK_DISABLE_LOWP_RASTER_PIPELINE",
     25   "SK_FORCE_RASTER_PIPELINE_BLITTER",
     26 ]
     27