Kaushik Iska
67fdd7eded
Embedder API Support for display settings ( #21355 )
...
Embedders can now notify shell during startup about the various displays and their corresponding settings.
Adds a notion of Display update type which can later include chages to displays during runtime such as addition / removal / reconfiguration of displays.
We also remove the responsibility of providing the refresh rate from `vsync_waiter` to `DisplayManager`.
Rewires existing platform implementations of the said API to use `Shell::OnDisplayUpdate` to notify the display manager of the startup configuration.
DisplayManager is also thread-safe to account for rasterizer and UI thread accesses.
2020-09-25 11:04:10 -07:00
Dan Field
aa8d5d4b9b
Avoid sending a 0 DPR to framework ( #21389 )
...
* Avoid sending a 0 DPR to framework
* check width and height as well
2020-09-25 10:35:57 -07:00
skia-flutter-autoroll
48ab5d1d14
Roll Skia from 1748c6a3b8c8 to 3b88c0772e89 (1 revision) ( #21410 )
2020-09-25 08:52:01 -07:00
Clement Skau
7dfcde1ff1
[Fix] Replaces call to deprecated method Name.name. ( #21241 )
2020-09-25 08:40:55 -07:00
skia-flutter-autoroll
faeff0a89d
Roll Dart SDK from eb8e6232da02 to 13b3f2d7b6ea (3 revisions) ( #21407 )
2020-09-25 06:42:02 -07:00
skia-flutter-autoroll
a1db2b3048
Roll Fuchsia Linux SDK from NeYDIjo58... to BFLXvCMVi... ( #21403 )
2020-09-25 02:12:01 -07:00
skia-flutter-autoroll
3a73d073c8
Roll Skia from 5227335b0add to 1748c6a3b8c8 (1 revision) ( #21402 )
2020-09-25 01:07:02 -07:00
skia-flutter-autoroll
62b5a53b10
Roll Skia from 03c31eca19ce to 5227335b0add (2 revisions) ( #21399 )
2020-09-24 23:47:02 -07:00
skia-flutter-autoroll
057b0890af
Roll Fuchsia Mac SDK from v7dguVBSA... to xnB_uJM8T... ( #21398 )
2020-09-24 23:22:01 -07:00
skia-flutter-autoroll
435db234e4
Roll Dart SDK from 62aea7e5112a to eb8e6232da02 (1 revision) ( #21395 )
2020-09-24 19:57:02 -07:00
Ian Hickson
ee71df706a
Revert "Make drain() consistently asynchronous. ( #21062 )" ( #21391 )
...
This reverts commit cdc631c4338455f292f68c110d584870753e0160.
2020-09-24 18:19:53 -07:00
skia-flutter-autoroll
d9e7d65d21
Roll Skia from fe3d9a23095e to 03c31eca19ce (1 revision) ( #21393 )
2020-09-24 17:42:01 -07:00
George Wright
19a1f77948
Split out embedder_unittests test cases into GL and non-GL tests ( #21386 )
2020-09-24 17:02:01 -07:00
skia-flutter-autoroll
3909f32451
Roll Skia from 6e51d92a0278 to fe3d9a23095e (2 revisions) ( #21390 )
2020-09-24 16:12:03 -07:00
Robert Ancell
5e9b235b8e
Detect errors encoding method channel responses ( #21314 )
2020-09-25 10:33:38 +12:00
skia-flutter-autoroll
62b60d8ba4
Roll Dart SDK from aac512605bfe to 62aea7e5112a (1 revision) ( #21387 )
2020-09-24 15:27:01 -07:00
stuartmorgan
ad36b4064a
Remove legacy C++ EncodableValue ( #21359 )
...
When the EncodableValue implementation changed, the old version was
temporarily kept behind an #ifdef to allow temporarily using the old
version, so that the roll would not be blocked. All known existing
clients have migrated, so the legacy version is no longer necessary.
2020-09-24 15:14:12 -07:00
Filip Filmar
4e99e6f2e1
Git versioning flag ( #20748 )
...
* [gn] Adds a flag to turn off git hash versioning
Without this flag, it is excessively tedious to build Dart SDK
for local testing on Fuchsia, since Fuchsia runner will reject
a Dart SDK without a matching version.
* [gn] Add flag --no-dart-version-git-info
This flag suppresses the SDK stamping by git hash, which allows
deploying self-built Dart SDK. Without this flag, it is impossible
to build and deploy a development Dart SDK on Fuchsia.
2020-09-24 14:52:32 -07:00
skia-flutter-autoroll
bc36e426fb
Roll Skia from e74cebefdeeb to 6e51d92a0278 (7 revisions) ( #21385 )
2020-09-24 14:52:01 -07:00
Yurii Nakonechnyi
c6d6b04119
Added GLFW error-callback into FlutterEmbedderGLFW ( #19998 )
...
GLFW Error callback useful to clarify reasons of 'glfwInit()' failure.
On some platforms/desktop environments may be really strange failure reasons, like (in my case): "Linux: Failed to initialize inotify: Too many open files", so descriptive error messages helps to solve problem.
2020-09-24 14:39:20 -07:00
skia-flutter-autoroll
876d634435
Roll Skia from cf43fc676856 to e74cebefdeeb (6 revisions) ( #21384 )
2020-09-24 13:32:02 -07:00
skia-flutter-autoroll
e56080ab67
Roll Fuchsia Linux SDK from -grWUcdOo... to NeYDIjo58... ( #21381 )
2020-09-24 11:02:01 -07:00
skia-flutter-autoroll
392e870718
Roll Dart SDK from 616bc676e75b to aac512605bfe (2 revisions) ( #21380 )
2020-09-24 10:57:01 -07:00
skia-flutter-autoroll
68d15df740
Roll Skia from 96d9b52bb948 to cf43fc676856 (1 revision) ( #21378 )
2020-09-24 10:52:03 -07:00
skia-flutter-autoroll
85bfe29116
Roll Fuchsia Mac SDK from z7zaxhmps... to v7dguVBSA... ( #21377 )
...
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-mac-sdk-flutter-engine
Please CC zra@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/+doc/master/autoroll/README.md
2020-09-24 10:14:42 -07:00
skia-flutter-autoroll
ccc12f540b
Roll Dart SDK from 2b8d00ac48e7 to 616bc676e75b (1 revision) ( #21376 )
2020-09-24 02:07:02 -07:00
skia-flutter-autoroll
9692845294
Roll Skia from fc396a85e4c8 to 96d9b52bb948 (2 revisions) ( #21374 )
2020-09-23 23:17:01 -07:00
Ian Hickson
cdc631c433
Make drain() consistently asynchronous. ( #21062 )
2020-09-23 22:17:02 -07:00
skia-flutter-autoroll
d5a6ad8ced
Roll Skia from 1b89eb742a66 to fc396a85e4c8 (1 revision) ( #21373 )
2020-09-23 21:57:02 -07:00
Gary Qian
de3db5db92
Locale -> LanguageRange conversion to be more general in Android platformResolvedLocale ( #21350 )
2020-09-23 21:52:02 -07:00
David Iglesias
3d0f12974d
[web] Add canUpdateAsMatch to PersistedPlatformView. ( #21313 )
2020-09-23 21:47:02 -07:00
Dan Field
c0e1df65e5
implement decodeFromPixels ( #21298 )
2020-09-23 21:42:01 -07:00
Dan Field
2ea7e5230b
isCloneOf for Image ( #21371 )
...
* isCloneOf for Image
* Update docs, add missing impl
2020-09-23 21:09:44 -07:00
skia-flutter-autoroll
68f347f008
Roll Fuchsia Linux SDK from IWfLWIJ93... to -grWUcdOo... ( #21369 )
...
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 zra@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/+doc/master/autoroll/README.md
2020-09-23 21:01:27 -07:00
Jason Simmons
1345359642
Fix boolean value checks in StandardMessageCodec ( #21270 )
...
Fixes https://github.com/flutter/flutter/issues/65619
2020-09-23 16:31:07 -07:00
Robert Ancell
e17cb83726
Fix segfault if engine is disposed with an uncompleted task. ( #21234 )
2020-09-24 11:29:38 +12:00
skia-flutter-autoroll
d7185357a9
Roll Skia from 59b2a92c96ba to 1b89eb742a66 (5 revisions) ( #21368 )
2020-09-23 16:12:01 -07:00
Yegor
b4fb5bb8be
web: make a few variables non-null ( #21115 )
...
* web: make a few variables non-null
2020-09-23 15:30:57 -07:00
skia-flutter-autoroll
b0fb2c8a98
Roll Skia from 7b97b3cb2bd0 to 59b2a92c96ba (4 revisions) ( #21365 )
2020-09-23 14:52:01 -07:00
Dan Field
b49de93b33
Create an ImageHandle wrapper ( #21057 )
...
Allows for reference counting of images before disposal.
This will allow multiple callers to hold a reference to an image and dispose of their reference without disposing the underlying image until all handles have been disposed.
This will be used by the framework to help resolve some of the kludge I was trying to introduce in flutter/flutter#64582
2020-09-23 14:33:29 -07:00
Tim Sneath
dd35b5b659
Update FlutterViewController.mm ( #21362 )
...
Tweaked the label here a little for style ("apps", not "application" -- plural and shorter); and "launching" rather than "re-launching"?
2020-09-23 13:52:52 -07:00
skia-flutter-autoroll
fdac69495a
Roll Skia from 81fc1fc3bfe6 to 7b97b3cb2bd0 (5 revisions) ( #21363 )
2020-09-23 13:32:01 -07:00
skia-flutter-autoroll
c2bfa4f26d
Roll Skia from ba615e892fcb to 81fc1fc3bfe6 (2 revisions) ( #21357 )
2020-09-23 12:12:02 -07:00
skia-flutter-autoroll
0b40ccb994
Roll Fuchsia Mac SDK from WcbX470pS... to z7zaxhmps... ( #21358 )
2020-09-23 11:52:02 -07:00
xster
caa8e6dd9f
Re-land deprecate Android v1 embedding classes ( #21347 )
2020-09-23 11:25:20 -07:00
Richard Cai
515f339838
Update docs specifying addPlatformView offset param is not used ( #21331 )
...
for Android and iOS and remove offset from scenario_app test for iOS and Android.
2020-09-23 10:37:57 -07:00
skia-flutter-autoroll
9b140e5825
Roll Skia from 443d2c17b79b to ba615e892fcb (1 revision) ( #21354 )
2020-09-23 10:02:02 -07:00
Jason Simmons
034ab2e18e
Retain the WindowInsetsAnimation callback if code shrinking is enabled ( #21330 )
2020-09-23 09:17:02 -07:00
nturgut
39f76b8ac2
remove web_tests from cirrus since they already run on LUCI ( #21353 )
2020-09-23 09:01:24 -07:00
skia-flutter-autoroll
69a6f88faf
Roll Skia from 18f4b1c7e31a to 443d2c17b79b (3 revisions) ( #21352 )
2020-09-23 08:42:03 -07:00