7724 Commits

Author SHA1 Message Date
Nurhan Turgut
a4ebe04aa2 refactoring chrome_installer (flutter/engine#13122)
* refactoring before implementing the firefox installer. This PR carries utilities to a common place. Renames the lock file with a generic name.

* Fixed README file for browser_lock

* addressing PR comments: removing unimplemented firefox methods.
2019-10-14 14:51:08 -07:00
Michael Klimushyn
4b9fc4c1a5 Fire PlatformViewController FlutterView callbacks (flutter/engine#13015)
Fixes a bug where `PlatformViewController` was not being notified of `FlutterView` attachment changes.
2019-10-14 14:03:25 -07:00
gaaclarke
729a871326 iOS Platform View: Fixed overrelease of the observer. (flutter/engine#13093) 2019-10-14 13:49:02 -07:00
Ferhat
a3654ec08f [web] Add basic color per vertex drawVertices API support (flutter/engine#13066)
* Implement basic drawVertices for BlendMode.srcOver and hairline rendering
* Implement maxDiffRate parameter for screenshot tests
2019-10-14 13:16:05 -07:00
Mouad Debbar
918a61752e Support keyboard types on mobile browsers (flutter/engine#13044) 2019-10-14 13:10:01 -07:00
liyuqian
892f852039 Change IO thread shader cache strategy (flutter/engine#13121)
So it's the same with the GPU thread.

Otherwise, some shaders may be cached in binary on the IO thread, and we will lose them when we do the SkSL precompile.

For b/140174804
2019-10-14 13:05:05 -07:00
skia-flutter-autoroll
4aa3ee0c26 Roll fuchsia/sdk/core/linux-amd64 from _GTls... to xRgq0... (flutter/engine#13115)
Roll fuchsia/sdk/core/linux-amd64 from _GTls... to xRgq0...

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-linux-sdk-flutter-engine
Please CC  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
2019-10-14 15:29:08 -04:00
skia-flutter-autoroll
34e38a2336 Roll src/third_party/skia 3838fe3c82b4..a7e1b45d9c28 (1 commits) (flutter/engine#13117)
https://skia.googlesource.com/skia.git/+log/3838fe3c82b4..a7e1b45d9c28

git log 3838fe3c82b4..a7e1b45d9c28 --date=short --no-merges --format='%ad %ae %s'
2019-10-13 skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com Update SKP version

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

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 csmartdalton@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=csmartdalton@google.com
2019-10-14 15:26:15 -04:00
Jason Simmons
1859de2ff0 Integrate more SkParagraph builder patches (flutter/engine#13094)
* ParagraphBuilderSkia::AddPlaceholder implementation
* StrutStyle height override
2019-10-14 11:17:11 -07:00
skia-flutter-autoroll
80a5b12c18 Roll fuchsia/sdk/core/linux-amd64 from lJPDX... to _GTls... (flutter/engine#13113)
Roll fuchsia/sdk/core/linux-amd64 from lJPDX... to _GTls...

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-linux-sdk-flutter-engine
Please CC  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
2019-10-12 15:53:11 -04:00
skia-flutter-autoroll
65b794f780 Roll fuchsia/sdk/core/linux-amd64 from LsxeL... to lJPDX... (flutter/engine#13109)
Roll fuchsia/sdk/core/linux-amd64 from LsxeL... to lJPDX...

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-linux-sdk-flutter-engine
Please CC  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
2019-10-12 03:07:04 -04:00
skia-flutter-autoroll
568777c5b3 Roll src/third_party/skia 8c6c8b0c42e2..3838fe3c82b4 (3 commits) (flutter/engine#13105)
https://skia.googlesource.com/skia.git/+log/8c6c8b0c42e2..3838fe3c82b4

git log 8c6c8b0c42e2..3838fe3c82b4 --date=short --no-merges --format='%ad %ae %s'
2019-10-11 herb@google.com Use SkDrawableGlyphBuffer for bitmap rendering
2019-10-11 rsesek@chromium.org Switch SkSemaphore to use dispatch_semaphore_t on Mac.
2019-10-11 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial).

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

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 kjlubick@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=kjlubick@google.com
2019-10-11 21:42:08 -04:00
liyuqian
a97608de26 Analyze framework Dart code in presubmit tests (flutter/engine#13037)
This fixes https://github.com/flutter/flutter/issues/38848
2019-10-11 17:28:24 -07:00
Kaushik Iska
04a6d3e4e0 [dart_aot_runner] Complete the port of dart_aot_runner (flutter/engine#13103)
* [dart_aot_runner] Complete the port of dart_aot_runner

- also adds the previously missing profiler symbols for dart_jit_runner
- CIPD package will contain both the JIT and AOT dart runners

* specify the inputs
2019-10-11 17:24:54 -07:00
Matt Carroll
d632e81dd4 Move initialization into FlutterEngine (flutter/engine#12806) 2019-10-11 16:15:55 -07:00
Ferhat
34a906543c Update felt README (flutter/engine#13097)
* Update felt README

* Removed -t since it is removed in #13088
2019-10-11 16:08:03 -07:00
Kaushik Iska
0a1600a6d1 [dart_aot_runner] Generate vmservice aotsnapshots (flutter/engine#13101) 2019-10-11 16:03:30 -07:00
Dan Field
9dc1042e7a ColorFilter matrix docs (flutter/engine#13100) 2019-10-11 16:01:16 -07:00
Dan Field
693c13dcf7 cleanup gen_package.py (flutter/engine#13089) 2019-10-11 16:00:45 -07:00
Kaushik Iska
363a57f873 [dart_aot_runner] Use the host_toolchain to build kernels (flutter/engine#13096) 2019-10-11 15:36:13 -07:00
Nurhan Turgut
9a6853f17f do not wrap font family name (flutter/engine#12801)
* do not wrap font family name in webkit otherwise icons not show on safari 13 (both IOS and desktop)

* Changing the font loading to work in all browsers.

* Documentation, renaming, gramatical/spelling error related PR comments addressed. Regexp will be addressed in the next commit.

* Changing regular expressions to look simpler. Adding more unit tests.
2019-10-11 15:12:28 -07:00
skia-flutter-autoroll
5390177e1b Roll src/third_party/skia df640e6d14a5..8c6c8b0c42e2 (12 commits) (flutter/engine#13098)
https://skia.googlesource.com/skia.git/+log/df640e6d14a5..8c6c8b0c42e2

git log df640e6d14a5..8c6c8b0c42e2 --date=short --no-merges --format='%ad %ae %s'
2019-10-11 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial).
2019-10-11 halcanary@google.com docs/fiddle: add "incomplete" fiddle.
2019-10-11 halcanary@google.com SkPDF/tests: add regression test for crbug/494913
2019-10-11 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial).
2019-10-11 egdaniel@google.com Remove GrPixelConfig version of CompressedDataSize.
2019-10-11 halcanary@google.com Docs: Update docs to point at named fiddles
2019-10-11 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial).
2019-10-11 herb@google.com Introduce SkGlyphDrawableBuffer
2019-10-11 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial).
2019-10-11 borenet@google.com [infra] Fix presubmit by pinning tools/build
2019-10-11 egdaniel@google.com Fix GL RGB format bytes per pixel.
2019-10-11 skia-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/externals/angle2 5d9c4ee328bc..67486ec24551 (18 commits)

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

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 kjlubick@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=kjlubick@google.com
2019-10-11 17:28:34 -04:00
liyuqian
f24924fa9b Remove persistent cache unittest timeout (flutter/engine#13091)
This fixes https://github.com/flutter/flutter/issues/42465
2019-10-11 14:24:12 -07:00
Matt Carroll
5e17ccdf32 Added FlutterActivity and FlutterFragment hook to cleanUpFlutterEngine() as symmetry for configureFlutterEngine(). (#41943) (flutter/engine#12987) 2019-10-11 13:52:21 -07:00
Yegor
20556a05cb use rest args for specifying test targets (flutter/engine#13088) 2019-10-11 13:44:55 -07:00
Yegor
16e74ede52 Snapshot the felt tool for faster start-up (flutter/engine#13090) 2019-10-11 13:44:06 -07:00
Dan Field
0f36ed0d16 java imports/style (flutter/engine#13082) 2019-10-11 11:54:02 -07:00
gaaclarke
48ab41ac63 Removed retain cycle from notification center. (flutter/engine#13073) 2019-10-11 11:34:11 -07:00
skia-flutter-autoroll
b2c4fbc447 Roll fuchsia/sdk/core/linux-amd64 from fk6ou... to LsxeL... (flutter/engine#13083)
Roll fuchsia/sdk/core/linux-amd64 from fk6ou... to LsxeL...

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-linux-sdk-flutter-engine
Please CC  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
2019-10-11 14:20:02 -04:00
skia-flutter-autoroll
ccbf511b59 Roll src/third_party/skia 6c2b2bb02402..df640e6d14a5 (1 commits) (flutter/engine#13080)
https://skia.googlesource.com/skia.git/+log/6c2b2bb02402..df640e6d14a5

git log 6c2b2bb02402..df640e6d14a5 --date=short --no-merges --format='%ad %ae %s'
2019-10-11 borenet@google.com Revert "Roll recipe dependencies (trivial)."

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

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 kjlubick@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=kjlubick@google.com
2019-10-11 13:45:36 -04:00
Dan Field
74ae2204a9 Gen package output corrected (flutter/engine#13086) 2019-10-11 10:16:43 -07:00
Dan Field
43bf271065 Print more output when gen_package fails (flutter/engine#13085) 2019-10-11 10:14:47 -07:00
Kaushik Iska
5a663507c2 [dart_aot_runner] Add rules to generate dart_aot binaries (flutter/engine#13074) 2019-10-11 09:42:28 -07:00
skia-flutter-autoroll
82b38ab94e Roll src/third_party/skia 7fd7a8aef06c..6c2b2bb02402 (3 commits) (flutter/engine#13079)
https://skia.googlesource.com/skia.git/+log/7fd7a8aef06c..6c2b2bb02402

git log 7fd7a8aef06c..6c2b2bb02402 --date=short --no-merges --format='%ad %ae %s'
2019-10-11 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial).
2019-10-10 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial).
2019-10-10 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial).

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

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 kjlubick@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=kjlubick@google.com
2019-10-11 03:25:10 -04:00
skia-flutter-autoroll
0c79352fb6 Roll fuchsia/sdk/core/linux-amd64 from v8utw... to fk6ou... (flutter/engine#13072)
Roll fuchsia/sdk/core/linux-amd64 from v8utw... to fk6ou...

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-linux-sdk-flutter-engine
Please CC  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
2019-10-10 23:36:21 -04:00
skia-flutter-autoroll
08712955e1 Roll src/third_party/skia b484e7ce24c9..7fd7a8aef06c (4 commits) (flutter/engine#13069)
https://skia.googlesource.com/skia.git/+log/b484e7ce24c9..7fd7a8aef06c

git log b484e7ce24c9..7fd7a8aef06c --date=short --no-merges --format='%ad %ae %s'
2019-10-10 egdaniel@google.com Remove uses of GrPixelConfig version of GrBytesPerPixel.
2019-10-10 robertphillips@google.com Plumb GrTextureProxies down into emitSampler/addSampler
2019-10-10 kjlubick@google.com [canvaskit] Enable tests for getGlyphPosition
2019-10-10 robertphillips@google.com Add "meshCount" to GrProgramInfo

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

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 kjlubick@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=kjlubick@google.com
2019-10-10 23:34:16 -04:00
Kaushik Iska
2dd184d5d5 Reland dart_aot_runner shims
This reverts commit c375655fe1042d1de9b79f348968d6e297a5c271.
2019-10-10 19:41:13 -07:00
Kaushik Iska
c375655fe1 Revert "[dart_aot_runner] Add support for generating dart_aot snapshots (#13071)" (flutter/engine#13075)
This reverts commit 61ab9f02318d90b0159e410e3f528a3a5d5fe77a.
2019-10-10 18:00:09 -07:00
Kaushik Iska
61ab9f0231 [dart_aot_runner] Add support for generating dart_aot snapshots (flutter/engine#13071)
This is part of the effort to port over dart_aot_runner
2019-10-10 17:22:11 -07:00
Chinmay Garde
51c5bb42b4 Put Metal renderer selection behind runtime flag and plist opt-in. (flutter/engine#13056) 2019-10-10 13:03:04 -07:00
Chinmay Garde
5cd5d0d940 Revert "Test child isolates are terminated when root is shutdown (#13048)" (flutter/engine#13067)
This reverts commit 8b17ce3916915e0d21bfe6692cd48255d7c0b31f.
2019-10-10 13:02:27 -07:00
Gary Qian
8b17ce3916 Test child isolates are terminated when root is shutdown (flutter/engine#13048) 2019-10-10 15:31:46 -04:00
Chinmay Garde
b659646ffb Allow embedders to specify arbitrary data to the isolate on launch. (flutter/engine#13047)
Since this is currently only meant to be used by the embedding internally, the setter in Objective-C is only exposed via the FlutterDartProject private class extension. Unit tests have been added to the shell_unittests harness.

Fixes https://github.com/flutter/flutter/issues/37641
2019-10-10 12:31:14 -07:00
skia-flutter-autoroll
e5b64c79a6 Roll src/third_party/skia 69537d798994..b484e7ce24c9 (8 commits) (flutter/engine#13065)
https://skia.googlesource.com/skia.git/+log/69537d798994..b484e7ce24c9

git log 69537d798994..b484e7ce24c9 --date=short --no-merges --format='%ad %ae %s'
2019-10-10 mtklein@google.com hand off frames to encoder as they come
2019-10-10 robertphillips@google.com Pass GrProgramInfo further down Vulkan call chain
2019-10-10 jvanverth@google.com Draw perspective text as paths.
2019-10-10 robertphillips@google.com Add computation of requestedFeatures to GrProgramInfo and use it
2019-10-10 kjlubick@google.com [debugger] Use alternate buffer
2019-10-10 nigeltao@google.com Update Wuffs version to 0.2.0-rc.1
2019-10-10 fmalita@chromium.org [SkVideoEncoder] Allow clients to control the color type
2019-10-10 brianosman@google.com Roll third_party/externals/angle2 8e7d9d6c2326..5d9c4ee328bc (9 commits)

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

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 kjlubick@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=kjlubick@google.com
2019-10-10 14:00:18 -04:00
Jason Simmons
1759de2b98 Allow embedders to disable causal async stacks in the Dart VM (flutter/engine#13004)
Fixes https://github.com/flutter/flutter/issues/39511
2019-10-10 10:09:03 -07:00
Jason Simmons
524af5638b Integration with more of Skia's SkShaper/SkParagraph APIs (flutter/engine#13008)
Based on https://github.com/Rusino/engine/tree/temp
2019-10-10 10:08:29 -07:00
Yegor
2f8ab3f058 Add "felt clean" command (flutter/engine#13042)
Add "felt clean" command
2019-10-10 07:15:24 -07:00
skia-flutter-autoroll
e55459c358 Roll src/third_party/skia 0fc9b3829b47..69537d798994 (1 commits) (flutter/engine#13061)
https://skia.googlesource.com/skia.git/+log/0fc9b3829b47..69537d798994

git log 0fc9b3829b47..69537d798994 --date=short --no-merges --format='%ad %ae %s'
2019-10-10 kjlubick@google.com [skottie-perf] Remove beetle from list of tests

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

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 kjlubick@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=kjlubick@google.com
2019-10-10 10:14:13 -04:00
Dan Field
80492fb4e9 Android targets create final zip artifacts (flutter/engine#13059) 2019-10-10 06:56:43 -07:00
sjindel-google
5ea9c249cd Remove use of the blobs snapshot format from unittests (flutter/engine#12563)
* Remove uses of the "blobs" snapshot format in Engine tests.

* Comments

* Rebasing against updated ELF loader API.
2019-10-10 14:03:42 +02:00