9033 Commits

Author SHA1 Message Date
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
Ferhat
c54d2ebe85 Add support for firefox mac installer. Update web_ui pubspec for http.wq (flutter/engine#17044)
* Add support for firefox mac installer. Update web_ui pubspec for http.wq
* Addressed review comment 'final'
2020-03-09 18:13:37 -07:00
Yegor
ec1c0c147c fix "TREE INCONSISTENT" noise in compositing_test.dart (flutter/engine#16995) 2020-03-09 16:26:18 -07:00
Yegor
138614b81a Add more child lifecycle tests (flutter/engine#16689) 2020-03-09 16:26:06 -07:00
Chris Bracken
723ab032dc Add libfreetype6-dev to desktop Linux dependencies (flutter/engine#17020)
Required for Freetype 2.
2020-03-09 15:07:45 -07:00
liyuqian
46dbf3a761 Disable shell benchmarks (flutter/engine#17038)
See https://github.com/flutter/flutter/issues/52263

TBR: @chinmaygarde
2020-03-09 14:12:04 -07:00
Jim Graham
5f527ac3b3 Fix bounds of image_filter_layer (flutter/engine#16960) 2020-03-09 13:58:44 -07:00
liyuqian
2d2facae58 Record fml and shell benchmarks (flutter/engine#16991) 2020-03-09 12:34:59 -07:00
skia-flutter-autoroll
201688bab9 Roll src/third_party/skia c56950442dd1..23899c64e3db (11 commits) (flutter/engine#17033) 2020-03-09 11:26:02 -07:00
Yegor
e5809b493a use commit date instead of author date (flutter/engine#17032) 2020-03-09 11:01:20 -07:00
skia-flutter-autoroll
8ec8337c1d Roll fuchsia/sdk/core/linux-amd64 from Rhz2c... to v32mJ... (flutter/engine#17024) 2020-03-09 10:56:02 -07:00
Jonah Williams
d699a9382d [frontend_server] forward new module name flag (flutter/engine#17002) 2020-03-09 10:51:04 -07:00
skia-flutter-autoroll
efe1277a13 Roll src/third_party/skia b18390699ea2..475b9d0fb796 (1 commits) (flutter/engine#17019) 2020-03-08 18:26:01 -07:00
skia-flutter-autoroll
953acd34d8 Roll fuchsia/sdk/core/linux-amd64 from YcueJ... to Rhz2c... (flutter/engine#17016) 2020-03-08 11:36:01 -07:00
skia-flutter-autoroll
293f7ec12d Roll src/third_party/skia 2e19af063bcc..b18390699ea2 (1 commits) (flutter/engine#17014) 2020-03-08 01:56:01 -08:00
Chris Bracken
c94d51bcb6 Update linux desktop deps installation script (flutter/engine#17011)
On a stock Ubuntu 19.10 system, the following deps are required, at
minimum:
  * libx11-dev
  * libxcursor-dev
  * libxrandr-dev
  * libxinerama-dev
  * libxxf86vm-dev
  * libgl-dev
2020-03-07 22:49:47 -08:00
skia-flutter-autoroll
57990d78c4 Roll fuchsia/sdk/core/linux-amd64 from FGMpI... to YcueJ... (flutter/engine#17012) 2020-03-07 21:06:02 -08:00
skia-flutter-autoroll
a2e8afccde Roll src/third_party/skia cf573d844da6..2e19af063bcc (1 commits) (flutter/engine#17009) 2020-03-07 11:16:01 -08:00
Chris Bracken
7205c0e7b3 Revert "fix shadows and mask filter blurs (#16963)" (flutter/engine#17008)
Broke golden file tests in the framework. Reverting to unblock the
engine roll to the framework.

This reverts commit 8b77254d97416bb9b347a578410911ed09efbce3.
2020-03-07 10:18:10 -08:00
skia-flutter-autoroll
6fc3c7600d Roll fuchsia/sdk/core/linux-amd64 from K1wwe... to FGMpI... (flutter/engine#17007) 2020-03-06 23:41:02 -08:00
skia-flutter-autoroll
2a86423c61 Roll src/third_party/skia 24a8e9e170f7..cf573d844da6 (4 commits) (flutter/engine#17004) 2020-03-06 20:11:03 -08:00
gaaclarke
c6818a4e5c Started deleting .DS_Store files so licenses can run on mac os x. (flutter/engine#16998) 2020-03-06 16:57:14 -08:00
gaaclarke
46c52ba051 doxygen tooling updates and doxygen for FlutterCodecs.h (flutter/engine#16947)
- added tools to help us document Flutter.framework for iOS
- filled in FlutterCodecs.h's missing documentation
2020-03-06 16:06:06 -08:00
Nurhan Turgut
0c182cf51b [web] Engine integration test (flutter/engine#16930)
* squashing the commits together

* directory rename, project rename. addressing reviewer comments

* update cirrus file

* change tool signature
2020-03-06 15:34:11 -08:00
skia-flutter-autoroll
8919b3bfce Roll src/third_party/skia 6e58290ba639..24a8e9e170f7 (5 commits) (flutter/engine#16996) 2020-03-06 15:01:02 -08:00
gaaclarke
991d11ca02 documented fluttertexture.h (flutter/engine#16950) 2020-03-06 14:28:56 -08:00
Nurhan Turgut
8ce4320b06 fushia licenses fix (flutter/engine#16992) 2020-03-06 13:34:47 -08:00
skia-flutter-autoroll
bec86ebda6 Roll src/third_party/skia beaaf4700f50..6e58290ba639 (9 commits) (flutter/engine#16990) 2020-03-06 13:11:02 -08:00
Yegor
8dafc47d0e remove 10s timeouts from tests (flutter/engine#16988) 2020-03-06 12:37:52 -08:00
skia-flutter-autoroll
2a795a8b2f Roll src/third_party/skia 54de2fa48d85..beaaf4700f50 (3 commits) (flutter/engine#16987) 2020-03-06 11:36:05 -08:00