blob: bd0b95d416c10fd09d4e33cc998ce8615d7ef001 [file] [log] [blame]
Brian Osmanf2c90142017-07-13 15:50:03 -04001# 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.
Robert Phillips193de5d2017-11-10 08:22:28 -05005flutter_defines = [
Robert Phillipsa3f70262018-02-08 10:59:38 -05006 "SK_DISABLE_EXPLICIT_GPU_RESOURCE_ALLOCATION",
Mike Kleineb4d6412018-11-12 16:08:30 +00007 "SK_LEGACY_SKCODEC_NONE_ENUM",
Mike Klein05caa692018-10-04 15:28:07 -04008
Mike Klein62cc5f52018-11-07 09:38:55 -05009 # Flutter always wants this https://github.com/flutter/flutter/issues/11402
10 "SK_ENABLE_DUMP_GPU",
11
Mike Klein05caa692018-10-04 15:28:07 -040012 # Remove software rasterizers to save some code size.
13 "SK_DISABLE_AAA",
14 "SK_DISABLE_DAA",
Mike Klein419709d2018-10-11 22:05:14 -040015
Mike Reed9edbf422018-11-07 19:54:33 -050016 # API staging
Mike Reed9edbf422018-11-07 19:54:33 -050017
Mike Kleina6c35172018-10-25 11:35:56 -040018 # Flutter doesn't deserialize anything.
19 "SK_DISABLE_READBUFFER",
Mike Klein54378232018-11-08 12:08:05 +000020 "SK_DISABLE_EFFECT_DESERIALIZATION",
Mike Kleina6c35172018-10-25 11:35:56 -040021
Mike Klein419709d2018-10-11 22:05:14 -040022 # Fast low-precision software rendering isn't a priority for Flutter.
Mike Klein89e2f3c2018-10-17 13:51:30 -040023 "SK_DISABLE_LEGACY_SHADERCONTEXT",
Mike Klein419709d2018-10-11 22:05:14 -040024 "SK_DISABLE_LOWP_RASTER_PIPELINE",
Mike Klein3c9fbae2018-10-22 09:48:01 -040025 "SK_FORCE_RASTER_PIPELINE_BLITTER",
Robert Phillips193de5d2017-11-10 08:22:28 -050026]