Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Impeller] Implement invert colors flag. #39729

Merged
merged 2 commits into from
Feb 20, 2023

Conversation

jonahwilliams
Copy link
Member

Fixes flutter/flutter#109739

Before:

flutter_02

After:

flutter_03

@chinmaygarde
Copy link
Member

Isn't the before/after swapped?

@jonahwilliams
Copy link
Member Author

No, that's the point :)

Smart invert inverts the screen except for images/videos. Except that is implemented in UIKit so it inverts the entire flutter screen. So we detect that smart invert is enable and apply an inversion to our own images, so that they appear normal.

@chinmaygarde
Copy link
Member

🙃

@jonahwilliams jonahwilliams added the autosubmit Merge PR when tree becomes green via auto submit App label Feb 20, 2023
@auto-submit auto-submit bot merged commit 7802791 into flutter:main Feb 20, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 20, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Feb 20, 2023
sourcegraph-bot pushed a commit to sgtest/megarepo that referenced this pull request Feb 20, 2023
…engine#39729) (#121074)

Commit: cc9b198213eba886138b8eada2e2a4a57be50228
@jonahwilliams jonahwilliams deleted the add_invert_colors branch February 20, 2023 07:55
auto-submit bot pushed a commit to flutter/packages that referenced this pull request Feb 20, 2023
* fc8b7c7 4434f3a43 Roll Fuchsia Mac SDK from HtmcMFg6ZlyRkcNsB... to 7FGKB187AdG0SCban... (flutter/engine#39756) (flutter/flutter#121067)

* d54d3b4 d00cc4b04 Roll Fuchsia Linux SDK from 7rgqQxifQPjH_2zXB... to 0RfFdaUCok_sFfUN1... (flutter/engine#39758) (flutter/flutter#121068)

* c71e479 cf85927ff Rename WindowPadding to ViewPadding (flutter/engine#39737) (flutter/flutter#121069)

* cc9b198 780279109 [Impeller] Implement invert colors flag. (flutter/engine#39729) (flutter/flutter#121074)

* 8d305b6 5d61f352c Roll Fuchsia Mac SDK from 7FGKB187AdG0SCban... to sXPr06r252ZU681Fi... (flutter/engine#39760) (flutter/flutter#121085)

* ae8d051 [M3] Update checkbox shape value (flutter/flutter#120976)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App e: impeller
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[Impeller] InvertColors is unimplemented.
2 participants