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: 00dab0d9d310
Choose a base ref
...
head repository: flutter/engine
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b7dddee939f2
Choose a head ref
  • 2 commits
  • 9 files changed
  • 2 contributors

Commits on Mar 27, 2024

  1. [ios]ignore single edge pixel instead of rounding (#51687)

    The previous PR flutter/flutter#143420 rounds out the layers and rounds in the platform views. This results in missing pixel on the edge of the intersection when there's fractional coordinate (as shown in the screenshot below), because platform view is below the layers. 
    
    It turns out that we have to round out both platform view and layers, because: 
    - rounding in platform view rects will result in missing pixels on the edge of the intersection. 
    - rounding in layer rects will result in missing pixels on the edge of the layer that's on top of the platform view. 
    
    This PR simply skips the single (or partial) pixel on the edge, which is a special case, while still preserve the `roundOut` behavior for general non-edge cases. 
    
    Before the fix, notice a very thin gray line cutting through the purple box: 
    
    <img src="https://github.com/flutter/engine/assets/41930132/1482d81a-337e-4841-ac08-eff08bbc71ef" height="500">
    
    Then after the fix, the gray line is gone: 
    
    <img src="https://github.com/flutter/engine/assets/41930132/0eddae69-ab62-4de6-8932-c67cc5aced73" height="500">
    
    *List which issues are fixed by this PR. You must list at least one issue.*
    
    flutter/flutter#143420
    
    *If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*
    
    [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
    hellohuanlin authored Mar 27, 2024
    Configuration menu
    Copy the full SHA
    01d42ad View commit details
    Browse the repository at this point in the history
  2. Fail pre-submit if a negative image is encountered as part of `goldct…

    …l imgtest add`. (#51685)
    
    `flutter/engine`-side fix for flutter/flutter#145043.
    
    - Before this PR, if a negative image was encountered, we'd silently pass pre-submit, merge, and turn the tree red.
    - After this PR, a negative image both makes pre and post-submit red.
    
    Added tests, and fixed up some unrelated tests that were accidentally setting `pid` instead of `exitCode`. Oops!
    
    /cc @zanderso and @eyebrowsoffire (current engine sheriff).
    matanlurey authored Mar 27, 2024
    Configuration menu
    Copy the full SHA
    b7dddee View commit details
    Browse the repository at this point in the history
Loading