13088 Commits

Author SHA1 Message Date
skia-flutter-autoroll
d4900af074 Roll Skia from c6a3d531880e to c8c573d455f0 (1 revision) (flutter/engine#25457) 2021-04-06 12:19:01 -07:00
Harry Terkelsen
64f323de86 Roll CanvasKit to 0.25.1 (flutter/engine#25315)
* Roll CanvasKit to 0.25.1

* Update SkParagraph tests
2021-04-06 11:46:37 -07:00
skia-flutter-autoroll
273a9fc4ce Roll Skia from b3479cea80aa to c6a3d531880e (3 revisions) (flutter/engine#25455) 2021-04-06 10:39:01 -07:00
Chris Bracken
45c54c08e2 Add documentation to embedder locale callback (flutter/engine#25437)
The FlutterComputePlatformResolvedLocaleCallback does not pass the
standard user_data baton. This was an unintentional omission in the
original patch.

Add documentation to that effect and link to the bug report:
https://github.com/flutter/flutter/issues/79826
2021-04-06 09:46:31 -07:00
Chris Bracken
2091ba8847 Fix parameter type in FlutterDesktopEngineCreate (flutter/engine#25439)
FlutterDesktopEngineCreate is part of our C API. We were using a C++
reference type instead of a C-compatible pointer type.

This is a breaking change to anyone calling this directly; we believe
this should affect few people because the Windows template only uses the
`FlutterEngine` wrapper in
`shell/platform/windows/client_wrapper/include/flutter/flutter_engine.h`.

Fixes https://github.com/flutter/flutter/issues/75465
2021-04-06 09:46:04 -07:00
skia-flutter-autoroll
e63c666b97 Roll Skia from 3b6ea141bd8d to b3479cea80aa (1 revision) (flutter/engine#25454) 2021-04-06 09:14:02 -07:00
skia-flutter-autoroll
59321e6e6e Roll Skia from b6689e568050 to 3b6ea141bd8d (1 revision) (flutter/engine#25450) 2021-04-06 07:44:01 -07:00
skia-flutter-autoroll
88ebb8b2da Roll Fuchsia Linux SDK from txu1APnex... to dl1JUKVuj... (flutter/engine#25448) 2021-04-06 06:04:01 -07:00
skia-flutter-autoroll
6fbdc4ee0d Roll Skia from b4e5a9192d39 to b6689e568050 (2 revisions) (flutter/engine#25441) 2021-04-06 00:49:01 -07:00
skia-flutter-autoroll
42878a2360 Roll Skia from 974c82150204 to b4e5a9192d39 (1 revision) (flutter/engine#25440) 2021-04-05 23:14:01 -07:00
Ari Weiland
48df08e088 Update FlutterFragment to implement ComponentCallbacks2. (flutter/engine#25428) 2021-04-05 23:04:46 -07:00
Chris Bracken
bc3084eabc Allow embedders to set a custom log tag (flutter/engine#25435)
Embedders making use of the embedder API always ended up with a
hardcoded log tag of "flutter". Some embedders may wish to set a
different log tag. For example, the Fuchsia embedder sets their log tag
to a launch URL followed by "flutter".

If unset, we continue to default to "flutter".

Fixes https://github.com/flutter/flutter/issues/79819
2021-04-05 17:35:54 -07:00
skia-flutter-autoroll
335e6cae0b Roll Skia from 0a12b85f160f to 974c82150204 (1 revision) (flutter/engine#25434) 2021-04-05 16:29:01 -07:00
Jason Simmons
9fd7208df1 Remove the DartIsolate::PostMessage timeline event (flutter/engine#25433) 2021-04-05 16:09:02 -07:00
Chris Bracken
f4d1c89df1 Extract Dart logging to the embedders (flutter/engine#25402)
Previously messages logged from Dart code (e.g. via the print function)
were handled directly in the engine by platform-specific code. This
factors out a LogMessage(tag, message) callback that embedders can
implement with platform-specific code.

This also eliminates a dependency on platform-specific code in the core,
and provides more flexibility to embedders than the current fallback to
stdout, which can be a problem on platforms without a traditional stdout
or with restrictions on stdout.

Fixes https://github.com/flutter/flutter/issues/79685
2021-04-05 15:43:21 -07:00
skia-flutter-autoroll
dfd0243fde Roll Fuchsia Linux SDK from b22xnKMfp... to txu1APnex... (flutter/engine#25431) 2021-04-05 15:09:01 -07:00
skia-flutter-autoroll
d680bd2c78 Roll Skia from b14a819122ee to 0a12b85f160f (5 revisions) (flutter/engine#25430) 2021-04-05 15:04:02 -07:00
George Wright
b78fd3616d Rename EngineEmbedderApiModifier to EngineModifier (flutter/engine#25362) 2021-04-05 14:46:47 -07:00
Chris Bracken
fda4d07757 Fix texture corruption on Windows (flutter/engine#25349)
Notify Skia that we've updated texture handles within the current
binding such that Skia invalidates any assumptions about previous
context modifications that it had made.

This fixes a texture corruption issue reported in
https://github.com/flutter/flutter/issues/78648
2021-04-05 14:21:31 -07:00
skia-flutter-autoroll
5884859f96 Roll Skia from e296c56735c4 to b14a819122ee (1 revision) (flutter/engine#25426) 2021-04-05 12:09:01 -07:00
skia-flutter-autoroll
a7c3460e3f Roll Skia from fd7252fa2392 to e296c56735c4 (4 revisions) (flutter/engine#25423) 2021-04-05 10:44:02 -07:00
skia-flutter-autoroll
dc3902753f Roll Skia from 5c7ab08937ca to fd7252fa2392 (3 revisions) (flutter/engine#25422) 2021-04-05 09:19:01 -07:00
skia-flutter-autoroll
75b7c6e784 Roll Skia from 301449e4d051 to 5c7ab08937ca (1 revision) (flutter/engine#25417) 2021-04-05 00:49:01 -07:00
skia-flutter-autoroll
f81c38cad2 Roll Skia from e9244938d2a0 to 301449e4d051 (1 revision) (flutter/engine#25416) 2021-04-04 23:19:01 -07:00
skia-flutter-autoroll
8d28ed7a1c Roll Fuchsia Linux SDK from y_R-US0DL... to b22xnKMfp... (flutter/engine#25415) 2021-04-04 22:04:01 -07:00
skia-flutter-autoroll
0407f2bac2 Roll Skia from ea1d39b35cf6 to e9244938d2a0 (1 revision) (flutter/engine#25409) 2021-04-03 19:19:01 -07:00
Chris Bracken
e8fd8f2e2b Eliminate error message for missing CMAP table (flutter/engine#25403)
CMAP tables are a component of fonts which map character codes to glyph
indices used in the font. In cases where this is missing for a font that
we attempt to load, there is not much gained by logging this. It's also
a common source of false positive bug reports and bug reports with
misleading symptoms in Flutter, such as
https://github.com/flutter/flutter/issues/78929

Instead of logging the error, simply suppress it, since it's not
actionable by the user.

CMAP Reference:
https://docs.microsoft.com/en-us/typography/opentype/spec/cmap
2021-04-03 09:06:18 -07:00
skia-flutter-autoroll
223aadfa8e Roll Fuchsia Linux SDK from b6atUpuKK... to y_R-US0DL... (flutter/engine#25406) 2021-04-03 02:24:01 -07:00
James Clarke
682fa46b6b Fix windows debug builds (flutter/engine#25387) 2021-04-02 18:34:25 -07:00
skia-flutter-autoroll
4b6edf9f13 Roll Skia from f8d75c687d2e to ea1d39b35cf6 (10 revisions) (flutter/engine#25398) 2021-04-02 16:39:01 -07:00
Emmanuel Garcia
d20f5e016a Reland: Call Dart plugin registrant if available (flutter/engine#25375) 2021-04-02 15:00:17 -07:00
chandarrengoog
26574f5de2 Update gtest_filters. (flutter/engine#25309)
Account for https://flutter-review.googlesource.com/c/recipes/+/11700.
2021-04-02 14:32:55 -07:00
skia-flutter-autoroll
befb29c605 Roll Skia from 87011df3cf84 to f8d75c687d2e (1 revision) (flutter/engine#25394) 2021-04-02 13:49:00 -07:00
Mouad Debbar
c86bcd09b1 [web] Fix framework material text field tests (flutter/engine#25367) 2021-04-02 13:35:13 -07:00
skia-flutter-autoroll
f426065250 Roll Fuchsia Linux SDK from AhlA9OIbM... to b6atUpuKK... (flutter/engine#25392) 2021-04-02 12:49:01 -07:00
xster
6f92b73ba2 Revert "Deduplicate plugin registration logic and make error logs visible (#25297)" (flutter/engine#25393) 2021-04-02 12:44:01 -07:00
skia-flutter-autoroll
16526f4d6d Roll Skia from 396cd1dfabdd to 87011df3cf84 (1 revision) (flutter/engine#25391) 2021-04-02 12:14:01 -07:00
skia-flutter-autoroll
9aafdd7f46 Roll Skia from 0cbd45421f25 to 396cd1dfabdd (2 revisions) (flutter/engine#25388) 2021-04-02 10:29:01 -07:00
skia-flutter-autoroll
5c0a59d886 Roll Skia from 2938eea68c46 to 0cbd45421f25 (1 revision) (flutter/engine#25386) 2021-04-02 08:59:01 -07:00
James Clarke
396e42ae8e Revert https://github.com/flutter/engine/pull/24428 (flutter/engine#25319) 2021-04-02 08:37:31 -07:00
skia-flutter-autoroll
363ea295fc Roll Skia from 1b20cf0fe9e9 to 2938eea68c46 (1 revision) (flutter/engine#25384) 2021-04-02 07:34:01 -07:00
skia-flutter-autoroll
3ebec3e164 Roll Skia from d4897f0d127e to 1b20cf0fe9e9 (1 revision) (flutter/engine#25380) 2021-04-02 00:49:00 -07:00
Chris Bracken
2797aa9c99 Add fallback for GetAbsoluteFilePath in UWP (flutter/engine#25379)
In UWP, GetFinalPathNameByHandle requires the app to declare appropriate
capabilities in the app's package manifest. Some of these capabilities are not
permitted in shipping apps on the app store, but may be fine for
development/debugging scenarios. If we can't resolve the full path due to
insufficient access, but have verified the handle is valid, return the original
path.

This gets hot reload requests working in the UWP embedder.

https://github.com/flutter/flutter/issues/79609
2021-04-01 23:34:59 -07:00
skia-flutter-autoroll
05b6f293f4 Roll Skia from 42d753031d3f to d4897f0d127e (1 revision) (flutter/engine#25378) 2021-04-01 23:24:02 -07:00
freiling
a8cea746b9 [fuchsia][shader warmup] Avoid recursively iterating over assets directory when loading skp's due to high cost of openat() on pkgfs (flutter/engine#25006)
* [fuchsia][shader warmup] Fixed SkpWarmupTest

This test regressed due to https://github.com/flutter/engine/pull/23488
and this regression was silent due to https://github.com/flutter/flutter/issues/78277

Credit to @gnoliyil for actually putting together the fix.

* [fuchsia][shader warmup] Avoid recursively iterating over assets directory when loading skp's due to high cost of openat() on pkgfs
2021-04-01 23:23:52 -07:00
skia-flutter-autoroll
b082da2d8e Roll Fuchsia Linux SDK from kafCPE8Hd... to AhlA9OIbM... (flutter/engine#25377) 2021-04-01 23:09:02 -07:00
skia-flutter-autoroll
e0b5911965 Roll Dart SDK from 5fb4fb907f88 to 6d0a351efd1f (1 revision) (flutter/engine#25376) 2021-04-01 21:44:01 -07:00
skia-flutter-autoroll
3578bab413 Roll Skia from 92b35673c5bb to 988b7043e54c (2 revisions) (flutter/engine#25372) 2021-04-01 17:39:01 -07:00
George Wright
b11dbe813b Call CreateRenderSurface() after setting the Engine for a View on UWP (flutter/engine#25369) 2021-04-01 17:31:12 -07:00
skia-flutter-autoroll
38f8686186 Roll Skia from 7384b3757655 to 92b35673c5bb (1 revision) (flutter/engine#25370) 2021-04-01 16:09:02 -07:00