Revert "[Impeller] Turned on wide gamut support by default." (flutter/engine#41382)
Reverts flutter/engine#39801 `customer: chalk` hit some rendering issues that was narrowed down to this: b/278976014
This commit is contained in:
@@ -200,9 +200,10 @@ flutter::Settings FLTDefaultSettingsForBundle(NSBundle* bundle, NSProcessInfo* p
|
||||
settings.may_insecurely_connect_to_all_domains = true;
|
||||
settings.domain_network_policy = "";
|
||||
|
||||
// Whether to enable wide gamut colors.
|
||||
// Whether to enable Impeller.
|
||||
NSNumber* nsEnableWideGamut = [mainBundle objectForInfoDictionaryKey:@"FLTEnableWideGamut"];
|
||||
BOOL enableWideGamut = nsEnableWideGamut ? nsEnableWideGamut.boolValue : YES;
|
||||
// TODO(gaaclarke): Make this value `on` by default (pending memory audit).
|
||||
BOOL enableWideGamut = nsEnableWideGamut ? nsEnableWideGamut.boolValue : NO;
|
||||
settings.enable_wide_gamut = enableWideGamut;
|
||||
|
||||
// TODO(dnfield): We should reverse the order for all these settings so that command line options
|
||||
|
||||
Reference in New Issue
Block a user