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

Commits on May 14, 2024

  1. Configuration menu
    Copy the full SHA
    57832bd View commit details
    Browse the repository at this point in the history
  2. Refactor Semantics in preparation for ARC migration (#52729)

    Split the too-large `Semantics` [MRC to ARC migration](flutter/flutter#137801) into two PRs: this one, which refactors, and the next which will actually do the migration.
    
    1. Use properties instead of their backing ivars (except in the usual init, dealloc, getters/setters)
    2. For Foundation collections prefer `copy` over `strong`.
    3. Dot notation for properties
    4. Change `privateSetParent:` to instead use a `readwrite` property in `SemanticsObject ()`. 
    5. Switch the `semanticsObject` property from `weak` to `retain` to get the synthesized property (keeping it as `weak` is a compilation error in MRC) but I'll swap it back to a `weak` in the ARC migration PR coming next.
    6. `SemanticsObjectTest` fails on my machine and passes on CI.  Switched the cleaner `CGRectEqualToRect` (and related) checks to instead assert x, y, width, height so we can see the value when it fails:
    ```
    ((CGSizeEqualToSize( scrollView.contentSize, CGSizeMake((w + scrollExtentMax) * effectivelyScale, h * effectivelyScale))) is true) failed
    ```
    becomes:
    ```
    ((scrollView.contentSize.height) equal to (h * effectivelyScale)) failed: ("33.3333333333") is not equal to ("33.333336")
    ```
    Use `XCTAssertEqualWithAccuracy` now that I can see it's a floating point precision issue.
    jmagman authored May 14, 2024
    Configuration menu
    Copy the full SHA
    86c55dd View commit details
    Browse the repository at this point in the history
  3. [Impeller] Create framebuffer blend vertices based on the snapshot's …

    …texture size instead of coverage (#52790)
    
    The snapshot's transform is provided to the pipeline.  If the vertices are based on the coverage rectangle, then that will apply the snapshot's transform twice.
    
    Fixes flutter/flutter#148213
    jason-simmons authored May 14, 2024
    Configuration menu
    Copy the full SHA
    89681b1 View commit details
    Browse the repository at this point in the history
  4. [Impeller] migrated one test over from aiks to dl (#52786)

    A redo of #52711 that maintains
    our existing testing patterns.
    
    ## 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
    
    ---------
    
    Co-authored-by: jonahwilliams <[email protected]>
    gaaclarke and jonahwilliams authored May 14, 2024
    Configuration menu
    Copy the full SHA
    08b44d9 View commit details
    Browse the repository at this point in the history
Loading