19321 Commits

Author SHA1 Message Date
skia-flutter-autoroll
c7480be15d
Roll Skia from fb5e0ebef07c to 0b6bf1c9668e (2 revisions) (#21074)
https://skia.googlesource.com/skia.git/+log/fb5e0ebef07c..0b6bf1c9668e

2020-09-10 skia-autoroll@skia-public.iam.gserviceaccount.com Roll dawn from 0a1061da0c7f to 87f25134a8c1 (7 revisions)
2020-09-10 bsalomon@google.com Revert "Temporary hack to force text texture index varying to be float."

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 reed@google.com on the revert to ensure that a human
is aware of the problem.

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/master/autoroll/README.md
2020-09-10 21:03:49 -07:00
skia-flutter-autoroll
a168416c8c
Roll Fuchsia Mac SDK from 5o9onBKYd... to b9rM1nBK1... (#21079)
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 on the revert to ensure that a human
is aware of the problem.

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/master/autoroll/README.md
2020-09-10 21:03:31 -07:00
chunhtai
833c6a2e00
Implement browser history class for router widget (#20794) 2020-09-10 21:00:02 -07:00
Chris Bracken
0c6c265a6f
Disable iOS ScenariosTests suite (#21080)
This disables the macOS Scenarios app tests until a fix for the current
flakiness is found.

This also reverts commit 55d447a1c3e124e4b1ae6c8a1230808412657a85 where
one test was previously disabled. However, another started failing soon
after, so instead we disable the whole suite here.
2020-09-10 19:50:03 -07:00
Chris Bracken
55d447a1c3
Disable a flaky Scenarios test (#21075)
This disables the macOS Scenarios app test
testFlutterViewControllerDetachingSendsApplicationLifecycle
until a fix for the flakiness is found.

Related issue: https://github.com/flutter/flutter/issues/61620
2020-09-10 13:21:17 -07:00
skia-flutter-autoroll
c88430629a
Roll Skia from 3d41d509a6a9 to fb5e0ebef07c (1 revision) (#21072) 2020-09-10 09:25:03 -07:00
Damian Wrobel
e831433a20
Add missing <cstring> header (#21069)
Fixes the following compilation errors:

../../flutter/shell/platform/linux/fl_value.cc:267:3: error: use of undeclared identifier 'memcpy'
  memcpy(self->values, data, sizeof(uint8_t) * data_length);
  ^
../../flutter/shell/platform/linux/fl_value.cc:284:3: error: use of undeclared identifier 'memcpy'
  memcpy(self->values, data, sizeof(int32_t) * data_length);
  ^
../../flutter/shell/platform/linux/fl_value.cc:294:3: error: use of undeclared identifier 'memcpy'
  memcpy(self->values, data, sizeof(int64_t) * data_length);
  ^
../../flutter/shell/platform/linux/fl_value.cc:304:3: error: use of undeclared identifier 'memcpy'
  memcpy(self->values, data, sizeof(double) * data_length);
  ^

../../flutter/shell/platform/linux/fl_string_codec.cc:29:28: error: use of undeclared identifier 'strlen'
  return g_bytes_new(text, strlen(text));
                           ^

../../flutter/shell/platform/linux/fl_standard_message_codec.cc:512:23: error: use of undeclared identifier 'strlen'
      size_t length = strlen(text);
                      ^

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-09-10 09:24:54 -07:00
skia-flutter-autoroll
9a6f09daf7
Roll Fuchsia Linux SDK from 9kiAbu3bd... to l8baHga4c... (#21071) 2020-09-10 06:30:01 -07:00
skia-flutter-autoroll
059638452e
Roll Dart SDK from 66ca43504da0 to 72393cc698da (1 revision) (#21070) 2020-09-10 04:30:01 -07:00
skia-flutter-autoroll
66a56c020c
Roll Skia from 917a2d741e92 to 3d41d509a6a9 (2 revisions) (#21067) 2020-09-10 03:25:02 -07:00
skia-flutter-autoroll
cd516eedbc
Roll Fuchsia Mac SDK from K1oZWWtBn... to 5o9onBKYd... (#21066) 2020-09-10 03:05:01 -07:00
skia-flutter-autoroll
e6f1ee295e
Roll Skia from 5eea6aea02d9 to 917a2d741e92 (1 revision) (#21065) 2020-09-10 02:05:01 -07:00
skia-flutter-autoroll
38195b9c56
Roll Dart SDK from 325d9b628caa to 66ca43504da0 (1 revision) (#21064) 2020-09-10 00:00:02 -07:00
Sebastian Roth
fee6f9e533
Annotate valuePublishedByPlugin with nullable (#19267) 2020-09-09 19:45:02 -07:00
skia-flutter-autoroll
5ddbcc7120
Roll Dart SDK from 5e8b31a5fa48 to 325d9b628caa (1 revision) (#21063) 2020-09-09 19:30:02 -07:00
David Worsham
a52397e05f
fuchsia: Compile disabled RasterThreadMerger code (#20984) 2020-09-09 18:40:01 -07:00
Alexander Brusher
cd580e2099
Adds increment/decrement actions to fuchsia accessibility bridge. (#21049) 2020-09-09 18:34:38 -07:00
xster
7ebab5dc8a
Delete unused iOS test scripts after LUCI change (#18712)
This deletes old LUCI build scripts that have been unused since
https://flutter-review.googlesource.com/c/recipes/+/3160
2020-09-09 18:22:45 -07:00
Harry Terkelsen
80049a7b91
Remove the type parameter from SkObjectFinalizationRegistry. (#21061) 2020-09-09 17:20:02 -07:00
stuartmorgan
b55829887e
Rename Registrar to PluginRegistrar in Win/GLFW C API (#21058) 2020-09-09 17:15:03 -07:00
Yurii Nakonechnyi
e4f84f19fd
Clarify that run.sh builds and runs the GLFW example 2020-09-09 17:11:20 -07:00
skia-flutter-autoroll
7e1ff9cd92
Roll Fuchsia Linux SDK from eBus_y4DN... to 9kiAbu3bd... (#21056) 2020-09-09 17:10:02 -07:00
kele86838437
ab0d4b43be
Update Androidx import (#19059) 2020-09-09 16:10:03 -07:00
skia-flutter-autoroll
f8502d29e5
Roll Skia from 215d2b0fa42d to 5eea6aea02d9 (11 revisions) (#21055) 2020-09-09 15:40:01 -07:00
chunhtai
2a12d78c17
Fixed ios layout change to not refocus semantics object if the focus … (#21029)
* Fixed ios layout change to not refocus semantics object if the focus is outside of flutter

* update

* addressing comments
2020-09-09 15:39:21 -07:00
chenjianguang
5271340b88
Fix usage of WeakPtr valid check (#20106) 2020-09-09 15:34:24 -07:00
Yuqian Li
00978035cd
Open a fresh dir during LoadSkSLs (#21050)
Fixes https://github.com/flutter/flutter/issues/65258

The following devicelab tests should pass after this patch:

- flutter_gallery_sksl_warmup__transition_perf_e2e_ios32
- flutter_gallery_sksl_warmup_ios32__transition_perf
2020-09-09 15:33:33 -07:00
skia-flutter-autoroll
bc1507a5c2
Roll Dart SDK from 2e838b7b4503 to 5e8b31a5fa48 (2 revisions) (#21054)
https://dart.googlesource.com/sdk.git/+log/2e838b7b4503..5e8b31a5fa48

2020-09-09 dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com Version 2.10.0-109.0.dev
2020-09-09 dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com Version 2.10.0-108.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 on the revert to ensure that a human
is aware of the problem.

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/master/autoroll/README.md
2020-09-09 14:58:49 -07:00
linxuebin
564367b297
Increase thread priority before engine init (#20922)
We get huge ANRs in not pure flutter app.
We found that 0.15% of the engine initialization took more than 10 seconds, every 10 million starts.
2020-09-09 14:07:34 -07:00
Chris Bracken
404e9b7505
Check for dart2js on felt startup (#21046)
This adds a check for the presence of dart2js in the engine build.

Felt relies on an engine build with `--full-dart-sdk` set. Previously,
we checked for the presence of pub, but not for the presence of
web-specific tooling such as dart2js that felt relies on. Pub is built
as part of the default Dart SDK build when `--full-dart-sdk` is not set,
so its presence is insufficient to prove that other required tooling is
present.

Without this check, we get the following error on run:

    Unhandled exception:
    ProcessException: No such file or directory
      Command: /Users/cbracken/src/flutter/engine/src/out/host_debug_unopt/dart-sdk/bin/dart2js --no-minify --disable-inlining --enable-asserts --enable-experiment=non-nullable --no-sound-null-safety -O2 -o test/paragraph_builder_test.dart.browser_test.dart.js test/paragraph_builder_test.dart
2020-09-09 14:04:52 -07:00
skia-flutter-autoroll
1fb13373a9
Roll Fuchsia Mac SDK from Phn3nF_BJ... to K1oZWWtBn... (#21051) 2020-09-09 14:00:02 -07:00
skia-flutter-autoroll
c0abf5b365
Roll Skia from 81606b5d9774 to 215d2b0fa42d (4 revisions) (#21045) 2020-09-09 11:40:01 -07:00
Zachary Anderson
f7c7b41f0a
Revert "Enable lazy-async-stacks by-default in all modes (Take 3) (#20895)" (#21043)
This reverts commit 575a51948d81756c778352b40f639fa557325fd7.
2020-09-09 09:25:17 -07:00
skia-flutter-autoroll
61062fdbca
Roll Skia from 81c6d6eeb4cf to 81606b5d9774 (5 revisions) (#21041) 2020-09-09 09:00:02 -07:00
skia-flutter-autoroll
bbcc495b13
Roll Dart SDK from ffbfa2000435 to 2e838b7b4503 (2 revisions) (#21039) 2020-09-09 07:05:01 -07:00
skia-flutter-autoroll
f3a17b63d0
Roll Skia from f9d5940fef55 to 81c6d6eeb4cf (1 revision) (#21038) 2020-09-09 06:20:02 -07:00
skia-flutter-autoroll
beb7df5060
Roll Skia from 445c8ebcb710 to f9d5940fef55 (3 revisions) (#21037) 2020-09-09 04:20:02 -07:00
skia-flutter-autoroll
e3de8d0f15
Roll Fuchsia Linux SDK from coVjRTWSf... to eBus_y4DN... (#21035) 2020-09-09 01:05:02 -07:00
skia-flutter-autoroll
7766d2e2b8
Roll Fuchsia Mac SDK from TyNHQXzNU... to Phn3nF_BJ... (#21034) 2020-09-09 00:55:02 -07:00
skia-flutter-autoroll
89d34b0f38
Roll Skia from b8ae7fa12aa0 to 445c8ebcb710 (1 revision) (#21032) 2020-09-08 23:05:01 -07:00
skia-flutter-autoroll
c538f40d36
Roll Dart SDK from a2c9cae4dcd8 to ffbfa2000435 (1 revision) (#21031) 2020-09-08 20:55:01 -07:00
skia-flutter-autoroll
686667591c
Roll Skia from 04b9443274cf to b8ae7fa12aa0 (1 revision) (#21030) 2020-09-08 17:15:01 -07:00
Chris Bracken
cf8c6b8ba1
Update web lerpDouble to match C++ behaviour (#21010)
This updates the web_ui implementation of lerpDouble to match the
behaviour of the C++ engine implementation in dart:ui.

Specifically this covers the following changes:
* #20871: stricter handling of NaN and infinity
* #20879: Improve the precision of lerpDouble

lerpDouble: stricter handling of NaN and infinity (#20871)
----------------------------------------------------------

Previously, the behaviour of lerpDouble with respect to NaN and infinity
was relatively complex and difficult to reason about. This patch
simplifies the behaviour with respect to those conditions and adds
documentation and tests.

In general, if `a == b` or both values are null, infinite, or NaN, `a`
is returned. Otherwise we require `a` and `b` and `t` to be finite or
null and the result of the linear interpolation is returned.

Improve the precision of lerpDouble (#20879)
--------------------------------------------

Reduces errors caused by the loss of floating point precision when the
two extrema of the lerp differ significantly in magnitude. Previously,
we used the calculation:

    a + (b - a) * t

When the difference in magnitude between `a` and `b` exceeds the
precision representable by double-precision floating point math, `b - a`
results in the larger-magnitude value of `a` or `b`. The error between
the value produced and the correct value is then scaled by t.

A simple example of the impact can be seen when `a` is significantly
larger in magnitude than `b`. In that case, `b - a` results in `a` and
when `t` is 1.0, the resulting value is `a - (a) * 1.0 == 0`.

The patch transforms the computation to the mathematically-equivalent
expression:

    a * (1.0 - t) + b * t

By scaling each value independently, the behaviour is more accurate.
From the point of view of performance, this adds an extra
multiplication, but multiplication is relatively cheap and the behaviour
is significantly better.

This patch also adds a `precisionErrorTolerance` constant to
test_utils.dart and migrates existing tests to use `closeTo()` for
testing.

The tests themselves *do* currently use values that have an exact
floating-point representation, but we should allow for flexibility in
future implementation changes.
2020-09-08 16:04:11 -07:00
skia-flutter-autoroll
cef383d3f5
Roll Skia from cf1a4f50121f to 04b9443274cf (2 revisions) (#21028) 2020-09-08 15:55:02 -07:00
skia-flutter-autoroll
74310709fc
Roll Dart SDK from 33b6c95936e0 to a2c9cae4dcd8 (1 revision) (#21027) 2020-09-08 15:00:02 -07:00
Gary Qian
716dce086f
Android 30r3 (#21025) 2020-09-08 14:51:50 -07:00
skia-flutter-autoroll
6a6c23aaf2
Roll Skia from c0d3495e1ee2 to cf1a4f50121f (6 revisions) (#21026) 2020-09-08 14:35:01 -07:00
Chinmay Garde
f0fb74b8fb
Avoid crashing and display error if the process cannot be prepared for JIT mode Dart VM. (#20980) 2020-09-08 13:41:31 -07:00
skia-flutter-autoroll
af90dd366f
Roll Skia from cd54c8385c31 to c0d3495e1ee2 (12 revisions) (#21024) 2020-09-08 13:15:02 -07:00
skia-flutter-autoroll
e7d558fbe4
Roll Dart SDK from b88c06c314f4 to 33b6c95936e0 (2 revisions) (#21023)
https://dart.googlesource.com/sdk.git/+log/b88c06c314f4..33b6c95936e0

2020-09-08 dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com Version 2.10.0-103.0.dev
2020-09-08 dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com Version 2.10.0-102.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 on the revert to ensure that a human
is aware of the problem.

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/master/autoroll/README.md
2020-09-08 12:59:55 -07:00