9062 Commits

Author SHA1 Message Date
xster
ea2cb63687 Make a pass through all the embedding javadocs (flutter/engine#17109) 2020-03-13 16:34:34 -07:00
skia-flutter-autoroll
489e5252c6 Roll src/third_party/dart c3a0bb086a5a..7c5059f52881 (10 commits) (flutter/engine#17145) 2020-03-13 16:26:02 -07:00
skia-flutter-autoroll
92b2344a96 Roll fuchsia/sdk/core/linux-amd64 from Fjow3... to 6ds94... (flutter/engine#17144) 2020-03-13 16:11:03 -07:00
Jim Graham
61cfe07919 Reland ImageFiltered bounds fix (flutter/engine#17077)
Fix for https://github.com/flutter/flutter/issues/51978 to use the bounds of the filtered result as the layer's paint bounds.
2020-03-13 14:44:27 -07:00
George Wright
ead58aad0c Disable flutter_runner_scenic_tests until the instability is resolved (flutter/engine#17141) 2020-03-13 13:56:01 -07:00
skia-flutter-autoroll
c8902adca1 Roll src/third_party/skia e05b1b7229ca..0bd00f438e97 (2 commits) (flutter/engine#17140) 2020-03-13 13:16:02 -07:00
Brian Osman
ac523daa3d Canvas: Remove some unused virtuals, and prepare for signature change (flutter/engine#17135)
* Canvas: Remove some unused virtuals, and prepare for signature change

* Better vertices fix

* Add empty placeholders for old signature
2020-03-13 15:25:01 -04:00
skia-flutter-autoroll
27f4a8ecbc Roll src/third_party/skia f9329afa27a0..e05b1b7229ca (1 commits) (flutter/engine#17138) 2020-03-13 11:41:04 -07:00
skia-flutter-autoroll
7b4194c9e7 Roll src/third_party/dart a303769fad9b..c3a0bb086a5a (14 commits) (flutter/engine#17137) 2020-03-13 11:26:02 -07:00
skia-flutter-autoroll
934c337203 Roll src/third_party/skia 75e29072e7d6..f9329afa27a0 (4 commits) (flutter/engine#17136)
https://skia.googlesource.com/skia.git/+log/75e29072e7d6..f9329afa27a0

git log 75e29072e7d6..f9329afa27a0 --date=short --first-parent --format='%ad %ae %s'
2020-03-13 jvanverth@google.com Revert "Clear out atlases if they haven't been used in a while."
2020-03-13 csmartdalton@google.com Remove instanced draws and simplify GrMesh
2020-03-13 reed@google.com remove legacy virtual from enforcer
2020-03-13 jvanverth@google.com Clear out atlases if they haven't been used in a while.

Created with:
  gclient setdep -r src/third_party/skia@f9329afa27a0

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 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/+/master/autoroll/README.md

Bug: None
Tbr: brianosman@google.com
2020-03-13 13:05:06 -04:00
MennaFadali
77db1c8e9e Implementing Locale.toLanguageTag in flutter web. (flutter/engine#17131) 2020-03-13 08:57:53 -07:00
skia-flutter-autoroll
7b484fb1e4 Roll src/third_party/skia ba96256581c2..75e29072e7d6 (2 commits) (flutter/engine#17134)
https://skia.googlesource.com/skia.git/+log/ba96256581c2..75e29072e7d6

git log ba96256581c2..75e29072e7d6 --date=short --first-parent --format='%ad %ae %s'
2020-03-13 bryct@amazon.com Implement support for path effects in SkSVGDevice backend.
2020-03-13 robertphillips@google.com Make AAFlatteningConvexPathOp surface its programInfos at record time

Created with:
  gclient setdep -r src/third_party/skia@75e29072e7d6

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 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/+/master/autoroll/README.md

Bug: None
Tbr: brianosman@google.com
2020-03-13 11:43:58 -04:00
skia-flutter-autoroll
82d99f54e8 Roll src/third_party/skia bb7684276afd..ba96256581c2 (7 commits) (flutter/engine#17133) 2020-03-13 06:46:02 -07:00
skia-flutter-autoroll
f612a7c81e Roll fuchsia/sdk/core/linux-amd64 from _k1WT... to Fjow3... (flutter/engine#17127) 2020-03-13 02:31:01 -07:00
skia-flutter-autoroll
389e656216 Roll src/third_party/dart 33349076ee7f..7c2f62406bef (23 commits) (flutter/engine#17120) 2020-03-12 15:36:02 -07:00
Nathan Rogers
63bc5eaf8e [fuchsia] Change vsync trace name back to "vsync callback" on Fuchsia (flutter/engine#17118)
Fuchsia benchmarks depend the name being precisely "vsync callback".
Since this is causing immediate build issues, change it back to "vsync
callback" on Fuchsia.  Stronger testing for this in the long run is
currently under discussion.

b/150902962
2020-03-12 14:57:50 -07:00
skia-flutter-autoroll
8444a41f7f Roll src/third_party/skia 9b449b73d367..bb7684276afd (12 commits) (flutter/engine#17117) 2020-03-12 14:51:03 -07:00
Jonah Williams
9bb1af01f0 build a precompiled SDK with canvas kit enabled (flutter/engine#17115) 2020-03-12 14:50:22 -07:00
Emmanuel Garcia
c6e300a3de Fix link in readme (flutter/engine#17119) 2020-03-12 13:59:31 -07:00
Emmanuel Garcia
4a30d786c6 Define embedding dependencies in Gradle (flutter/engine#17116) 2020-03-12 13:49:46 -07:00
skia-flutter-autoroll
e5370910bf Roll src/third_party/skia 1743144ab839..9b449b73d367 (5 commits) (flutter/engine#17113) 2020-03-12 13:01:01 -07:00
skia-flutter-autoroll
167fda73b2 Roll fuchsia/sdk/core/linux-amd64 from Yk03L... to _k1WT... (flutter/engine#17112) 2020-03-12 12:56:01 -07:00
skia-flutter-autoroll
edcbfc01c0 Roll src/third_party/skia f0140ee00f95..1743144ab839 (2 commits) (flutter/engine#17111)
https://skia.googlesource.com/skia.git/+log/f0140ee00f95..1743144ab839

git log f0140ee00f95..1743144ab839 --date=short --first-parent --format='%ad %ae %s'
2020-03-12 skia-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/externals/swiftshader 16ae92a4ee52..7e857092052e (6 commits)
2020-03-11 jvanverth@google.com Remove need for gpu when unrefing managed resources.

Created with:
  gclient setdep -r src/third_party/skia@1743144ab839

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 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/+/master/autoroll/README.md

Bug: None
Tbr: brianosman@google.com
2020-03-12 09:20:15 -04:00
Chinmay Garde
8dba544fab Remove unused or unnecessary compiler specific marcos in FML. (flutter/engine#17101)
Macros to control inlining are not used and we explicitly recommending against
playing with compiler inlining. The macros for alignment became part of the
standard in C++11 and we already use the standard variants over these macros
(see `PointerData`). The formatters are unused as well and we use the stream
based variants for formatting.
2020-03-11 16:31:50 -07:00
skia-flutter-autoroll
524a2d1815 Roll src/third_party/dart 684c53a6f174..17eec5bcde78 (6 commits) (flutter/engine#17105) 2020-03-11 15:26:05 -07:00
skia-flutter-autoroll
ef745558df Roll src/third_party/skia dafbf121a8b1..f0140ee00f95 (6 commits) (flutter/engine#17104) 2020-03-11 14:41:05 -07:00
skia-flutter-autoroll
650bd3330f Roll fuchsia/sdk/core/linux-amd64 from X3Xm2... to Yk03L... (flutter/engine#17103) 2020-03-11 14:26:03 -07:00
Chinmay Garde
8f5f888826 Use the standard [[nodiscard]] attribute instead of an FML macro. (flutter/engine#17100) 2020-03-11 13:36:01 -07:00
skia-flutter-autoroll
4c83d67c68 Roll src/third_party/skia 6dc0f63a509c..dafbf121a8b1 (1 commits) (flutter/engine#17098) 2020-03-11 13:06:02 -07:00
Nurhan Turgut
0a3bbd1f00 increasing user limits for macos (flutter/engine#17097) 2020-03-11 12:15:47 -07:00
skia-flutter-autoroll
bfe0588cba Roll src/third_party/dart 37530145ff53..684c53a6f174 (16 commits) (flutter/engine#17096) 2020-03-11 10:26:04 -07:00
skia-flutter-autoroll
15b6338b19 Roll src/third_party/skia 0340292972b9..6dc0f63a509c (4 commits) (flutter/engine#17095) 2020-03-11 09:16:03 -07:00
skia-flutter-autoroll
240d451502 Roll src/third_party/skia bf355123ae3b..0340292972b9 (9 commits) (flutter/engine#17089) 2020-03-11 00:51:04 -07:00
skia-flutter-autoroll
581541a05a Roll fuchsia/sdk/core/linux-amd64 from v32mJ... to X3Xm2... (flutter/engine#17086) 2020-03-11 00:51:01 -07:00
Chinmay Garde
a483f24165 Remove the unused method on iOS surface to make the resource context current. (flutter/engine#17084) 2020-03-11 00:46:02 -07:00
Chinmay Garde
ba0c0a0796 Revert "Add support for the Metal backend on all iOS builds. (#17080)" (flutter/engine#17088)
This reverts commit 9e1984acdf58bbf68b36ed7b16dbce436c721176.
2020-03-10 23:32:18 -07:00
Chinmay Garde
9e1984acdf Add support for the Metal backend on all iOS builds. (flutter/engine#17080) 2020-03-10 19:31:02 -07:00
skia-flutter-autoroll
3c3d13653d Roll src/third_party/skia d3f67dbf9f36..bf355123ae3b (9 commits) (flutter/engine#17079) 2020-03-10 19:26:02 -07:00
Chinmay Garde
22312c8790 Disable Embedder11yTest::A11yTreeIsConsistent to unblock LUCI. (flutter/engine#17081)
See https://github.com/flutter/flutter/issues/52372
2020-03-10 18:48:23 -07:00
Chinmay Garde
ac5feeb766 Gather demangled stack traces and report the same to console on crashes. (flutter/engine#16450)
These should only be used on host binaries for more detailed crash reports.
Installing the handler on targets (iOS/Android) may cause use to break existing
crash reporting mechanisms users may have installed themselves in the process.

This should work on Darwin & Linux for now.

Doing something like int* a = nullptr; *a = 12; or abort or tripping an
assertion should print something the following before program termination. We
can tweak the report further if necessary.

```
[ERROR:flutter/fml/backtrace.cc(110)] Caught signal SIGSEGV during program execution.
Frame 0: 0x10658342c void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)
Frame 1: 0x106555070 void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)
Frame 2: 0x106554f81 testing::Test::Run()
Frame 3: 0x106555dc3 testing::TestInfo::Run()
Frame 4: 0x1065570a1 testing::TestSuite::Run()
Frame 5: 0x106562a55 testing::internal::UnitTestImpl::RunAllTests()
Frame 6: 0x10658c22c bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)
Frame 7: 0x1065625c3 bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)
Frame 8: 0x106562445 testing::UnitTest::Run()
Frame 9: 0x105c8dc33 RUN_ALL_TESTS()
Frame 10: 0x105c8dbe6 main
Frame 11: 0x7fff7c2dc3d5 start
```

Known issue: This routines that generate the stack trace are not signal safe.
But since we only use the same before the process is terminating, this ought to
be fine. I’ll work in a separate patch to convert all the internals to be signal
safe. In the meantime, this will help us better identify the causes of flakes on
our bots.

Fixes https://github.com/flutter/flutter/issues/50244
2020-03-10 16:31:06 -07:00
Chinmay Garde
6349c95def Implement asynchronous texture uploads when using the Metal backend on iOS. (flutter/engine#17046)
This moves the Metal `GrContext` creation utilities from `GPUSurfaceMetal` into
a separate `IOSContext` object subclass. An analogue of this object was used in
the GL regime for the management of onscreen and offscreen contexts that were
not tied to the lifecycle of the `GPUSurface`. This pattern has now been
generalized for use with all backends that need a resource context
(`IOSContextGL` and `IOContextMetal`).

The platform views controller management in the `ExternalViewEmbedder` interface
implementation was repeated three times for [Metal][metal], [OpenGL](opengl) and
[Software](software) rendering. This repetition has been removed and a single
implementation present in the base `IOSSurface` and used on all platforms.
Addition of new client rendering APIs should not affect how the engine renders
into the platform view interleaving levels.

All rendering API selection logic has been moved into a single set of utilities
in `rendering_api_selection.h`. This enables the removal of a lot of code blocks
guarded by `FLUTTER_SHELL_ENABLE_METAL`. The remaining uses of this will be
removed when unified builds are enabled.

The Metal backend now also adds traces similar to the GL backend.

The `IOGLContext` has been renamed to `IOContextGL` to be more in line with the
convention used in this library.

Fixes https://github.com/flutter/flutter/issues/41827
Adds https://github.com/flutter/flutter/issues/52150

[metal]: 46dbf3a761/shell/platform/darwin/ios/ios_surface_metal.mm (L55)
[opengl]: 46dbf3a761/shell/platform/darwin/ios/ios_surface_gl.mm (L95)
[software]: 46dbf3a761/shell/platform/darwin/ios/ios_surface_software.mm (L146)
2020-03-10 16:01:53 -07:00
skia-flutter-autoroll
4ca4c56f10 Roll src/third_party/dart 97674262bc29..ace1d9b9213a (14 commits) (flutter/engine#17078) 2020-03-10 15:56:03 -07:00
Emmanuel Garcia
66e6a6de18 Add RTree to flow (flutter/engine#16923) 2020-03-10 15:47:17 -07:00
skia-flutter-autoroll
2ee7ae86dd Roll src/third_party/skia 78dac6dcb222..d3f67dbf9f36 (6 commits) (flutter/engine#17072) 2020-03-10 14:56:01 -07:00
Jim Graham
4298c81041 Revert "Fix bounds of image_filter_layer (#16960)" (flutter/engine#17074)
This reverts commit 5f527ac3b3e91c15082cac9bb191fa4f2aa83fae.
2020-03-10 14:09:10 -07:00
Chinmay Garde
52e75cba16 Use the ELF loader to setup AOT symbols in benchmark runner. (flutter/engine#17051)
We no longer package AOT artifacts as discrete blobs. The portable ELF loader
from the testing library may be used instead.

Fixes https://github.com/flutter/flutter/issues/52263
2020-03-10 12:28:24 -07:00
skia-flutter-autoroll
3d46133a67 Roll src/third_party/skia 23899c64e3db..78dac6dcb222 (19 commits) (flutter/engine#17069) 2020-03-10 12:06:01 -07:00
Ferhat
b9785ff7c3 [web] Fixes for Firefox & Safari double underline decoration bugs. (flutter/engine#16994)
* Work around line measurement rounding bug in Firefox. Add -webkit prefix for Safari text decoration
* Add check for measurement tests for firefox
2020-03-09 22:36:46 -07:00
Dan Field
f48784c95b Avoid capturing this unsafely in MultiFrameCodec (flutter/engine#16824) 2020-03-09 21:18:50 -07:00
Yegor
98f2be6b1f Revert "Revert "fix shadows and mask filter blurs (#16963)" (#17008)" (flutter/engine#17040)
This reverts 7205c0e7b3e575a6dd5d14c0c22058ae40f261a3 and re-lands 8b77254d97416bb9b347a578410911ed09efbce3. The 8b77254d97416bb9b347a578410911ed09efbce3 was good. The screenshot changes were expected.

Fixes https://github.com/flutter/flutter/issues/32215
2020-03-09 20:32:59 -07:00