Skip to content

[Impeller] wide gamut devices are reporting they don't have support for wide gamut #135033

@gaaclarke

Description

@gaaclarke

In FlutterView.mm we check to see what the gamut is for the screen that has the flutter view. At some point the setup for the FlutterView has changed such that it's window (and by extension its screen) is nil which leads the gamut to be interpreted as zero, which is srgb.

error log

[VERBOSE-1:FlutterView.mm(72)] Rendering wide gamut colors is turned on but isn't supported, downgrading the color gamut to sRGB.

doctor

[!] Flutter (Channel [user-branch], 3.14.0-14.0.pre.345, on macOS 13.5.2 22G91 darwin-arm64, locale en)
    ! Flutter version 3.14.0-14.0.pre.345 on channel [user-branch] at /Users/aaclarke/dev/flutter
      Currently on an unknown channel. Run `flutter channel` to switch to an official channel.
      If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install.
    ! Upstream repository unknown source is not a standard remote.
      Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss this error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    e: impellerImpeller rendering backend issues and features requestsengineflutter/engine related. See also e: labels.

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions