skia-flutter-autoroll
e06e55f8ae
Roll Fuchsia Mac SDK from VW7WAVPT3Cj5erlae... to Tnp43n_nAR2N0l_gY... ( flutter/engine#44823 )
...
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-mac-sdk-flutter-engine
Please CC jsimmons@google.com ,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
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
2023-08-17 20:39:55 +00:00
Jason Simmons
1c573b5165
Fix FlutterInjectorTest assumptions about how the executor service assigns tasks to threads ( flutter/engine#44775 )
2023-08-17 20:37:59 +00:00
John McCutchan
5c518f77f3
Reenable HardwareBuffer backed Android Platform Views on SDK >= 29 ( flutter/engine#44790 )
...
- Fix a bug in the SDK < 33 ImageReader construction code path.
- Fix a bug that resulted in references to Images produced by a closed
ImageReader.
- Fix an order of operations bug in ImageReaderPlatformViewRenderTarget
release/finalizer code path.
- Enable HardwareBuffer backed Android Platform Views on SDK >= 29
Manually tested on device rotating and shutting down the app.
2023-08-17 13:15:25 -07:00
Tong Mu
177a6128c1
Basic view management for engine classes ( flutter/engine#42991 )
...
_This PR is part of the multiview engine project. For a complete roadmap, see [this doc](https://docs.google.com/document/d/10APhzRDR7XqjWdbYWpFfKur7DPiz_HvSKNcLvcyA9vg/edit?resourcekey=0-DfGcg4-XWRMMZF__C1nmcA )._
------
This PR adds view management to all engine classes that need it. View management here basically means `AddView` and `RemoveView` methods, and most importantly, how to handle the implicit view.
The implicit view is a special view that's handled differently than all the other "regular views", since it keeps the behavior of the current single view of Flutter. Detailed introduction can be found in `Settings.implicit_view_enabled`.
The following two graphs show the difference between initializing with/without the implicit view and creating regular views.
<img width="879" alt="image" src="https://github.com/flutter/engine/assets/1596656/31244685-d9d3-4c9a-9a9e-6e8540a5711e ">
<img width="864" alt="image" src="https://github.com/flutter/engine/assets/1596656/e2dd4b8c-57e3-428d-8547-834fb270052b ">
<img width="860" alt="image" src="https://github.com/flutter/engine/assets/1596656/58dae687-8c17-434e-ae24-a48c2d8fa5fa ">
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2023-08-17 20:06:25 +00:00
skia-flutter-autoroll
a257852606
Roll Skia from d0d390f9310d to bfd45173e5e3 (5 revisions) ( flutter/engine#44820 )
...
https://skia.googlesource.com/skia.git/+log/d0d390f9310d..bfd45173e5e3
2023-08-17 kjlubick@google.com Fix old use of GrBackendRenderTarget for GL
2023-08-17 kjlubick@google.com [bazel] Fix extension handling in gcs_mirror
2023-08-17 johnstiles@google.com Fix WGSL code generation of matrix-div-scalar.
2023-08-17 kjlubick@google.com Remove bridge code for legacy GL GrBackendSurface code
2023-08-17 brianosman@google.com Remove SkOpts_avx and _ssse3 completely
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 brianosman@google.com ,egdaniel@google.com,jsimmons@google.com,rmistry@google.com 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
2023-08-17 20:06:23 +00:00
Matan Lurey
1aa93ad798
Implement 2 suggested Clang Tidy fixes we don't look for yet. ( flutter/engine#44816 )
...
I haven't investigated if there are more occurrences or if it's worth
enforcing turning the check on generally.
(They were flagged on the Google roll, ironically)
---
[`readability-redundant-smartptr-get`](https://clang.llvm.org/extra/clang-tidy/checks/readability/redundant-smartptr-get.html )
> Find and remove redundant calls to smart pointer’s `.get()` method
[`performance-for-range-copy`](https://clang.llvm.org/extra/clang-tidy/checks/performance/for-range-copy.html )
> Finds C++11 for ranges where the loop variable is copied in each
iteration but it would suffice to obtain it by reference.
2023-08-17 12:34:15 -07:00
LouiseHsu
089957e3e0
Add share to selection controls ( flutter/engine#44554 )
...
In native iOS, users are able to select text and initiate a share menu, which provides several standard services, such as copy, sharing to social media, direct ability to send to various contacts through messaging apps, etc.
https://github.com/flutter/engine/assets/36148254/d0af7034-31fd-412e-8636-a06bbff54765
This PR is the engine portion of the changes that will allow Share to be implemented
This PR addresses https://github.com/flutter/flutter/issues/107578
More details are available in this [design doc](https://github.com/flutter/engine/pull/flutter.dev/go/add-missing-features-to-selection-controls )
2023-08-17 17:34:11 +00:00
Zachary Anderson
38d3dcbc72
Adds new builders for partial clang-tidy checks. ( flutter/engine#44811 )
...
This is the first in a sequence of PRs which will lint only changed files on presubmit. The process is the following:
1. Add new `bringup: true` builders that lint only changed files. `bringup: true` builders don't run in presubmit, and since after landing this no files will be detected as changed, these builders will not do anything yet.
1. Remove `bringup: true`. This will allow the new builders to run in presubmit.
1. Ask the team to monitor the new checks on PRs to make sure they are doing the right thing.
1. When we're reasonably sure that the checks are doing the right thing, add `presubmit: false` to `mac_clang_tidy` and `linux_clang_tidy` so that we no longer needlessly lint all files in presubmit.
Related https://github.com/flutter/flutter/issues/105068
2023-08-17 17:25:26 +00:00
hellohuanlin
380e7d7402
[ios][ios17]fix auto correction highlight on top left corner ( flutter/engine#44779 )
...
Fix native auto-correction highlight region on top left corner.
This PR uses the system auto-correction highlight on iOS 17, which was disabled by https://github.com/flutter/engine/pull/44354
<img width="479" alt="Screenshot 2023-08-16 at 1 19 39 PM" src="https://github.com/flutter/engine/assets/41930132/a5a1dda7-ba21-462e-a65c-1afeecf7559f ">
*List which issues are fixed by this PR. You must list at least one issue.*
Fixes https://github.com/flutter/flutter/issues/131622
Fixes https://github.com/flutter/flutter/issues/131695
Fixes https://github.com/flutter/flutter/issues/130818
*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
2023-08-17 16:48:06 +00:00
yaakovschectman
deaf5f2b5b
[Windows] Delay enabling app lifecycle states until requested ( flutter/engine#44238 )
...
Await a platform message before sending lifecycle state updates so we
are not sending messages that do not get consumed by the framework.
In the _near_ future we hope to extend the embedder API to allow
registering callbacks called upon the framework registering a listener
to a channel, which would obviate this problem.
https://github.com/flutter/flutter/issues/131616
*If you had to change anything in the [flutter/tests] repo, include a
link to the migration guide as per the [breaking change policy].*
## 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 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 `///`).
- [ ] 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
2023-08-17 12:30:28 -04:00
Tong Mu
bd3da2c47e
Move viewConfiguration parsing from PlatformDispatcher to _hooks ( flutter/engine#44787 )
...
This PR moves the code that parses `viewConfiguration` from
`PlatformDispatcher` to `_hooks`. This makes `PlatformDispatcher`'s API
cleaner by hiding the encoding implementation of `ViewConfiguration` in
`_hooks`, and allows more APIs to pass view configuration, such as the
`addView` that will be introduced in
https://github.com/flutter/engine/pull/42991 .
This PR should not need unit tests since it's just a refactor, and the
code path that contains `_updateWindowMetrics` has been tested in
existing unit tests.
## 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 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 `///`).
- [ ] 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
[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
2023-08-17 09:29:12 -07:00
skia-flutter-autoroll
a2bf6ed1f2
Roll Dart SDK from 92c32df13d31 to 7e4e5796ee99 (2 revisions) ( flutter/engine#44810 )
...
https://dart.googlesource.com/sdk.git/+log/92c32df13d31..7e4e5796ee99
2023-08-17 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.2.0-81.0.dev
2023-08-17 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.2.0-80.0.dev
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/dart-sdk-flutter-engine
Please CC dart-vm-team@google.com ,jsimmons@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter Engine: 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
2023-08-17 14:54:11 +00:00
skia-flutter-autoroll
f263998b92
Roll Skia from c4805a975ab3 to d0d390f9310d (2 revisions) ( flutter/engine#44807 )
...
https://skia.googlesource.com/skia.git/+log/c4805a975ab3..d0d390f9310d
2023-08-17 johnstiles@google.com Enable WGSL golden outputs for SkSL folding tests.
2023-08-17 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 53905a380315 to dce9e2d48bec (4 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 brianosman@google.com ,egdaniel@google.com,jsimmons@google.com,rmistry@google.com 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
2023-08-17 14:50:53 +00:00
skia-flutter-autoroll
920014d79e
Roll Fuchsia Linux SDK from cPncZK6z8HmuOmQr_... to 7xOzci7fempFgHNk9... ( flutter/engine#44809 )
...
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-linux-sdk-flutter-engine
Please CC jsimmons@google.com ,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
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
2023-08-17 14:49:14 +00:00
skia-flutter-autoroll
e2c83b6115
Roll Skia from efb5a5e0b78b to c4805a975ab3 (2 revisions) ( flutter/engine#44795 )
...
https://skia.googlesource.com/skia.git/+log/efb5a5e0b78b..c4805a975ab3
2023-08-17 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 152cf62b3887 to 78de02ab5230 (6 revisions)
2023-08-17 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SK Tool from f1d21dc58818 to 76d835d26b04
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 brianosman@google.com ,egdaniel@google.com,jsimmons@google.com,rmistry@google.com 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
2023-08-17 07:21:55 +00:00
skia-flutter-autoroll
12e6652cce
Roll Skia from 11cb8cdd37c1 to efb5a5e0b78b (1 revision) ( flutter/engine#44792 )
...
https://skia.googlesource.com/skia.git/+log/11cb8cdd37c1..efb5a5e0b78b
2023-08-17 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from 716ec65fb647 to f1d21dc58818 (4 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 brianosman@google.com ,egdaniel@google.com,jsimmons@google.com,rmistry@google.com 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
2023-08-17 05:42:30 +00:00
Matan Lurey
809b6b8fa0
Passthrough stderr results of clang_tidy when --enable-check-profile. ( flutter/engine#44789 )
...
Required to actually see the results of the profile :)
2023-08-17 00:58:02 +00:00
skia-flutter-autoroll
147fcb7dbe
Roll Dart SDK from d6e1fca5dbdf to 92c32df13d31 (1 revision) ( flutter/engine#44788 )
...
https://dart.googlesource.com/sdk.git/+log/d6e1fca5dbdf..92c32df13d31
2023-08-16 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.2.0-79.0.dev
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/dart-sdk-flutter-engine
Please CC dart-vm-team@google.com ,jsimmons@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter Engine: 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
2023-08-17 00:27:00 +00:00
skia-flutter-autoroll
df58539fed
Roll Skia from 233c4f26427a to 11cb8cdd37c1 (1 revision) ( flutter/engine#44786 )
...
https://skia.googlesource.com/skia.git/+log/233c4f26427a..11cb8cdd37c1
2023-08-16 armansito@google.com [graphite][compute] Store buffer view size alongside BindBufferInfo
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 brianosman@google.com ,egdaniel@google.com,jsimmons@google.com,rmistry@google.com 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
2023-08-16 23:13:04 +00:00
Jason Simmons
156b05274e
Revert "Conditionally enable HardwareBuffer backed platform views ( #44744 )" ( flutter/engine#44785 )
...
This reverts commit 4620733d5c4b100fae10861eaae6d6e97003c282.
The https://github.com/flutter/flutter/tree/master/dev/integration_tests/abstract_method_smoke_test test was not rendering the platform view with that change.
2023-08-16 23:09:08 +00:00
Dan Field
3020e19c19
[Impeller] Update docstring on layer.presentsWithTransaction ( flutter/engine#44782 )
...
This got missed when setting this to always be `YES`.
2023-08-16 22:01:30 +00:00
John McCutchan
1278a933a7
Switch some ERROR logs to WARNING logs ( flutter/engine#44784 )
2023-08-16 15:00:25 -07:00
skia-flutter-autoroll
ce8e23534d
Roll Skia from 02870a1df818 to 233c4f26427a (1 revision) ( flutter/engine#44780 )
...
https://skia.googlesource.com/skia.git/+log/02870a1df818..233c4f26427a
2023-08-16 johnstiles@google.com Add WGSL support for matrix-divided-by-matrix.
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 brianosman@google.com ,egdaniel@google.com,jsimmons@google.com,rmistry@google.com 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
2023-08-16 21:28:33 +00:00
skia-flutter-autoroll
c23c289013
Roll Dart SDK from cc5eeac65f89 to d6e1fca5dbdf (1 revision) ( flutter/engine#44770 )
...
https://dart.googlesource.com/sdk.git/+log/cc5eeac65f89..d6e1fca5dbdf
2023-08-16 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.2.0-78.0.dev
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/dart-sdk-flutter-engine
Please CC dart-vm-team@google.com ,jsimmons@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter Engine: 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
2023-08-16 20:41:59 +00:00
skia-flutter-autoroll
6b28b250fc
Roll Skia from e65aabc26c86 to 02870a1df818 (7 revisions) ( flutter/engine#44778 )
...
https://skia.googlesource.com/skia.git/+log/e65aabc26c86..02870a1df818
2023-08-16 jvanverth@google.com [OpenGL] Disable CopyTexSubImage2D when using sRGB on ES2
2023-08-16 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 53e39be12b9e to 53905a380315 (4 revisions)
2023-08-16 jamesgk@google.com [graphite] Allow multiple views on a Dawn texture
2023-08-16 cmumford@google.com [shaders] Create shaders Docker image build target
2023-08-16 jmbetancourt@google.com [jetski] ask for a crop rect when using ImageFilter.blur
2023-08-16 herb@google.com Define Point for Bentley-Ottmann
2023-08-16 brianosman@google.com Remove unused isValid parameter from GrVkBackendSurfaceInfo::assign
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 brianosman@google.com ,egdaniel@google.com,jsimmons@google.com,rmistry@google.com 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
2023-08-16 20:40:22 +00:00
Matan Lurey
c9246dfaf1
Add an optional '--enable-check-profile' to 'tools/clang_tidy'. ( flutter/engine#44773 )
...
Example usage:
```shell
$ dart tools/clang_tidy/bin/main.dart --lint-all --enable-check-profile
```
I plan to use this to help triage why clang_tidy takes so long, and if
particular rules are contributing to most of the cost.
2023-08-16 13:06:01 -07:00
skia-flutter-autoroll
5ae965359a
Roll Fuchsia Mac SDK from Zp9or9YwxZHHPeQbA... to VW7WAVPT3Cj5erlae... ( flutter/engine#44777 )
...
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-mac-sdk-flutter-engine
Please CC jsimmons@google.com ,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
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
2023-08-16 20:00:00 +00:00
LouiseHsu
8f2b35bbfc
Fix search web test ( flutter/engine#44704 )
...
Fixed an issue with the test `testSearchWebInvoked` not mocking out openURL and crashing subsequent tests
2023-08-16 19:48:47 +00:00
skia-flutter-autoroll
a1a47f74df
Roll Fuchsia Linux SDK from GpKKtPGPMiRcY0kcz... to cPncZK6z8HmuOmQr_... ( flutter/engine#44769 )
...
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-linux-sdk-flutter-engine
Please CC jsimmons@google.com ,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
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
2023-08-16 18:35:47 +00:00
godofredoc
952079dab6
Remove duplicated v1 builds. ( flutter/engine#44767 )
...
This is part of the cleanup of the migration to engine v2 builds.
Bug: https://github.com/flutter/flutter/issues/132600
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2023-08-16 18:24:07 +00:00
skia-flutter-autoroll
0b7dc6356c
Roll Skia from d029f149a806 to e65aabc26c86 (4 revisions) ( flutter/engine#44768 )
...
https://skia.googlesource.com/skia.git/+log/d029f149a806..e65aabc26c86
2023-08-16 johnstiles@google.com Fix WGSL code generation for SwitchWithFallthroughAndVarDecls test.
2023-08-16 jamesgk@google.com [dm] Use a specific pixel geometry for GraphiteSink
2023-08-16 johnstiles@google.com Allow SkSL Graphite benchmarks to run on Perfbots.
2023-08-16 michaelludwig@google.com [skif] Remove legacy MatrixConvolution code
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 brianosman@google.com ,egdaniel@google.com,jsimmons@google.com,rmistry@google.com 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
2023-08-16 18:22:02 +00:00
Zachary Anderson
ea835aa116
Split lint.sh into separate scripts for clang-tidy and pylint ( flutter/engine#44763 )
...
Fixes https://github.com/flutter/flutter/issues/132657
2023-08-16 11:16:00 -07:00
John McCutchan
4620733d5c
Conditionally enable HardwareBuffer backed platform views ( flutter/engine#44744 )
...
On Android >= 29 we can use a more efficient platform view render target
2023-08-16 10:30:32 -07:00
Zachary Anderson
4676ed194b
Adds runIf to linux_clang_tidy ( flutter/engine#44759 )
...
Related https://github.com/flutter/flutter/issues/132605
2023-08-16 16:32:09 +00:00
skia-flutter-autoroll
8f6daf2ffb
Roll Skia from f30893561924 to d029f149a806 (1 revision) ( flutter/engine#44764 )
...
https://skia.googlesource.com/skia.git/+log/f30893561924..d029f149a806
2023-08-16 johnstiles@google.com Remove SK_ENABLE_SKSL_IN_RASTER_PIPELINE from Bazel.
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 brianosman@google.com ,egdaniel@google.com,jsimmons@google.com,rmistry@google.com 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
2023-08-16 16:11:07 +00:00
skia-flutter-autoroll
c7f77959a5
Roll Skia from 3ab12f40c2a4 to f30893561924 (1 revision) ( flutter/engine#44761 )
...
https://skia.googlesource.com/skia.git/+log/3ab12f40c2a4..f30893561924
2023-08-16 johnstiles@google.com Add nanobench test for a Graphite 'small' SkSL shader.
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 brianosman@google.com ,egdaniel@google.com,jsimmons@google.com,rmistry@google.com 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
2023-08-16 15:29:17 +00:00
skia-flutter-autoroll
49fd69e1e4
Roll Dart SDK from 80b9a90ae563 to cc5eeac65f89 (1 revision) ( flutter/engine#44758 )
...
https://dart.googlesource.com/sdk.git/+log/80b9a90ae563..cc5eeac65f89
2023-08-16 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.2.0-77.0.dev
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/dart-sdk-flutter-engine
Please CC dart-vm-team@google.com ,jsimmons@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter Engine: 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
2023-08-16 13:50:28 +00:00
skia-flutter-autoroll
83f83d2b95
Roll Skia from cb3451491f11 to 3ab12f40c2a4 (1 revision) ( flutter/engine#44756 )
...
https://skia.googlesource.com/skia.git/+log/cb3451491f11..3ab12f40c2a4
2023-08-16 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from f1b7e4fb795d to 53e39be12b9e (2 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 brianosman@google.com ,egdaniel@google.com,jsimmons@google.com,rmistry@google.com 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
2023-08-16 07:46:24 +00:00
skia-flutter-autoroll
de69c19fd1
Roll Skia from 586a6309e3a1 to cb3451491f11 (2 revisions) ( flutter/engine#44755 )
...
https://skia.googlesource.com/skia.git/+log/586a6309e3a1..cb3451491f11
2023-08-16 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 61a5707f8673 to 152cf62b3887 (10 revisions)
2023-08-16 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SK Tool from 716ec65fb647 to a76c1e8f2edc
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 brianosman@google.com ,egdaniel@google.com,jsimmons@google.com,rmistry@google.com 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
2023-08-16 07:00:12 +00:00
skia-flutter-autoroll
a06c27de61
Roll Dart SDK from e6bf503b36fe to 80b9a90ae563 (2 revisions) ( flutter/engine#44753 )
...
https://dart.googlesource.com/sdk.git/+log/e6bf503b36fe..80b9a90ae563
2023-08-16 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.2.0-76.0.dev
2023-08-16 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.2.0-75.0.dev
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/dart-sdk-flutter-engine
Please CC dart-vm-team@google.com ,jsimmons@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter Engine: 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
2023-08-16 06:07:55 +00:00
skia-flutter-autoroll
72f1897469
Roll Fuchsia Linux SDK from orVLXMF7ak2qfFkGs... to GpKKtPGPMiRcY0kcz... ( flutter/engine#44751 )
...
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-linux-sdk-flutter-engine
Please CC jsimmons@google.com ,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
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
2023-08-16 05:33:10 +00:00
skia-flutter-autoroll
15e23723ad
Roll Skia from 8f0238837ee4 to 586a6309e3a1 (2 revisions) ( flutter/engine#44752 )
...
https://skia.googlesource.com/skia.git/+log/8f0238837ee4..586a6309e3a1
2023-08-16 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from 446e642885e7 to 716ec65fb647 (3 revisions)
2023-08-16 armansito@google.com [graphite][compute] Remove draw-specific parameters
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 brianosman@google.com ,egdaniel@google.com,jsimmons@google.com,rmistry@google.com 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
2023-08-16 05:33:07 +00:00
skia-flutter-autoroll
3581b5bd43
Roll Skia from 3d2b84e28e79 to 8f0238837ee4 (1 revision) ( flutter/engine#44748 )
...
https://skia.googlesource.com/skia.git/+log/3d2b84e28e79..8f0238837ee4
2023-08-16 lovisolo@google.com //gm/gm.h: Fold GM::onISize() into GM::getISize().
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 brianosman@google.com ,egdaniel@google.com,jsimmons@google.com,rmistry@google.com 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
2023-08-16 03:03:18 +00:00
skia-flutter-autoroll
bf3ddb7b53
Roll Fuchsia Mac SDK from 7iuIq3PsSkuCmuEMr... to Zp9or9YwxZHHPeQbA... ( flutter/engine#44747 )
...
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-mac-sdk-flutter-engine
Please CC jsimmons@google.com ,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
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
2023-08-16 02:35:33 +00:00
godofredoc
23467ff8ba
Move cache builders to prod. ( flutter/engine#44739 )
...
These builders have been running as bringup for a very long time with no failures.
Bug: https://github.com/flutter/flutter/issues/132597
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2023-08-16 02:34:06 +00:00
Rulong Chen(陈汝龙)
75ac0d3957
Enabling the host application to control the timing of attaching the |FlutterView| to the engine ( flutter/engine#43595 )
...
In the add-to-app scenario where multiple FlutterViews share the same FlutterEngine, the host application desires to determine the timing of attaching the FlutterView to the engine, for example, during the `onResume` instead of the `onCreateView`.
As an example, consider the following scenario: A native page contains multiple tabs, and each tab is a FlutterFragment. During initialization, FlutterFragments of different tabs are created almost simultaneously, but only the one that needs to be displayed currently requires attachment to the engine, while the others need to be attached only when they receive the |onResume| callback.
Partial fix: https://github.com/flutter/flutter/issues/130235
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2023-08-16 02:34:04 +00:00
skia-flutter-autoroll
3df865c3fe
Roll Skia from 9fc1c628456a to 3d2b84e28e79 (1 revision) ( flutter/engine#44746 )
...
https://skia.googlesource.com/skia.git/+log/9fc1c628456a..3d2b84e28e79
2023-08-15 johnstiles@google.com Perform error-checking when creating a Dawn shader module.
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 brianosman@google.com ,egdaniel@google.com,jsimmons@google.com,rmistry@google.com 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
2023-08-16 02:18:15 +00:00
skia-flutter-autoroll
f655d5da85
Roll Dart SDK from b36934aae968 to e6bf503b36fe (1 revision) ( flutter/engine#44745 )
...
https://dart.googlesource.com/sdk.git/+log/b36934aae968..e6bf503b36fe
2023-08-15 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.2.0-74.0.dev
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/dart-sdk-flutter-engine
Please CC dart-vm-team@google.com ,jsimmons@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter Engine: 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
2023-08-16 01:09:03 +00:00
Matan Lurey
8567814d32
[Skia] Only respect ui.Paint.dither when the colorSource is a gradient ( flutter/engine#44730 )
...
In the Impeller backend, we **only** support dithering of _gradients_. In addition, it will be the default (and only option).
In the [process of enabling dithering by default](https://github.com/flutter/engine/pull/44705 ), i.e.
```diff
class Paint {
- static bool enableDithering = false;
+ static bool enableDithering = true;
}
```
... we realized with internal Google testing this will now apply dithering on more than just gradients, i.e. images in the Skia backend. Since we won't support dithering of images in the Impeller backend, this PR gives a "hint" on whether the `colorSource` (if one is set) can be dithered by the contrived rules we've created.
2023-08-16 01:07:39 +00:00
Jonah Williams
01c2363b16
[Impeller] Cache render target texture allocations across frames. ( flutter/engine#44527 )
...
When allocating a non-host visible texture for a render target, the allocator will hold onto a reference to this texture descriptor. On the immediate next frame, this texture is made available to replace requested allocations for new render target textures. if this texture is not used, then at the end of the next frame it is discarded.
This removes the vast majority of allocations in most flutter gallery and wonderous. This does not attempt to use different sized textures for the cache.
There are two caveats noted in the PR contents.
Fixes https://github.com/flutter/flutter/issues/131515
2023-08-16 00:25:08 +00:00