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: 33e06934daed
Choose a base ref
...
head repository: flutter/engine
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: de68fba09338
Choose a head ref
  • 10 commits
  • 31 files changed
  • 6 contributors

Commits on Jun 12, 2023

  1. [Impeller] added debug info to frame debuggers like AGI (#42717)

    fixes flutter/flutter#128629
    
    Screenshot of the change in action:
    <img width="740" alt="Screenshot 2023-06-09 at 4 30 48 PM"
    src="https://github.com/flutter/engine/assets/30870216/3923c992-323b-466c-bab7-18097c6d1ee2">
    
    
    ## 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.
    - [ ] I added new tests to check the change I am making or feature I am
    adding, or Hixie said 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
    [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
    gaaclarke authored Jun 12, 2023
    Configuration menu
    Copy the full SHA
    3ca8814 View commit details
    Browse the repository at this point in the history
  2. [Impeller] opt all vertex shader position/uvs into highp (#42746)

    Fixes flutter/flutter#128605
    
    f16 doesn't have enough resolution at large pixel values to be safely used for positions. Opt all shaders into highp. I think we might be able to get away with mediump for uv since values from 0-1 should have plenty of precisision, but we can worry about that later.
    Jonah Williams authored Jun 12, 2023
    Configuration menu
    Copy the full SHA
    f202e4b View commit details
    Browse the repository at this point in the history
  3. Roll Skia from 951123096e55 to 0f974a0f8c10 (5 revisions) (#42771)

    https://skia.googlesource.com/skia.git/+log/951123096e55..0f974a0f8c10
    
    2023-06-12 [email protected] Remove remaining references to GrSlug
    2023-06-12 [email protected] Add a SkSLSwitchCase cpp file.
    2023-06-12 [email protected] [skif] Cleanup comments missed in Displacement update CL
    2023-06-12 [email protected] [bazel] Add PathKit build rule
    2023-06-12 [email protected] Roll vulkan-deps from 61c4fb9d6c0c to 2219aacad808 (1 revision)
    
    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 [email protected],[email protected],[email protected],[email protected] 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
    
    Documentation for the AutoRoller is here:
    https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
    skia-flutter-autoroll authored Jun 12, 2023
    Configuration menu
    Copy the full SHA
    282c140 View commit details
    Browse the repository at this point in the history
  4. Remove unnecessary #include of SkPromiseImageTexture (#42770)

    I was refactoring this class on the Skia side and saw Flutter #included it, but did not appear to actually use it.
    
    This replaces an unnecessary #include with a necessary one.
    
    [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
    kjlubick authored Jun 12, 2023
    Configuration menu
    Copy the full SHA
    738dd89 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1dc3930 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e237902 View commit details
    Browse the repository at this point in the history
  7. Remove dependency on memfs (#42773)

    See individual commits.
    tamird authored Jun 12, 2023
    Configuration menu
    Copy the full SHA
    77d534c View commit details
    Browse the repository at this point in the history
  8. [Impeller] Correct attachment description for offscreen MSAA resolve. (

    …#42753)
    
    Two issues:
    
    1. The resolve texture is created from the same impeller attachment as the msaa attachment, so the store mode was getting set to dont care instead of store.
    
    2. the image layout for the resolve attachment should be ePresentSrcKHR, at least from following the guide at https://vulkan-tutorial.com/Multisampling
    
    Fixing both of these locally fixes all of the weird offscreen cursed rendering.
    
    Fixes flutter/flutter#128600
    Jonah Williams authored Jun 12, 2023
    Configuration menu
    Copy the full SHA
    6e9db78 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e6f9712 View commit details
    Browse the repository at this point in the history
  10. Fix crash with CJK keyboard with emoji at end of text field (#42540)

    The `isRTLAtPosition` method had a bug, it used `NSInteger max = [_selectionRects count]` instead of `NSInteger max = [_selectionRects count] - 1`. But I realized we don't even need the function any more, it was used in a few places in previous iterations of #36643, but in the only place remaining, we actually already have the selection rect and don't need to search for it by position.
    
    Btw as an explanation of the crash, I guess there is some mismatch between code point and character count somewhere. UIKit was asking for `caretRectForPosition:2` when we only had 1 character. This could have only crashed when floating cursor selection was used, but actually when switching to CJK keyboard, UIKit turns out to use `caretRectForPosition` to calculate something about the composing rect.
    
    Fixes flutter/flutter#128031
    moffatman authored Jun 12, 2023
    Configuration menu
    Copy the full SHA
    de68fba View commit details
    Browse the repository at this point in the history
Loading