11720 Commits

Author SHA1 Message Date
Kaushik Iska
ce0ec9042f [pipeline] Add trace event for lag between target and display times (flutter/engine#17384)
This change also adds TimeRecorder which records time at the start
of each frame to capture the latest vsync target display time and
wires it in to the rasterizer to add trace events when there is a lag.
2020-04-02 17:15:45 -07:00
Dan Field
f1a58638ad Fix bad texture view config (flutter/engine#17486) 2020-04-02 15:06:03 -07:00
stuartmorgan
7b222c8310 Remove JSON codec from C++ client wrapper (flutter/engine#17312)
The JSON codec is awkward to use in the wrapper (since the client has to build and link one of the JSON libraries to do so). Since it would be very cumbersome to wrap in a C API, and there's essentially no reason to use it instead of the standard codec, this removes it from the wrapper entirely.

Since some system channels (internal to the engine) still use it, it's moved into common/cpp instead of being eliminated entirely. Internally we always use RapidJSON though, so the jsoncpp implementation is removed. Also adds some unit test coverage, since there wasn't any.

Fixes #30669
2020-04-02 14:57:46 -07:00
Dan Field
904a84fee3 Roll to clang11, mark 4 (flutter/engine#17483)
* "Reland Clang 11, roll buildroot to 1bc40a5f916adb93d87e2a2230a0ec43db876c1c, take 4 (#17467)" (#17482)"

This reverts commit d7bbf2e70c8cb86823f1ec7a310d6ab0b9a610db.

* format code

* Roll buildroot to 3a27de1c5bb0f50be7d3efe3e00de4f6068c9f30
2020-04-02 13:04:49 -07:00
Chinmay Garde
165af3205c Always cache SkSL when using the Metal backend. (flutter/engine#17468)
There is no ability to compile shaders online and cache those binaries when
using the Metal backend. SkSL caching must always be used.
2020-04-02 13:00:29 -07:00
skia-flutter-autoroll
5a49380308 Roll fuchsia/sdk/core/mac-amd64 from QgqO4... to 6V5BR... (flutter/engine#17481) 2020-04-02 11:51:02 -07:00
Jonah Williams
e6e8170ea8 fix typos in switch descriptions (flutter/engine#17475) 2020-04-02 11:21:04 -07:00
skia-flutter-autoroll
67ba02a348 Roll src/third_party/skia 8ce842d38d0b..8afde5f39508 (9 commits) (flutter/engine#17480) 2020-04-02 10:51:02 -07:00
Dan Field
a04ba4f15e Initialize locale from FlutterEngine (flutter/engine#17473)
* Initialize locale from FlutterEngine
2020-04-02 10:06:06 -07:00
Dan Field
d7bbf2e70c Revert "Reland Clang 11, roll buildroot to 1bc40a5f916adb93d87e2a2230a0ec43db876c1c, take 3 (#17467)" (flutter/engine#17482)
This reverts commit 31eab31f771363d9c4fc9799449859abe0e464f2.
2020-04-02 10:01:26 -07:00
skia-flutter-autoroll
d32996916f Roll src/third_party/dart 5a965d5d0fef..fae35fca47c9 (7 commits) (flutter/engine#17478) 2020-04-02 09:56:03 -07:00
skia-flutter-autoroll
fc4c1fc626 Roll src/third_party/skia 6c51bf61e283..8ce842d38d0b (1 commits) (flutter/engine#17477) 2020-04-02 06:56:03 -07:00
skia-flutter-autoroll
a3d8e2e9d1 Roll src/third_party/dart 6e53ac6e4c7b..5a965d5d0fef (2 commits) (flutter/engine#17476) 2020-04-02 04:11:03 -07:00
skia-flutter-autoroll
2ff59573d0 Roll src/third_party/skia 46aacc771012..6c51bf61e283 (3 commits) (flutter/engine#17472) 2020-04-02 00:01:04 -07:00
skia-flutter-autoroll
55efd61beb Roll fuchsia/sdk/core/linux-amd64 from zJlvo... to v61zg... (flutter/engine#17471) 2020-04-01 23:56:03 -07:00
Dan Field
cf99fa2fd8 Roll Android NDK to r21.0.6113669 (flutter/engine#17470) 2020-04-01 23:07:05 -07:00
skia-flutter-autoroll
98295a6cbc Roll src/third_party/dart b85c68a73cc2..6e53ac6e4c7b (3 commits) (flutter/engine#17469) 2020-04-01 22:41:03 -07:00
skia-flutter-autoroll
ee3d1384dd Roll src/third_party/skia b14b14445884..46aacc771012 (5 commits) (flutter/engine#17466) 2020-04-01 21:26:03 -07:00
Dan Field
31eab31f77 Reland Clang 11, roll buildroot to 1bc40a5f916adb93d87e2a2230a0ec43db876c1c, take 3 (flutter/engine#17467)
* Reland Clang 11, Roll buildroot to 1bc40a5f916adb93d87e2a2230a0ec43db876c1c (#17457)" (#17464)

This reverts commit 6083cda709c194ec81d2092c70a0151a10f0c922.

* Skip more image tests, use newer dsymutil, add missing symbols
2020-04-01 20:55:27 -07:00
mikejurka
d133ffb5a8 [fuchsia] Add tests for TransformLayer. (flutter/engine#17439) 2020-04-01 20:01:52 -07:00
George Wright
9b4556331b Flush the session after updating the scene 2020-04-01 19:48:07 -07:00
George Wright
34be05b507 Manual roll fuchsia/sdk/core/linux-amd64 from nK6R0... to zJlvo... 2020-04-01 19:48:07 -07:00
skia-flutter-autoroll
d9ac997b8f Roll src/third_party/skia bfc09267bdb4..b14b14445884 (13 commits) (flutter/engine#17462) 2020-04-01 19:01:04 -07:00
skia-flutter-autoroll
5748521072 Roll src/third_party/dart b177e44ffa44..b85c68a73cc2 (21 commits) (flutter/engine#17460) 2020-04-01 18:56:03 -07:00
skia-flutter-autoroll
9bb1856b95 Roll fuchsia/sdk/core/mac-amd64 from iP6DE... to QgqO4... (flutter/engine#17463) 2020-04-01 18:51:08 -07:00
Gary Qian
eff62e12bd Implement getExtractedText in InputConnectionAdaptor (flutter/engine#17426) 2020-04-01 18:51:04 -07:00
liyuqian
474e90ba76 Add build_and_test_linux_release presubmit test (flutter/engine#17073) 2020-04-01 18:46:04 -07:00
Dan Field
6083cda709 Revert "Reland Clang 11, Roll buildroot to 1bc40a5f916adb93d87e2a2230a0ec43db876c1c (#17457)" (flutter/engine#17464)
This reverts commit fe77c763691277d3194269f30d9a8c915e437852.
2020-04-01 17:50:57 -07:00
Dan Field
fe77c76369 Reland Clang 11, Roll buildroot to 1bc40a5f916adb93d87e2a2230a0ec43db876c1c (flutter/engine#17457)
* Reland "Roll Clang to v11, roll buildroot to fe13f79dce4ce9aab3209f11988d825dcf580b4a, allow newly exported symbols (#17440)" (#17451)"

This reverts commit d77d53688f77285966adeb2a24349ba490a7e6ce.

* skip golden that is different on macos

* buildroot to 1bc40a5f916adb93d87e2a2230a0ec43db876c1c
2020-04-01 16:32:13 -07:00
gaaclarke
f3c6f8902f Started clearing out the semantics information in Dart as well as deleting the AccessibilityBridge. (flutter/engine#17433) 2020-04-01 13:08:01 -07:00
skia-flutter-autoroll
5ea5e92f0a Roll src/third_party/skia e8d2080a34ed..bfc09267bdb4 (8 commits) (flutter/engine#17450) 2020-04-01 12:16:01 -07:00
Dan Field
d77d53688f Revert "Roll Clang to v11, roll buildroot to fe13f79dce4ce9aab3209f11988d825dcf580b4a, allow newly exported symbols (#17440)" (flutter/engine#17451)
This reverts commit 44327d852622d7ea8fafa4b232b91f74ea7aaf72.
2020-04-01 11:06:07 -07:00
stuartmorgan
18e2aed939 Remove me from auto-assign list (flutter/engine#17446) 2020-04-01 10:51:03 -07:00
Dan Field
44327d8526 Roll Clang to v11, roll buildroot to fe13f79dce4ce9aab3209f11988d825dcf580b4a, allow newly exported symbols (flutter/engine#17440)
* Buildroot to fe13f79dce4ce9aab3209f11988d825dcf580b4a

* whitelist more symbols
2020-04-01 10:49:24 -07:00
cjng96
fdfb501df7 Remove code which skips keyEvent from input control on web (flutter/engine#17242) 2020-04-01 09:32:18 -07:00
skia-flutter-autoroll
72f8d80c66 Roll src/third_party/dart eea97179386a..b177e44ffa44 (5 commits) (flutter/engine#17448) 2020-04-01 09:26:03 -07:00
skia-flutter-autoroll
2dc19afab4 Roll src/third_party/skia 0f5e7581a004..e8d2080a34ed (2 commits) (flutter/engine#17447) 2020-04-01 09:21:03 -07:00
Brian Osman
6ed6d9bdc8 Finish removing deprecated SkCanvas virtuals (flutter/engine#17445)
API staging is complete - these defines have been removed.
2020-04-01 10:27:50 -04:00
skia-flutter-autoroll
90d00cc625 Roll src/third_party/skia 7a3358c80b6e..0f5e7581a004 (1 commits) (flutter/engine#17444) 2020-04-01 06:56:01 -07:00
skia-flutter-autoroll
e166275aed Roll src/third_party/dart 0f89df0c00e7..eea97179386a (3 commits) (flutter/engine#17443) 2020-04-01 03:56:01 -07:00
skia-flutter-autoroll
66a84a6690 Roll fuchsia/sdk/core/mac-amd64 from lPmiR... to iP6DE... (flutter/engine#17442) 2020-04-01 01:31:02 -07:00
Chinmay Garde
c338e362f1 Use Metal on iOS by default. (flutter/engine#17431)
Fixes https://github.com/flutter/flutter/issues/18208. All Metal for iOS related work items described in https://github.com/orgs/flutter/projects/5 have been completed.
2020-03-31 23:37:04 -07:00
skia-flutter-autoroll
33781f3a91 Roll src/third_party/dart 021fa0fbd410..0f89df0c00e7 (4 commits) (flutter/engine#17438) 2020-03-31 23:16:06 -07:00
Chinmay Garde
1eec7d5d8e If the application says there is a new texture but does not provide one, reuse the last texture. (flutter/engine#17437)
This matches the behavior of the OpenGL backend.
2020-03-31 22:01:32 -07:00
mikejurka
f434b2e6a8 [fuchsia] Fix bug when applying scale. (flutter/engine#17436)
We were always scaling z by 0, instead of 1. This
caused the z elevation of some layers to be 0,
which was incorrect.
2020-03-31 21:49:44 -07:00
skia-flutter-autoroll
76cf8e7f91 Roll src/third_party/skia 65d3ad953957..7a3358c80b6e (20 commits) (flutter/engine#17435) 2020-03-31 18:21:01 -07:00
mikejurka
9a7303b7ad [fuchsia] Re-enable shadows. (flutter/engine#17380)
Now that client apps use the same elevations on
Fuchsia and other platforms, shadows should look
identical.
2020-03-31 18:07:12 -07:00
skia-flutter-autoroll
cac54ad166 Roll src/third_party/dart e8c4aed700f5..021fa0fbd410 (17 commits) (flutter/engine#17434) 2020-03-31 18:01:03 -07:00
Robert Ancell
eda8501719 Update FlDartProject to new path format (flutter/engine#17302)
Matches the structure used on Windows of assuming a directory format.
2020-03-31 15:25:44 -07:00
liyuqian
b4f8a7c881 GPU to raster rename, patch 2 (flutter/engine#17428) 2020-03-31 15:16:11 -07:00