blob: e400fc3d2dcbe2625da3195570b24e911562be12 [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 Phillips6db27c22019-05-01 10:43:56 -04006 "SK_DISABLE_REDUCE_OPLIST_SPLITTING",
Mike Klein05caa692018-10-04 15:28:07 -04007
Mike Klein62cc5f52018-11-07 09:38:55 -05008 # Flutter always wants this https://github.com/flutter/flutter/issues/11402
9 "SK_ENABLE_DUMP_GPU",
10
Mike Klein05caa692018-10-04 15:28:07 -040011 # Remove software rasterizers to save some code size.
12 "SK_DISABLE_AAA",
Mike Klein419709d2018-10-11 22:05:14 -040013
Mike Kleina6c35172018-10-25 11:35:56 -040014 # Flutter doesn't deserialize anything.
15 "SK_DISABLE_READBUFFER",
Mike Klein54378232018-11-08 12:08:05 +000016 "SK_DISABLE_EFFECT_DESERIALIZATION",
Mike Kleina6c35172018-10-25 11:35:56 -040017
Mike Reeda735ad92020-04-06 21:32:43 -040018 # Staging
Mike Reeda735ad92020-04-06 21:32:43 -040019
Mike Klein419709d2018-10-11 22:05:14 -040020 # Fast low-precision software rendering isn't a priority for Flutter.
Mike Klein89e2f3c2018-10-17 13:51:30 -040021 "SK_DISABLE_LEGACY_SHADERCONTEXT",
Mike Klein419709d2018-10-11 22:05:14 -040022 "SK_DISABLE_LOWP_RASTER_PIPELINE",
Mike Klein3c9fbae2018-10-22 09:48:01 -040023 "SK_FORCE_RASTER_PIPELINE_BLITTER",
Robert Phillips193de5d2017-11-10 08:22:28 -050024]
flara8e985e2019-11-13 15:12:07 -080025
26if (!is_fuchsia) {
27 flutter_defines += [ "SK_GL" ]
28}