xxrl
df1529f94e
Delay matrix call in Preroll of picture layer ( flutter/engine#28380 )
2021-09-14 23:22:03 -07:00
ColdPaleLight
aa228644cd
Discard the resubmitted layer tree of the wrong size instead of rendering it ( flutter/engine#28474 )
2021-09-09 20:47:01 -07:00
Kaushik Iska
3cbb40e6ea
Revert "Add benchmarks to measure dart -> native time ( #28492 )" ( flutter/engine#28513 )
2021-09-08 12:24:43 -07:00
Kaushik Iska
559cc49517
Reland "Add benchmarks to measure dart -> native time ( #28492 )" ( flutter/engine#28510 )
...
This reverts commit f23eeaba7a6edef97cae5693cdbeb66ce05d2493.
2021-09-08 11:24:09 -07:00
Chinmay Garde
f23eeaba7a
Revert "Add benchmarks to measure dart -> native time ( #28492 )" ( flutter/engine#28509 )
...
This reverts commit db55f9274993a34bb6a0c81cc377cde54bb585d7.
2021-09-08 10:33:54 -07:00
Kaushik Iska
db55f92749
Add benchmarks to measure dart -> native time ( flutter/engine#28492 )
2021-09-08 09:17:01 -07:00
Jim Graham
10d49ea696
Add RasterCache metrics to the FrameTimings ( flutter/engine#28439 )
2021-09-03 16:26:01 -07:00
Zachary Anderson
86de3b6591
Revert "Display Features support (Foldable and Cutout) ( #24756 )" ( flutter/engine#28447 )
...
This reverts commit 53b9a690c5eb8410c561be43964f350f58347366.
2021-09-03 09:01:15 -07:00
Andrei Diaconu
53b9a690c5
Display Features support (Foldable and Cutout) ( flutter/engine#24756 )
...
* Add DisplayFeatures and DisplayCutout to viewport metrics
* WindowManager alpha03 and better documentation
* Fixed formatting
* Fixed failing tests
* Replaced API version code P with 28
* Unnecessary import
* Fixed display features parameters missing
* Documentation changes
* First paragraph is a sentence
* Update androidx window library to version 1.0.0-alpha05
* Improve documentation, remove deprecated display feature call
* Write tests and improve documentation
* Migrate to Window Manager alpha08
* Update androidx window to beta01
* Remove unused import
* Remove window_hook_integration_test.dart
* Fix tests
* Update android_embedding_dependencies version to include androidx.window
* Add androidx.window to test_runner build
* Add empty display features arrays to fuchsia platform view
* Fix tests using final class mocking
* Add missing license header
* Update licenses_golden
2021-09-03 04:02:17 -07:00
Jason Simmons
34f7c9e249
Ensure that Skia persistent cache filenames do not exceed the maximum allowed length ( flutter/engine#28315 )
2021-09-02 11:56:02 -07:00
ColdPaleLight
4a74166097
Started providing the GPU sync switch to Rasterizer.DrawToSurface() ( flutter/engine#28383 )
...
Co-authored-by: Aaron Clarke <gaaclarke>
2021-09-01 11:37:22 -07:00
Jim Graham
967d492667
merge accounting of the (mutually exclusive) picture and dl cache entries in reported statistics ( flutter/engine#28392 )
2021-08-31 17:21:02 -07:00
eggfly
3506a0c03b
Avoid deadlock while creating platform views with multiple engines. ( flutter/engine#28224 )
2021-08-23 08:57:02 -07:00
eggfly
f1fd54b45a
Implementation of two or more threads merging for multiple platform views ( flutter/engine#27662 )
...
Implementation of two or more threads merging for both lightweight multiple engines and standalone multiple engines.
2021-08-06 10:31:59 -07:00
Jonah Williams
2cc2854964
Add GestureSettings and configure touch slop from Android ViewConfiguration ( flutter/engine#27836 )
2021-08-03 12:55:02 -07:00
Jason Simmons
27d018d498
Log all Skia trace events if the --trace-skia flag is passed ( flutter/engine#27680 )
2021-07-27 14:34:02 -07:00
Kaushik Iska
a3b9412f5c
Set AppStartUp UserTag from engine ( flutter/engine#27646 )
2021-07-23 13:31:02 -07:00
Dan Field
298ab24bf5
Reland use a pbuffer surface when in the background ( flutter/engine#27629 )
...
* Reland "Use a Pbuffer surface when the onscreen surface is not available for snapshotting on Android (#27141 )" (#27607 )"
This reverts commit 78663924741a29aeca10648015e39db6fbd28be4.
* Do not let gradle download SDK deps
2021-07-21 15:07:35 -07:00
Brandon DeRosier
e2c58529b5
Add native Android image decoder supported by API 28+ ( flutter/engine#26746 )
2021-07-21 13:52:29 -07:00
Dan Field
7866392474
Revert "Use a Pbuffer surface when the onscreen surface is not available for snapshotting on Android ( #27141 )" ( flutter/engine#27607 )
...
This reverts commit 9520cdc6c45bc45f8e944618a0ff641fd5f5429a.
2021-07-20 16:40:55 -07:00
Dan Field
9520cdc6c4
Use a Pbuffer surface when the onscreen surface is not available for snapshotting on Android ( flutter/engine#27141 )
2021-07-20 16:05:54 -07:00
Kaushik Iska
833796b779
FrameTimings captures raster finish time in wall-clock time ( flutter/engine#27074 )
2021-07-01 11:36:02 -07:00
Jim Graham
ce11db413a
Implement a DisplayList mechanism similar to the Skia SkLiteDL mechanism ( flutter/engine#26928 )
2021-06-30 17:31:02 -07:00
David Worsham
5e5fe01dd2
Reland "fuchsia: Delete all the legacy code! ( #26422 )" ( flutter/engine#27075 )
...
This reverts commit bb3c49a9c3edf931a5601f0245faa85f5e077cb4.
2021-06-30 15:43:21 -07:00
Chinmay Garde
8867a5c405
Temporarily opt out of reduced shaders variants till roll issues are resolved. ( flutter/engine#27048 )
2021-06-29 15:11:02 -07:00
Chinmay Garde
7cfb375a5e
Configure contexts to reduce shader variations. ( flutter/engine#27016 )
...
Context creation options for each backend were spread across multiple
translation units. This makes setting options common across all backends hard to
configure. I have moved the creation of such common options into a separate
translation unit.
Fixes https://github.com/flutter/flutter/issues/84213
2021-06-28 15:37:14 -07:00
Jonah Williams
ccae44ffd0
Surface frame number identifier through window ( flutter/engine#26785 )
2021-06-28 10:16:01 -07:00
Kaushik Iska
465361fb7f
Record raster end as soon as frame is submitted ( flutter/engine#26970 )
2021-06-28 09:59:52 -07:00
Dan Field
3bc015dc10
Remove tech debt related to image disposal and layer GC ( flutter/engine#26870 )
...
* remove tech debt
* Fix test
2021-06-25 15:33:08 -07:00
Jason Simmons
d7bc71a47c
Log an error in DoMakeRasterSnapshot if Skia can not create a GPU render target ( flutter/engine#26772 )
2021-06-24 13:26:01 -07:00
Martin Kustermann
fde57f1f1d
Remove usages of --no-causal-async-stacks ( flutter/engine#26877 )
...
Passing the --causal-async-stacks flag to the VM will cause it to error
on VM startup. The VM will remove the flag entirely, but before doing so
we'll have to remove usages of the negated version of the flag, namely
--no-causal-async-stacks.
2021-06-23 14:30:26 +02:00
Matej Knopp
fddf12de3f
Rasterizer: Add missing context switches ( flutter/engine#26847 )
...
Fixes https://github.com/flutter/flutter/issues/84930
2021-06-20 13:45:28 +02:00
Dan Field
e6a9345f19
Remove outdated annotations from fixtures ( flutter/engine#26828 )
2021-06-19 10:09:02 -07:00
Adlai Holler
3aaa10d762
Disable Skia reduceOpsTaskSplitting option ( flutter/engine#26568 )
...
This option will be the default in Skia soon. Per discussion in #26067 , let’s be explicit about disabling it for the time being, and we can revisit the flag in the future if desirable.
2021-06-17 13:11:40 -07:00
Jason Simmons
c8f45a13a4
Enable Skia shader trace events by default ( flutter/engine#26617 )
2021-06-09 17:59:01 -07:00
Jason Simmons
02ce01fd73
Add a tag argument to Skia shader trace events for use by DevTools ( flutter/engine#26590 )
2021-06-09 17:54:02 -07:00
David Worsham
bad9b71a01
Revert "fuchsia: Delete all the legacy code! ( #26422 )" ( flutter/engine#26637 )
...
This reverts commit 9afd7d6af8a0d023c0db67d24c55eb6c08c48aba.
2021-06-08 12:47:44 -07:00
David Worsham
9afd7d6af8
fuchsia: Delete all the legacy code! ( flutter/engine#26422 )
2021-06-07 17:29:39 -07:00
Kaushik Iska
c43fc8128d
Wait for the native callbacks from the spawned isolate ( flutter/engine#26593 )
...
I think the problem here is that `Dart_InitializeIsolateCallback` which sets the message handler for the spawned/child isolate isn't guaranteed to be called from the same thread as the parent isolate. This is resulting in the following case:
```
void child(String message) {
print('Child isolate got message: ' + message);
notifyNative();
}
void main() {
Isolate.spawn(child, 'Hello from main isolate.');
notifyNative();
}
```
The `main` isolate could spawn a child and if we were to kill the main isolate before the native notifications were waited for, we could end up in a bad place.
The ideal solution would be to guarantee that isolate shutdown ensures
that all the spawned/child isolates are shutdown before shutting down
the main isolate.
2021-06-04 17:37:21 -05:00
Kaushik Iska
1692a5f722
Guard task queue id for fuchsia ( flutter/engine#26542 )
2021-06-02 14:00:50 -07:00
Gary Qian
d3de3f1f24
Fix deferred components startup threading and improve .so search algorithm. ( flutter/engine#26429 )
2021-05-26 19:27:20 -07:00
Kaushik Iska
41ba3d48d1
Make resume dart microtasks static to avoid capturing vsync waiter ( flutter/engine#26440 )
...
This avoids the race where vsync waiter was shutdown before the tasks on
ui task runner got flushed.
Fixes: https://github.com/flutter/flutter/issues/82024
2021-05-26 16:52:36 -05:00
Kaushik Iska
d7774b2f1b
Fix race with engine destruction in Shell ( flutter/engine#26369 )
2021-05-24 13:57:45 -07:00
Brandon DeRosier
a83c8ab61d
Refactor: Group together externally-managed UIDartState. ( flutter/engine#26247 )
...
Group together externally-managed UIDartState.
It's a frequent pattern to enable access to shell resources from the
framework via UIDartState. These handles are passed through several
other objects, where they lay mostly dormant. This refactor just aims
to ease maintenance of this state.
UIDartState is essentially just an easy to extend bus for dropping
off the shell kids in UIDartState, with constructors/operators that
remove the need for providing a full initializer lists in unittests.
2021-05-20 18:01:53 -07:00
Felipe Archondo
75a3755481
Fix VsyncWaiter ( flutter/engine#25551 )
...
This PR accomplishes many things:
- Unblocks input resampling on Fuchsia
- Fixes 2 frame scheduling issues resulting in wasted work and missed frames
- Removes the now-defunct VsyncRecorder class
- Prepares the VsyncWaiter class for the Embedder API by moving all logic out of it
- Adds hundreds of lines of unittests for Fuchsia scheduling logic to validate the performance and correctness benefits
2021-05-20 15:50:58 -04:00
Jason Simmons
dcb08fa9ae
Capture the layer tree pipeline as a weak pointer in the OnAnimatorDraw task ( flutter/engine#26210 )
2021-05-19 14:39:05 -07:00
Kaushik Iska
516e15a502
Fix frame request tracing ( flutter/engine#26237 )
2021-05-19 10:54:02 -07:00
Jonah Williams
75017d4e26
plumb frame number through to framework ( flutter/engine#26233 )
2021-05-19 09:59:01 -07:00
Kaushik Iska
a3d8f47cd7
Add frame number to trace events so dev tools can associate the right frame ( flutter/engine#26205 )
2021-05-18 14:58:44 -07:00
Brandon DeRosier
b9982cdec7
Add image generator registry ( flutter/engine#25987 )
...
Add image generator protocol and priority registry.
The protocol supports multi-frame images as well as optional
subpixel/downsampled decoding.
2021-05-17 12:12:46 -07:00