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

Use Metal on iOS by default. #17431

Merged
merged 1 commit into from
Apr 1, 2020

Conversation

chinmaygarde
Copy link
Member

Fixes flutter/flutter#18208. All Metal for iOS related work items described in https://github.com/orgs/flutter/projects/5 have been completed.

Fixes flutter/flutter#18208. All Metal for iOS related work items described in https://github.com/orgs/flutter/projects/5 have been completed.
Comment on lines -18 to -21
bool ShouldUseSoftwareRenderer() {
return [[[NSProcessInfo processInfo] arguments] containsObject:@"--force-software"];
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we dropping this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was only added recently so I could check all three variants in one build. There is no reason to support software rendering on iOS.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So it's set somewhere else for simulator?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@dnfield dnfield left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chinmaygarde chinmaygarde merged commit f7c6c6d into flutter:master Apr 1, 2020
@chinmaygarde chinmaygarde deleted the metal_by_default branch April 1, 2020 06:37
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 1, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 1, 2020
goderbauer pushed a commit to goderbauer/engine that referenced this pull request Apr 16, 2020
Fixes flutter/flutter#18208. All Metal for iOS related work items described in https://github.com/orgs/flutter/projects/5 have been completed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flutter should use Metal instead of OpenGL on iOS
3 participants