19321 Commits

Author SHA1 Message Date
Emmanuel Garcia
4de62c7c26
Revert "Enable hybrid composition by default on Android (#20722)" (#20745)
This reverts commit d16ba48e1d79cf0197e96c51c38300ee921baeb0.
2020-08-25 09:54:13 -07:00
skia-flutter-autoroll
5dd3d444c3
Roll Skia from 3cdc259008b5 to 84cdc27399ed (21 revisions) (#20737) 2020-08-24 16:56:02 -07:00
Emmanuel Garcia
d16ba48e1d
Enable hybrid composition by default on Android (#20722) 2020-08-24 13:10:23 -07:00
Emmanuel Garcia
8107b36c7b
Ensure loop is woken up at the right time (#20721) 2020-08-24 13:09:44 -07:00
xster
f8d2d7b42f
Fix font sorting problem due to iOS 14 fonts being broader (#20557) 2020-08-24 13:03:20 -07:00
skia-flutter-autoroll
b792de7bae
Roll Fuchsia Mac SDK from srqzFjKiY... to HgyvAv5eG... (#20724) 2020-08-24 12:51:02 -07:00
David Worsham
782f08280c
fuchsia: Clean shell_unittests under FEMU (#20704) 2020-08-24 12:47:31 -07:00
skia-flutter-autoroll
09e20c1b3e
Roll Skia from 60cf6748adae to 3cdc259008b5 (3 revisions) (#20723) 2020-08-24 12:46:01 -07:00
skia-flutter-autoroll
4caee91523
Roll Dart SDK from 4b5af9312298 to 5ca1f3290527 (2 revisions) (#20726) 2020-08-24 12:41:06 -07:00
Chris Yang
1c13abaab1
The ForwardingGestureRecognizers to have back reference to the PlatformViewsController so it can access FlutterViewController when its available (#20708) 2020-08-24 12:41:02 -07:00
Chinmay Garde
9939c26bd2
Fix race condition and data race in FrameInfoContainsValidWidthAndHeight. (#20706)
The data race: gl_surface_fbo_frame_infos_ in the test context to was appended
to on the raster task runner but read on the platform task runner. This is now
sidestepped by using a callback and pushing that responsibility to the test.
Setting the callback is guarded behind a mutex.

The race condition: The assertions were previously run when the UI thread was
done generating the frames. However, the assertions were run on the results
collected on the raster thread in response the frame requests from UI thread.
Just run the assertions on the raster thread directly.

Fixes https://github.com/flutter/flutter/issues/64344
2020-08-24 11:48:13 -07:00
skia-flutter-autoroll
09950ea468
Roll Skia from 370cbc70e080 to 60cf6748adae (1 revision) (#20720) 2020-08-23 22:51:01 -07:00
skia-flutter-autoroll
4bb6251015
Roll Dart SDK from 3367c66051ce to 4b5af9312298 (2 revisions) (#20719) 2020-08-23 22:11:01 -07:00
skia-flutter-autoroll
6e93ae663f
Roll Fuchsia Mac SDK from KGZUxRgWx... to srqzFjKiY... (#20718) 2020-08-23 13:36:02 -07:00
skia-flutter-autoroll
ab61c7c7dd
Roll Fuchsia Mac SDK from ihb9EES8t... to KGZUxRgWx... (#20717) 2020-08-23 00:31:01 -07:00
skia-flutter-autoroll
9ebafbd119
Roll Skia from d16d65476219 to 370cbc70e080 (1 revision) (#20716) 2020-08-22 19:31:02 -07:00
skia-flutter-autoroll
491be5c648
Roll Skia from bf7acb2707b8 to d16d65476219 (1 revision) (#20713) 2020-08-22 14:11:02 -07:00
Sanjay Chouksey
b6cb1f13dd
Update view attributes after creation (#20638) 2020-08-22 12:46:04 -07:00
skia-flutter-autoroll
aa08192a6b
Roll Fuchsia Mac SDK from YyBGPvl_S... to ihb9EES8t... (#20711) 2020-08-22 09:56:01 -07:00
skia-flutter-autoroll
1c0605dfc0
Roll Dart SDK from 51e3e9956f0f to 3367c66051ce (1 revision) (#20709) 2020-08-21 21:31:01 -07:00
LI DONGZE
da5eb26b5d
Reporting back native stacktrace to dart side for crash reporting. (#20280)
* Add native stacktrace on iOS

* Add native stacktrace on Android

* format and changing naming to errorWithCode on iOS

* reformat

* Remove stacktrace from decodeEnvelope, not needed.

* Separate encodeErrorEnvelopeWithStacktrace with original encode function

* Add unit tests

* re-format

* change comments for stacktrace

* Remove changes for iOS

Co-authored-by: Ben Li <libe@google.com>
2020-08-21 19:59:36 -07:00
skia-flutter-autoroll
c78d57bd7d
Roll Skia from be1455850c3c to bf7acb2707b8 (10 revisions) (#20705) 2020-08-21 18:01:02 -07:00
skia-flutter-autoroll
3a7eeb4fa4
Roll Fuchsia Mac SDK from blfxWCY-q... to YyBGPvl_S... (#20703) 2020-08-21 17:16:01 -07:00
skia-flutter-autoroll
f774281a0f
Roll Dart SDK from 39179049ede9 to 51e3e9956f0f (1 revision) (#20702) 2020-08-21 17:01:01 -07:00
skia-flutter-autoroll
dd6ad2eca6
Roll Skia from d7389b003ab9 to be1455850c3c (2 revisions) (#20696) 2020-08-21 16:36:01 -07:00
LongCatIsLooong
d6a0b965b0
Reland "account for inline placeholders in longest line calculation (#20370)" reverted in (#20669) (#20678) 2020-08-21 16:31:02 -07:00
Jason Simmons
e09af86a26
Remove image sizes from Picture::GetAllocationSize (#20673) 2020-08-21 16:26:02 -07:00
David Worsham
fe8c154452
fuchsia: Rollback broken SDK and re-enable test (#20699)
https://github.com/flutter/flutter/issues/64343
2020-08-21 16:05:36 -07:00
David Worsham
158eacd843
fuchsia: Disable flaky test (#20697) 2020-08-21 12:26:15 -07:00
David Worsham
bb57fb4740
fuchsia: Fix elevation issues (#20681) 2020-08-21 11:57:09 -07:00
skia-flutter-autoroll
0f1b1bab85
Roll Fuchsia Linux SDK from LhYt1i9FP... to veVL2IxV1... (#20695) 2020-08-21 09:16:01 -07:00
skia-flutter-autoroll
078a517191
Roll Dart SDK from 58f4fe1787dd to 39179049ede9 (1 revision) (#20694) 2020-08-21 09:11:01 -07:00
skia-flutter-autoroll
d495da20d0
Roll Skia from 141ec1a151a9 to d7389b003ab9 (1 revision) (#20693) 2020-08-21 08:56:04 -07:00
skia-flutter-autoroll
b4754fc10c
Roll Skia from 0c9a6e702d99 to 141ec1a151a9 (1 revision) (#20692) 2020-08-21 07:31:01 -07:00
skia-flutter-autoroll
96dce2cbff
Roll Dart SDK from b330d8bd7b69 to 58f4fe1787dd (1 revision) (#20689) 2020-08-21 04:21:02 -07:00
skia-flutter-autoroll
2dee665bd2
Roll Fuchsia Mac SDK from BH-k5YzBV... to blfxWCY-q... (#20688) 2020-08-21 04:11:01 -07:00
skia-flutter-autoroll
f8500e97f5
Roll Skia from 6f0d302d331f to 0c9a6e702d99 (3 revisions) (#20685) 2020-08-21 00:16:01 -07:00
skia-flutter-autoroll
559157e615
Roll Dart SDK from 4c2c98257c1a to b330d8bd7b69 (1 revision) (#20684) 2020-08-20 23:51:01 -07:00
skia-flutter-autoroll
ef9f50f266
Roll Skia from b9af723001b7 to 6f0d302d331f (1 revision) (#20683) 2020-08-20 22:51:02 -07:00
skia-flutter-autoroll
ae2dbefbed
Roll Dart SDK from ecfee8071fda to 4c2c98257c1a (2 revisions) (#20680) 2020-08-20 19:41:01 -07:00
Greg Spencer
ea971c5859
Fix the format script so that it works with deleted files. (#20679)
When I rewrote the format script, I forgot to filter out deleted files from the list of files that it looks at. This filters the file list to exclude deleted files
2020-08-20 19:03:12 -07:00
Chris Yang
b6035062ff
Enable ios platform view by default (#20671) 2020-08-20 17:46:01 -07:00
stuartmorgan
498dbc6dc1
[windows] Mostly eliminate the state structs (#20662)
The Windows embedding was based on the GLFW embedding, which grew
organically from a singe-file implementation that used structs to manage
all of the important state. It is in the process of being converted to a
cleaner object-based architecture, but currently it is a hybrid of
objects and structs that have redundant data, making it very prone to
errors of forgetting to update pointers in multiple locations.

This reduces the remaining structs to only a single pointer to the
larger object that manages the responsibilities that handle is
associated with, so that there is no need to wire things together in
multiple places.

For now they continue to exist as projections of the larger objects, but
that will be eliminated over time by having an object structure that
better reflects the API structure.

Fixes https://github.com/flutter/flutter/issues/64250
2020-08-20 16:50:06 -07:00
skia-flutter-autoroll
9336f5d443
Roll Skia from 3dc0da6c6d7e to b9af723001b7 (17 revisions) (#20675) 2020-08-20 16:41:02 -07:00
Srujan Gaddam
68b5337d34
Add null checks for CanvasElement attributes (#20580)
Changes in processing compatibility info in dart:html requires
these getters to be null-checked.
2020-08-20 15:50:01 -07:00
Kaushik Iska
38a302960f
All shape related structs are together (#20665) 2020-08-20 15:21:02 -07:00
skia-flutter-autoroll
2ed30df652
Roll Skia from e1e240804211 to 3dc0da6c6d7e (4 revisions) (#20661) 2020-08-20 15:16:02 -07:00
skia-flutter-autoroll
fe596f89c9
Roll Fuchsia Linux SDK from 57GPNeoZ7... to LhYt1i9FP... (#20658) 2020-08-20 15:11:01 -07:00
stuartmorgan
60b8d00865
Use references for C++ MethodResult and EventSink (#20651)
The response APIs for method channels and event channels used pointers
for optional parameters; this kept the API surface simple, but meant
that they couldn't take rvalues. As a result, returning success values
or error details often took an extra line, declaring a variable for the
result just to have something to pass the address of.

This converts them to using references, with function overloading to
allow for optional parameters, so that values can be inlined.

For now the pointer versions are still present, so that conversion can
be done before it becomes a breaking change; they will be removed soon.

Part of https://github.com/flutter/flutter/issues/63975
2020-08-20 15:10:28 -07:00
skia-flutter-autoroll
87be540f8b
Roll Fuchsia Mac SDK from NqQtPDAdO... to BH-k5YzBV... (#20657) 2020-08-20 15:06:02 -07:00