Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

[Impeller] Turned on wide gamut support by default. (#39801) #41965

Merged
merged 1 commit into from
May 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,9 @@
settings.may_insecurely_connect_to_all_domains = true;
settings.domain_network_policy = "";

// Whether to enable Impeller.
// Whether to enable wide gamut colors.
NSNumber* nsEnableWideGamut = [mainBundle objectForInfoDictionaryKey:@"FLTEnableWideGamut"];
// TODO(gaaclarke): Make this value `on` by default (pending memory audit).
BOOL enableWideGamut = nsEnableWideGamut ? nsEnableWideGamut.boolValue : NO;
BOOL enableWideGamut = nsEnableWideGamut ? nsEnableWideGamut.boolValue : YES;
settings.enable_wide_gamut = enableWideGamut;

// TODO(dnfield): We should reverse the order for all these settings so that command line options
Expand Down