enable SUPPORT_FRACTIONAL_TRANSLATION everywhere (flutter/engine#34141)

This commit is contained in:
Jonah Williams
2022-06-21 10:16:02 -07:00
committed by GitHub
parent 903b84e145
commit ffd7eadb73

View File

@@ -23,8 +23,8 @@ declare_args() {
# Whether to use a prebuilt Dart SDK instead of building one.
flutter_prebuilt_dart_sdk = false
# Whether layers can be drawn at half pixel boundaries.
support_fractional_translation = false
# Whether layers can be drawn at fractional pixel boundaries.
support_fractional_translation = true
}
# feature_defines_list ---------------------------------------------------------
@@ -59,10 +59,6 @@ if (flutter_runtime_mode == "debug") {
feature_defines_list += [ "FLUTTER_RUNTIME_MODE=0" ]
}
if (is_linux || is_mac || is_win) {
support_fractional_translation = true
}
if (support_fractional_translation) {
feature_defines_list += [ "SUPPORT_FRACTIONAL_TRANSLATION=1" ]
}