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

Commits on Aug 3, 2023

  1. Configuration menu
    Copy the full SHA
    03eee76 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8b03d33 View commit details
    Browse the repository at this point in the history
  3. Migrate GL calls of GrBackend* (#44334)

    In https://skia-review.googlesource.com/c/skia/+/701398 Skia refactored
    GrBackend* to not require #ifdefs. This changes
    callsites in Flutter to use static functions instead of methods that
    were conditionally compiled on those classes.
    
    There should be no functional change with these. As I was updating these
    callsites, I saw uses of the deprecated GrMipMapped enum and used the
    updated skgpu::Mipmapped (the former is an alias to the latter).
    
    ## 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].
    - [ ] 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.
    - [ ] 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
    kjlubick authored Aug 3, 2023
    Configuration menu
    Copy the full SHA
    e3c7a9b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0342704 View commit details
    Browse the repository at this point in the history
  5. [darwin] Move common targets to common/BUILD.gn (#44335)

    Previously, some common Darwin framework targets existed in: 
    //flutter/shell/platform/darwin/BUILD.gn
    
    This moves all targets into:
    //flutter/shell/platform/darwin/common/BUILD.gn
    
    The framework_shared target has been renamed framework_common for consistency with the directory name, and flutter_channels_unittests has been renamed framework_common_unittests since it's a reasonable target for adding other tests of common framework code.
    
    We also de-duplicate targets with existing targets.
    * The `flutter_channels` target duplicates the existing
    `framework_shared` target.
    * The `common` target already includes the buffer conversions
    translation units,
      which are only used by the iOS embedder.
    
    No test changes since there are no semantic changes, just a
    restructuring of build targets.
    
    ## 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
    cbracken authored Aug 3, 2023
    Configuration menu
    Copy the full SHA
    ae2cd64 View commit details
    Browse the repository at this point in the history
  6. Build iOS unittest target in unopt builds (#44301)

    Chris Yang authored Aug 3, 2023
    Configuration menu
    Copy the full SHA
    9c17c35 View commit details
    Browse the repository at this point in the history
  7. Roll Skia from 872dc53233cf to bae32428c1c7 (3 revisions) (#44341)

    https://skia.googlesource.com/skia.git/+log/872dc53233cf..bae32428c1c7
    
    2023-08-03 [email protected] Add support for Android creation of protected Vk backend contexts
    2023-08-03 [email protected] [bazel] skiagm::GMFactory type alias: Use std::function instead of function pointers.
    2023-08-03 [email protected] Add support for Android-EGL creation of protected GL backend contexts
    
    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 Aug 3, 2023
    Configuration menu
    Copy the full SHA
    ae301ba View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2d0da33 View commit details
    Browse the repository at this point in the history
  9. [web] fix clicks on merged semantic nodes (#43620)

    This should significantly improve the situation described in flutter/flutter#130162.
    
    When the framework merges semantics trees of multiple widgets into a single node, it can expand the tap area of one of the descendants to the size of the combined node as follows:
    
    <img width="865" alt="Screenshot 2023-07-07 at 4 11 30 PM" src="https://github.com/flutter/flutter/assets/211513/50e4f9f2-d36b-4820-93d2-c53714f33b08">
    
    When a screen reader taps on the combined node, the pointer events and the click all land in the center. This produces a stalemate resulting in the user action never producing a tap/click gesture in the framework:
    
    * The web engine, seeing `pointerdown`/`pointerup`, switches to the gesture mode ignores the `click`, believing that the framework will interpret the pointer events as one.
    * The framework, seeing pointer events landing outside the checkbox, never reacts to the pointer events.
    
    This PR mostly solves the issue by delaying event sequences starting with pointerdown for up to 200ms. If within those 200ms a click is observed, `SemanticsAction.tap` is sent to the framework. Otherwise, the pointer events are sent to the framework and the DOM `click` event is dropped. The tradeoff is that even when the drag gesture detector is the only one present, there's a 200ms delay before dragging can start. However, it seems to be a better trade-off than missing clicks entirely.
    yjbanov authored Aug 3, 2023
    Configuration menu
    Copy the full SHA
    0c1de9b View commit details
    Browse the repository at this point in the history
Loading