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-team-archive/engine
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: bcf2dcc09a13
Choose a base ref
...
head repository: flutter-team-archive/engine
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5d8ee52e985b
Choose a head ref
  • 4 commits
  • 103 files changed
  • 4 contributors

Commits on Aug 12, 2024

  1. Roll Skia from f77adcef7c1c to ec7558d41b34 (1 revision) (#54507)

    https://skia.googlesource.com/skia.git/+log/f77adcef7c1c..ec7558d41b34
    
    2024-08-12 michaelludwig@google.com [examples] Update help text to match output file encoding
    
    If this roll has caused a breakage, revert this CL and stop the roller
    using the controls here:
    https://autoroll.skia.org/r/skia-flutter-autoroll
    Please CC brianosman@google.com,jsimmons@google.com,michaelludwig@google.com,rmistry@google.com on the revert to ensure that a human
    is aware of the problem.
    
    To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
    To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
    
    To report a problem with the AutoRoller itself, please file a bug:
    https://issues.skia.org/issues/new?component=1389291&template=1850622
    
    Documentation for the AutoRoller is here:
    https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
    skia-flutter-autoroll authored Aug 12, 2024
    Configuration menu
    Copy the full SHA
    c8785c3 View commit details
    Browse the repository at this point in the history
  2. Revert "[Impeller] remove scene3d support." (#54502)

    Reverts #54453
    
    Not quite ready to remove Impeller Scene yet because I'm still porting
    the animation functionality. Keeping it around allows me to switch back
    and forth to compare without having to recompile the engine.
    
    Over a month ago I said something like "we can revert this a couple of
    weeks from now" in one of the Impeller meetings. But for better or worse
    (better, I think), I ended up spending a ton of time trying to make the
    PBR good first (which doesn't exist in this C++ version).
    bdero authored Aug 12, 2024
    Configuration menu
    Copy the full SHA
    8c9b821 View commit details
    Browse the repository at this point in the history
  3. [Windows] Improve texture format logic (#54329)

    This improves Flutter Window's texture format logic:
    
    1. **If the device has extension `GL_EXT_texture_format_BGRA8888`**: backing stores' texture will be created with format `GL_BGRA_EXT` instead of `GL_RGBA8`. This is what fixes flutter/flutter#150546.
    2. **Otherwise**: backing stores' texture will be created with format `GL_RGBA` and the engine will use the color type `kRGBA_8888_SkColorType` when creating the `SkSurface`.
    
       Previously the engine always used color type `kN32_SkColorType`, which could be either RGBA or BGRA depending on the machine that compiled the engine. This caused Skia validation errors as the texture's format did not match the Skia surface's color type.
    
       I tested this by editing Flutter Windows to force it down this code path.
    
    Huge kudos to @chinmaygarde for the OpenGL expertise!
    
    Fixes: flutter/flutter#150546
    
    > [!WARNING]
    > Unfortunately, we are unable to test this.
    > This bug appears to only affect older devices; none of our devices reproduce this issue.
    > We also do not have the infrastructure to do a native screenshot test on Windows. 
    > I will get a test exemption for this change.
    
    [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
    loic-sharma authored Aug 12, 2024
    Configuration menu
    Copy the full SHA
    4887a4d View commit details
    Browse the repository at this point in the history
  4. macOS: Fix crash in attributedSubstringForProposedRange with out of b…

    …ounds range (#54469)
    
    Fixes flutter/flutter#153157
    
    *If you had to change anything in the [flutter/tests] repo, include a
    link to the migration guide as per the [breaking change policy].*
    
    ## Pre-launch Checklist
    
    - [x] I read the [Contributor Guide] and followed the process outlined
    there for submitting PRs.
    - [x] I read the [Tree Hygiene] wiki page, which explains my
    responsibilities.
    - [x] I read and followed the [Flutter Style Guide] and the [C++,
    Objective-C, Java style guides].
    - [x] I listed at least one issue that this PR fixes in the description
    above.
    - [x] I added new tests to check the change I am making or feature I am
    adding, or the PR is [test-exempt]. See [testing the engine] for
    instructions on writing and running engine tests.
    - [x] I updated/added relevant documentation (doc comments with `///`).
    - [x] I signed the [CLA].
    - [x] All existing and new tests are passing.
    
    If you need help, consider asking for advice on the #hackers-new channel
    on [Discord].
    
    <!-- Links -->
    [Contributor Guide]:
    https://github.com/flutter/flutter/wiki/Tree-hygiene#overview
    [Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene
    [test-exempt]:
    https://github.com/flutter/flutter/wiki/Tree-hygiene#tests
    [Flutter Style Guide]:
    https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
    [C++, Objective-C, Java style guides]:
    https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
    [testing the engine]:
    https://github.com/flutter/flutter/wiki/Testing-the-engine
    [CLA]: https://cla.developers.google.com/
    [flutter/tests]: https://github.com/flutter/tests
    [breaking change policy]:
    https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes
    [Discord]: https://github.com/flutter/flutter/wiki/Chat
    knopp authored Aug 12, 2024
    Configuration menu
    Copy the full SHA
    5d8ee52 View commit details
    Browse the repository at this point in the history
Loading