-
Notifications
You must be signed in to change notification settings - Fork 6k
Comparing changes
Open a pull request
base repository: flutter/engine
base: f4fbabf1eb9f
head repository: flutter/engine
compare: 68943afd62d1
- 9 commits
- 44 files changed
- 8 contributors
Commits on Feb 1, 2024
-
Remove migration flag and unused header files (#50216)
The `applyRoundingHack` flag is no longer used by the framework. This also removes the [lib/ui/text/line_metrics.h](https://github.com/flutter/engine/pull/50216/files#diff-9175619f2b114dffef67eba38511b34afe6abefd4f697f4758647133895b34f5) file which doesn't seem to be referenced anywhere. [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
Configuration menu - View commit details
-
Copy full SHA for 5f380ff - Browse repository at this point
Copy the full SHA 5f380ffView commit details -
Multiview: Add view ID to _render and remove render rule skipping (#5…
…0220) This PR adds a view ID parameter to the Dart FFI `_render` function, and also remove the logic that skips illegal renders that violates the render rule. I decided to implement the change to add the view ID as a separate PR because it's blocking us from performing benchmark testing internally, which is required to verify before merging the full multiview pipeline. We're also abolishing the render rule for now to allow presenting the warmup frame, which affects the startup performance. It is planned to implement the render rule once we can coordinate the warmup frame into the pipeline. ### More on removing the render rule enforcement The project needs to be divided into two phases: * Phase 1: Dart:ui doesn't kip out-of-vsync frames. And the pipeline presents these frames in a hacky way. * Phase 2: Dart:ui skip out-of-vsync frames, but submit warmup frames using a dedicated method. The pipeline contains no hacks. The current logic only enforces the render rule in debug mode. It's not desired to have the debug mode and the release mode behaving differently. Moreover, I'd like to make only the necessary changes for phase 1, so that there is as little "to be used in the future" code between the two phases as possible. ## Pre-launch Checklist - [ ] I read the [Contributor Guide] and followed the process outlined there for submitting PRs. - [ ] I read the [Tree Hygiene] wiki page, which explains my responsibilities. - [ ] 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 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 `///`). - [ ] I signed the [CLA]. - [ ] 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
Configuration menu - View commit details
-
Copy full SHA for 80e5792 - Browse repository at this point
Copy the full SHA 80e5792View commit details -
[Impeller] make GPU tracing off by default. (#50215)
Fixes flutter/flutter#141788 Fixes flutter/flutter#141798 Disable GPU tracing by default.
Jonah Williams authoredFeb 1, 2024 Configuration menu - View commit details
-
Copy full SHA for f2b9921 - Browse repository at this point
Copy the full SHA f2b9921View commit details -
Ignore CRLF endings when determining the names of header guards. (#50227
) Reported by @loic-sharma. The tl;dr is it should be OK to have `\r\n` (CRLF) endings if the header guard is otherwise correct. This minor refactor (and test) discounts the existence of `\r` when determining the name of a header guard, i.e.: ```h #ifndef FLUTTER_MATAN_WHY_H_ ``` ... is now (correctly) considered a value of `FLUTTER_MATAN_WHY_H_` not `FLUTTER_MATAN_WHY_H_\r`.
Configuration menu - View commit details
-
Copy full SHA for e222597 - Browse repository at this point
Copy the full SHA e222597View commit details -
Roll Skia from 19e5e8f089b2 to bcbc172f74da (2 revisions) (#50226)
https://skia.googlesource.com/skia.git/+log/19e5e8f089b2..bcbc172f74da 2024-02-01 [email protected] Adds wgpu::Instance as a member for graphites Dawn backend. 2024-02-01 [email protected] Roll vulkan-deps from cfc202524ce6 to 6e233a9a5f48 (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 [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://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
Configuration menu - View commit details
-
Copy full SHA for b08de44 - Browse repository at this point
Copy the full SHA b08de44View commit details -
Remove string field from FlKeyEvent (#50189)
This field is deprecated in GTK3 [1] and not used in Flutter. It does not exist in GTK4. [1] https://docs.gtk.org/gdk3/struct.EventKey.html
Configuration menu - View commit details
-
Copy full SHA for 38a81f5 - Browse repository at this point
Copy the full SHA 38a81f5View commit details -
[Impeller] size vk swapchain to window size. (#50205)
The size the engine recieves from the `AndroidSurfaceVulkanImpeller::OnScreenSurfaceResize` appears to be correct in the case of window rotation. Use this instead of physical surface properties to set the swapchain image size. Querying the physical surface properties seems to have some additional non-deterministic delay. This means that querying the properties during a window rotation will frequently return old values. Fixes flutter/flutter#138780 Fixes flutter/flutter#132708
Jonah Williams authoredFeb 1, 2024 Configuration menu - View commit details
-
Copy full SHA for 89077a0 - Browse repository at this point
Copy the full SHA 89077a0View commit details -
Reverts "Remove migration flag and unused header files" (#50229)
Reverts #50216 Initiated by: zanderso This change reverts the following previous change: Original Description: The `applyRoundingHack` flag is no longer used by the framework. This also removes the [lib/ui/text/line_metrics.h](https://github.com/flutter/engine/pull/50216/files#diff-9175619f2b114dffef67eba38511b34afe6abefd4f697f4758647133895b34f5) file which doesn't seem to be referenced anywhere. [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
Configuration menu - View commit details
-
Copy full SHA for bbdbc3a - Browse repository at this point
Copy the full SHA bbdbc3aView commit details -
[Impeller] Clear the GPUTracerVK in_frame flag when ending a frame ev…
…en if the tracer is disabled (#50228) Without this an assertion in GPUTracerVK::MarkFrameStart will fail on the next frame.
Configuration menu - View commit details
-
Copy full SHA for 68943af - Browse repository at this point
Copy the full SHA 68943afView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff f4fbabf1eb9f...68943afd62d1