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

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: flutter/engine
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: fa4d97e
Choose a base ref
...
head repository: flutter/engine
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e3104af
Choose a head ref
  • 2 commits
  • 5 files changed
  • 2 contributors

Commits on Apr 4, 2024

  1. Configuration menu
    Copy the full SHA
    c6fd95f View commit details
    Browse the repository at this point in the history
  2. Remove #if SHELL_ENABLE_METAL checks in iOS code (#51636)

    All physical iOS devices Flutter supports (iOS 12+) can run Metal.  The only time Flutter doesn't use Metal afaik is for iOS simulators running < iOS 13, which is covered by a few `if (@available(iOS METAL_IOS_VERSION_BASELINE, *))` checks.
    
    https://github.com/flutter/engine/blob/8a51e124fbf168295a1b05f8d66459bfb29ae8a9/shell/platform/darwin/ios/rendering_api_selection.h#L37-L41
    
    Remove hardware checks for physical devices.
    
    Remove `shell_enable_metal` from the gn files and the `#if SHELL_ENABLE_METAL` checks in the iOS embedder.
    
    I limited this PR to just iOS, but I imagine it's safe to remove `shell_enable_metal` everywhere? 
    https://github.com/flutter/engine/blob/41da00ac46bc38a97a63ed0635450271d71afd9f/shell/platform/darwin/macos/BUILD.gn#L18
    https://github.com/flutter/engine/blob/41da00ac46bc38a97a63ed0635450271d71afd9f/tools/gn#L673-L679
    jmagman authored Apr 4, 2024
    Configuration menu
    Copy the full SHA
    e3104af View commit details
    Browse the repository at this point in the history
Loading