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

Commits on Oct 31, 2023

  1. Roll Skia from aaa225e0cc6d to 34ef20100acc (1 revision) (#47530)

    https://skia.googlesource.com/skia.git/+log/aaa225e0cc6d..34ef20100acc
    
    2023-10-31 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 9700973b4f9a to c7c1b6a6441e (5 revisions)
    
    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,herb@google.com,rmistry@google.com,zra@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 Oct 31, 2023
    Configuration menu
    Copy the full SHA
    0f7c6a2 View commit details
    Browse the repository at this point in the history
  2. [Impeller] Place Rect statics under the Rect template. (#47529)

    `Rect::Intersection(a, b)` instead of `Intersection(a, b)`, etc.
    
    Make them usable with other Rect variants, although `RoundOut` is not useful for integer rectangles, for example.
    bdero authored Oct 31, 2023
    Configuration menu
    Copy the full SHA
    43ac4ac View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2023

  1. [macOS] Delete FlutterCompositor tests (#47527)

    The tests for FlutterCompositor are not useful. The current tests test two things:
    1. That the mocks we set up behave the way we set them up to behave.
    2. That the implementation of FlutterCompositor is the current implementation of FlutterCompositor.
    
    As an example, consider FlutterCompositorTest.TestPresent: https://github.com/flutter/engine/blob/89e8de970cb99aa82e067bbdb4a8e927e53f0b28/shell/platform/darwin/macos/framework/Source/FlutterCompositorTest.mm#L107-L137
    
    Ostensibly, this test verifies that the onPresent callback configured in our fake FlutterViewProvider implementation is called when FlutterCompositor::Present() is called.
    
    However, taking a look at the mocking setup:
    https://github.com/flutter/engine/blob/89e8de970cb99aa82e067bbdb4a8e927e53f0b28/shell/platform/darwin/macos/framework/Source/FlutterCompositorTest.mm#L47-L85
    
    We do the following:
    1. Mock out FlutterSurfaceManager such that when a surface is requested, we hand back a mock surface. A little gross since we're relying on some knowledge of implementation details of the compositor, but let's take this as reasonable for now.
    2. We mock out `FlutterSurface asFlutterMetalTexture` to return a mock texture. Again, we're getting a bit deep into implementation details that the test shouldn't know about, but let's assume this gets us somewhere.
    3. We mock out `FlutterSurfaceManager present:notify:` to actually call the `onPresent` callback if it's passed in.
    
    In effect, we're testing that:
    1. We configured our mock for `FlutterSurfaceManager present:notify:` to call onPresent.
    2. That `FlutterCompositor::Present` actually calls `FlutterSurfaceManager present:notify:` despite that being a simple implementation detail of that call.
    
    This removes these tests. I have filed the following issue to track refactoring this class for testability and adding tests: flutter/flutter#137648
    
    Encountered these tests as part of deflaking and cleaning up memory allocations throughout the macOS desktop tests.
    
    Issue: flutter/flutter#137648
    Issue: flutter/flutter#104789
    Issue: flutter/flutter#127441
    Issue: flutter/flutter#124840
    
    [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
    cbracken authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    2a6f1a3 View commit details
    Browse the repository at this point in the history
  2. [Impeller] stencil buffer record/replay instead of MSAA storage. (#47397

    )
    
    When restoring from a backdrop filter, replay the clip affecting cmds into a new stencil buffer instead of storing 4x MSAA stencil buffer.
    
    Fixes flutter/flutter#137561
    Fixes flutter/flutter#137448
    Fixes flutter/flutter#137302
    
    Helps flutter/flutter#137108
    Jonah Williams authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    04329c5 View commit details
    Browse the repository at this point in the history
  3. Roll Fuchsia Linux SDK from LCfhx_lTRJI51G0zc... to _TyF0etsONe5aqCbM…

    …... (#47532)
    
    If this roll has caused a breakage, revert this CL and stop the roller
    using the controls here:
    https://autoroll.skia.org/r/fuchsia-linux-sdk-flutter-engine
    Please CC rmistry@google.com,zra@google.com on the revert to ensure that a human
    is aware of the problem.
    
    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 Nov 1, 2023
    Configuration menu
    Copy the full SHA
    c562fd7 View commit details
    Browse the repository at this point in the history
  4. [Impeller] OpenGLES: Ensure frag/vert textures are bound with unique …

    …texture units. (#47218)
    
    The fragment shader texture bindings will smash into the texture units
    used for the vertex shader bindings if the vertex and fragment shaders
    both have textures.
    
    Entities doesn't use any pipelines that tickle this case.
    bdero authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    787f9ef View commit details
    Browse the repository at this point in the history
  5. [Impeller] Fix nullopt access and simplify coverage computation in Ge…

    …tSubpassCoverage. (#47347)
    
    Follow up for comments in #46130.
    
    This case shouldn't actually be possible today, but we should be able to
    make this reasonably testable without goldens... added an issue to
    follow-up here: flutter/flutter#137356
    This branch noise will also melt away with:
    flutter/flutter#137306
    bdero authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    0c53706 View commit details
    Browse the repository at this point in the history
  6. [Impeller] Include cstdint everywhere that uint32_t is used. (#47533)

    Sprinkle cstdint everywhere that it's used. Unblocks the next impeller-cmake bump.
    
    Ran into include issues during the build for the most recent impeller-cmake bump: bdero/impeller-cmake#20
    
    Going to add an optional libcxx STL build to help avoid stuff like this later (in the AAOS action items).
    bdero authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    a0ac6b4 View commit details
    Browse the repository at this point in the history
Loading