9260 Commits

Author SHA1 Message Date
gaaclarke
cfbd7272da Started clearing out the parent of orphaned semantic objects. (flutter/engine#17499) 2020-04-03 14:35:48 -07:00
xster
c81eeda828 Small updates to objcdocs (flutter/engine#17151) 2020-04-03 13:03:06 -07:00
Jason Simmons
02720fbca8 Fix include paths of fml/time headers in the shell and rasterizer (flutter/engine#17502) 2020-04-03 12:33:54 -07:00
skia-flutter-autoroll
fb3c662a37 Roll fuchsia/sdk/core/linux-amd64 from -jFTb... to TWx2R... (flutter/engine#17498) 2020-04-03 12:01:02 -07:00
skia-flutter-autoroll
369c1bc159 Roll src/third_party/skia 8efbbbc0d1d4..e70e0c055f56 (1 commits) (flutter/engine#17496) 2020-04-03 11:51:05 -07:00
Chris Bracken
adb73da22f Use const refs in for loops where reasonable (flutter/engine#17484)
This patch optimizes C++11 range-based for loops where the variable is
copied in each iteration but it would suffice to obtain it by const
reference. This is only applied to loop variables of types that are
expensive to copy which means they are not trivially copyable or have a
non-trivial copy constructor or destructor.

To ensure that it is safe to replace the copy with a const reference
only the following cases are modified:
  * The loop variable is const-qualified.
  * The loop variable is not const, but only const methods or operators
    are invoked on it, or it is used as const reference or value argument
    in constructors or function calls.

This is an application of the internal performance-for-range-copy
clang-tidy analysis.
2020-04-03 11:44:35 -07:00
George Wright
69163aaa96 Revert "[tools][fuchsia] Do not tar debug symbol CIPD uploads (#17275)"
This reverts commit 3369570b18f926f73ecd94a1365d9996afcb6eca.
2020-04-03 10:56:08 -07:00
Joshua Seaton
3369570b18 [tools][fuchsia] Do not tar debug symbol CIPD uploads (flutter/engine#17275)
Fuchsia is the main consumer of these CIPD packages and - to simplify
its infrastructure - it is migrating its SDK partners over to producing
a CIPD package containing a flat .build-id directory.

This change also updates the CIPD package so that the .build-id
directory is placed at the root.

Bug: fxbug.dev/41443
2020-04-02 18:44:09 -07:00
skia-flutter-autoroll
fb859e0270 Roll src/third_party/skia 8afde5f39508..8efbbbc0d1d4 (14 commits) (flutter/engine#17491) 2020-04-02 18:26:02 -07:00
skia-flutter-autoroll
1bda40865c Roll fuchsia/sdk/core/linux-amd64 from v61zg... to -jFTb... (flutter/engine#17490) 2020-04-02 18:21:04 -07:00
Jason Simmons
3c089996dc Disconnect from platform views and virtual displays before detaching from the engine (flutter/engine#17379) 2020-04-02 18:16:05 -07:00
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
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
fc4c1fc626 Roll src/third_party/skia 6c51bf61e283..8ce842d38d0b (1 commits) (flutter/engine#17477) 2020-04-02 06:56: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
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
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
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
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
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
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
Chinmay Garde
7bc00f2d09 Fix iOS builds on Xcode 11.4 for new enum values added in iOS 13.4. (flutter/engine#17429)
The following issues have been filed to track the handling of these enum values:

* Handle the UITouchTypeIndirectPointer enum value. https://github.com/flutter/flutter/issues/53696
* Handle the UITouchPhaseRegion enum values. https://github.com/flutter/flutter/issues/53695

No change in functionality. Only makes the iOS engine build on the latest
versions of Xcode and iOS SDK. The enum values cannot be used with the
API_AVAILABLE macro because the buildbots have not been updated yet.
2020-03-31 15:10:05 -07:00