12167 Commits

Author SHA1 Message Date
Jason Simmons
ded9b51e21 [SkParagraph] Copy text height behavior to the Skia paragraph style (flutter/engine#18178) 2020-05-07 18:24:08 -07:00
Ferhat
aaad0bab46 [web] Implement matrix parameter for linear gradient (flutter/engine#18208)
* Implement linear gradient matrix
* update golden locks
* Remove matrix check in RadialGradient
2020-05-07 17:22:54 -07:00
liyuqian
b50499d50d Reland again "Remove layer integral offset snapping #17112" (flutter/engine#18160)
This reverts commit 74823c212d418597775d332d8c272673c83f6f63 and relands our reland https://github.com/flutter/engine/pull/17915.

Additionally, we fixed the cull rect logic in `OpacityLayer::Preroll` which is  the root cause of https://github.com/flutter/flutter/issues/56298. We've always had that root problem before but it did not trigger performance issues because we were using the OpacityLayer's `paint_bounds`, instead of its child's `paint_bounds` for preparing the layer raster cache. A correct handling of the cull rect should allow us to cull at any level.

It also turns out that our ios32 (iPhone4s) performacne can regress a lot
without snapping. My theory is that although the picture has a
fractional top left corner, many drawing operations inside the picture
have integral coordinations. In older hardwares, keeping those
coordinates integral seems to be performance critical.

To avoid flutter/flutter#41654, the snapping
will still be disabled if the matrix has non-scale-translation
transformations.
2020-05-07 17:19:30 -07:00
skia-flutter-autoroll
f6fb5c1ec6 Roll src/third_party/skia c66cd987f7c0..0dc207f836da (5 commits) (flutter/engine#18212) 2020-05-07 17:14:03 -07:00
stuartmorgan
b8d0673b3f Refactor GLFW embedding to support headless mode (flutter/engine#18205)
This does some long-overdue refactoring of the spaghetti code that grew in the GLFW embedding to begin providing a clearer separation between the engine and the window. It is now possible to register plugins, and run the runloop, on a headless engine, which makes headless mode much more usable. This is useful in some automated testing environments.

There is more refactoring that should be done in the future, but this is a good incremental point to stop as the PR is already large, and it provides useful new functionality as-is.
2020-05-07 17:10:11 -07:00
Siva
b78dd6b50f Manual Roll of Dart 39e0e75fcf...ce62ad2e8b (flutter/engine#18211)
dart-lang/sdk@39e0e75fcf Remove ElementSuggestionBuilder
dart-lang/sdk@2707880f1b [vm] Fix various UBSan failures.
dart-lang/sdk@8c79102889 [vm/isolates] Move saved_initial_field_table to isolate group.
dart-lang/sdk@9eff98594f Cleanup unnecessary references to experiments that are enabled by default
dart-lang/sdk@d4514bef78 Bypass pub constraint validation for dartfix 0.1.7.
dart-lang/sdk@30da9d580b Ensure new analysis drivers are seeded with existing priority files
dart-lang/sdk@f16663a678 Convert LocalReferenceContributor to use SuggestionBuilder
dart-lang/sdk@7cbd5f6f78 [cfe] Add round-trip serialization support for loop nodes
dart-lang/sdk@9491c6cc48 [dart2js] Fix codegen/variance_subtype_cast_test
2020-05-07 16:27:09 -07:00
Kurun
663f1ddae5 Support EventChannel C++ plugin API for Linux/Windows (flutter/engine#17015)
Fixes https://github.com/flutter/flutter/issues/49398
2020-05-07 15:54:59 -07:00
Robert Ancell
2469d34922 Handle leak of message handle when no engine present (flutter/engine#18157)
* Handle leak of message handle when no engine present
* Move callback in wrong location
2020-05-08 09:05:20 +12:00
xster
5259bc09d4 add docs to platformviewios (and some drive-by changes) (flutter/engine#17593) 2020-05-07 14:01:09 -07:00
skia-flutter-autoroll
ab8e43b885 Roll src/third_party/skia 0066adefa97d..c66cd987f7c0 (4 commits) (flutter/engine#18206) 2020-05-07 13:56:03 -07:00
skia-flutter-autoroll
66c23c5fcb Roll src/third_party/skia edea19858ccc..0066adefa97d (3 commits) (flutter/engine#18203) 2020-05-07 12:16:01 -07:00
Jason Simmons
66a59e3138 Remove the global engine entry timestamp (flutter/engine#18182)
The engine was using a global to store a timestamp representing the
launch of the engine.  This timestamp is initialized with a JNI call
on Android and during shell setup on other platforms.  Later the
timestamp is added to a FlutterEngineMainEnter timeline event used to
measure engine startup time in benchmarks.

This PR removes the global and the JNI call and moves the timestamp
into the settings object.
2020-05-07 11:29:28 -07:00
skia-flutter-autoroll
6f24c7115b Roll src/third_party/dart e86e4d61834a..ce62ad2e8b40 (13 commits) (flutter/engine#18201) 2020-05-07 11:26:02 -07:00
skia-flutter-autoroll
05d989439f Roll src/third_party/skia 2871ab0727bf..edea19858ccc (3 commits) (flutter/engine#18198) 2020-05-07 09:31:02 -07:00
Dragoș Tiselice
4271b2a33e Fixed ChildSceneLayer elevation issue on Fuchsia. (flutter/engine#18144)
* Fixed ChildSceneLayer elevation issue on Fuchsia.

ChildSceneLayers would draw on top of stacked Flutter content on
Fuchsia if not wrapped up in a Material widget, i.e. a
PhysicalShapeLayer. This patch pushes the logic from there to all
types of Layers.
2020-05-07 12:03:53 -04:00
Kaushik Iska
b1b1cea351 [profiling] CPU Profiling support for iOS (flutter/engine#18087)
See flutter.dev/go/engine-cpu-profiling for details
2020-05-07 08:11:07 -07:00
skia-flutter-autoroll
231942e6f6 Roll src/third_party/skia e3d1de7c5281..2871ab0727bf (1 commits) (flutter/engine#18197) 2020-05-07 08:01:03 -07:00
skia-flutter-autoroll
7e6974f262 Roll src/third_party/dart 733153eb517c..e86e4d61834a (6 commits) (flutter/engine#18195) 2020-05-07 05:41:02 -07:00
skia-flutter-autoroll
f1e0afe769 Roll src/third_party/skia 3b2db26c59d6..e3d1de7c5281 (4 commits) (flutter/engine#18192) 2020-05-07 03:46:03 -07:00
skia-flutter-autoroll
658ee95058 Roll fuchsia/sdk/core/mac-amd64 from jMJqf... to 1MVsE... (flutter/engine#18194) 2020-05-07 03:36:03 -07:00
skia-flutter-autoroll
d257469c77 Roll fuchsia/sdk/core/linux-amd64 from RpHTv... to MhpFP... (flutter/engine#18191) 2020-05-07 00:36:02 -07:00
skia-flutter-autoroll
d38cf34662 Roll src/third_party/skia 88d04cb51acf..3b2db26c59d6 (1 commits) (flutter/engine#18190) 2020-05-06 23:46:02 -07:00
skia-flutter-autoroll
8cb65b1253 Roll src/third_party/dart 4da5b40fb6dc..733153eb517c (23 commits) (flutter/engine#18188) 2020-05-06 23:26:02 -07:00
skia-flutter-autoroll
e933aa5130 Roll src/third_party/skia 18db52f2ee56..88d04cb51acf (13 commits) (flutter/engine#18183) 2020-05-06 18:26:02 -07:00
skia-flutter-autoroll
8375fdeba2 Roll src/third_party/skia c1ad77cf482a..18db52f2ee56 (5 commits) (flutter/engine#18179) 2020-05-06 14:26:03 -07:00
Wu Zhong
7dec4ba0a8 Fix memory leak of FlutterCustomAccessibilityAction (flutter/engine#17954) 2020-05-06 14:08:58 -07:00
Ali Mahdiyar
f1e911f717 Custom unicode handling for Android backspace via JNI to ICU (flutter/engine#17960) 2020-05-06 14:01:02 -07:00
Nurhan Turgut
fdeef18465 Autofill main part (flutter/engine#17986)
* changes for getting the configuration

* running autofill

* simplifications, remove unused map

* more changes

* make single autofill fields work. remove print messages

* remove an extra line

* remove extra file. also update chrome version

* addressing reviewers comments

* addressing reviewer comments

* addressing reviewer comments

* addressing reviewer comments

* changing comments

* changing comments

* adding a comment on subscriptions lifecycle

* fixing a bug which was failing the existing unit tests

* add unit tests for AutofillInfo and EngineAutofillForm. add autocomplete to textarea

* add unit tests for method channels

* remove json from the end of the file

* do not change the input type for the focused element

* check name instead of autocomplete for firefox

* check name instead of autocomplete for firefox in other methods as well

* fixing a bug in the autofillhints file, testing if firefox is failing for username hint or for all autocomplete values

* fix the breaking unit test
2020-05-06 12:58:46 -07:00
skia-flutter-autoroll
a3c4494c05 Roll src/third_party/dart 8c8249fa0123..4da5b40fb6dc (14 commits) (flutter/engine#18177) 2020-05-06 12:21:03 -07:00
skia-flutter-autoroll
ae2788dd0c Roll src/third_party/skia 999257d870d7..c1ad77cf482a (2 commits) (flutter/engine#18176) 2020-05-06 12:11:02 -07:00
skia-flutter-autoroll
b9326abf14 Roll fuchsia/sdk/core/mac-amd64 from c5NQZ... to jMJqf... (flutter/engine#18175) 2020-05-06 11:26:01 -07:00
skia-flutter-autoroll
0eb13e6c47 Roll src/third_party/skia c5727d8e34d2..999257d870d7 (5 commits) (flutter/engine#18174) 2020-05-06 10:06:02 -07:00
skia-flutter-autoroll
76ca851124 Roll src/third_party/skia 1e8fb04b29b9..c5727d8e34d2 (1 commits) (flutter/engine#18173) 2020-05-06 07:56:13 -07:00
skia-flutter-autoroll
d8491cc266 Roll src/third_party/dart 1ef444139c4c..8c8249fa0123 (11 commits) (flutter/engine#18172) 2020-05-06 05:32:02 -07:00
skia-flutter-autoroll
9f76e82b54 Roll fuchsia/sdk/core/linux-amd64 from gnNdl... to RpHTv... (flutter/engine#18171) 2020-05-06 05:17:02 -07:00
skia-flutter-autoroll
2c242f1d3c Roll src/third_party/skia e1c0cb3de8ab..1e8fb04b29b9 (3 commits) (flutter/engine#18168) 2020-05-06 02:27:02 -07:00
skia-flutter-autoroll
b3c4fac608 Roll src/third_party/skia 0cbd58766ace..e1c0cb3de8ab (8 commits) (flutter/engine#18167) 2020-05-05 23:42:03 -07:00
Ferhat
fe06da4eba Fix path bounds for multiple rects. Implement winding rules (flutter/engine#18165) 2020-05-05 20:53:51 -07:00
Robert Ancell
10cf694c5a Add first Linux shell tests (flutter/engine#18159) 2020-05-06 15:33:11 +12:00
Chris Yang
906b86b159 [iOS platform view] fix active_composition_order_ never cleared (flutter/engine#18153) 2020-05-05 17:59:39 -07:00
Chris Yang
7a6448352f gpu_metal_surface submitframe return false when canvas is null (flutter/engine#18154) 2020-05-05 17:59:16 -07:00
skia-flutter-autoroll
67b012998c Roll src/third_party/dart 7bb38670d279..1ef444139c4c (22 commits) (flutter/engine#18161) 2020-05-05 16:37:02 -07:00
skia-flutter-autoroll
d8bb4fa4d3 Roll fuchsia/sdk/core/mac-amd64 from ERGnT... to c5NQZ... (flutter/engine#18155) 2020-05-05 13:17:02 -07:00
skia-flutter-autoroll
ffe545b8b5 Roll src/third_party/skia 3d311a983bf0..0cbd58766ace (2 commits) (flutter/engine#18152) 2020-05-05 12:27:02 -07:00
Ben Konyi
5775fb7212 Manually add dependency for shelf_proxy (flutter/engine#18151) 2020-05-05 11:29:52 -07:00
Jason Simmons
b4b5342886 [web] Upgrade the test package to remove the dependency on package_resolver (flutter/engine#18135) 2020-05-05 10:57:02 -07:00
Ferhat
9561e45970 [web] Add support for ColorFilter on images (flutter/engine#18111)
* Implement Color filter for images
* Add blend modes
* complete set of blend modes
* Add golden test for blend modes, fix size setting when using drawImage instead of drawImageRect
* Add comments
* Update golden locks
* Fix analyzer errors
Co-authored-by: Harry Terkelsen <hterkelsen@users.noreply.github.com>
* fix blend group count in test
2020-05-05 10:22:16 -07:00
skia-flutter-autoroll
1c100f50a7 Roll src/third_party/skia 41e377d1baf0..3d311a983bf0 (9 commits) (flutter/engine#18150) 2020-05-05 10:12:03 -07:00
Ferhat
e88c2309a1 [web] Workaround for compositing bug in chrome/webkit (flutter/engine#18128)
* Fix compositing error when multiple canvas(s) are reused
* address review comments
* track all element counts
2020-05-05 10:11:56 -07:00
skia-flutter-autoroll
0f8ad85dc0 Roll fuchsia/sdk/core/linux-amd64 from xJlpY... to gnNdl... (flutter/engine#18148) 2020-05-05 09:42:51 -07:00