23509 Commits

Author SHA1 Message Date
J-P Nurmi
514b0a43b8 [Linux][A11y] report disabled animations and high contrast accessibility features (flutter/engine#33313)
* FlEngine: add fl_engine_update_accessibility_features()
* FlSettings: add API for high-contrast & animations
* FlEngine: allow passing mock messenger at construction time
* FlSettingsPlugin: report accessibility features
2022-06-27 10:10:55 +12:00
skia-flutter-autoroll
1754324d02 Roll Fuchsia Mac SDK from CLkx5Koel... to QB_6Q7LjQ... (flutter/engine#34308) 2022-06-26 13:19:04 -07:00
skia-flutter-autoroll
d3a4c3e770 Roll Fuchsia Mac SDK from tEXj8_M8L... to CLkx5Koel... (flutter/engine#34300) 2022-06-26 00:14:06 -07:00
Xilai Zhang
8c277bec88 update dep (flutter/engine#34297) 2022-06-25 19:09:59 -07:00
skia-flutter-autoroll
b0ffe4da17 Roll Fuchsia Mac SDK from fI0Bb-7Gp... to tEXj8_M8L... (flutter/engine#34293) 2022-06-25 11:09:04 -07:00
skia-flutter-autoroll
aa2e3f652d Roll Dart SDK from 48e3f8edb811 to abfd936d2a0b (1 revision) (flutter/engine#34285) 2022-06-24 23:24:04 -07:00
skia-flutter-autoroll
2e04519a50 Roll Fuchsia Mac SDK from op6BqsxEf... to fI0Bb-7Gp... (flutter/engine#34284) 2022-06-24 22:04:03 -07:00
skia-flutter-autoroll
6c32a7960b Roll Dart SDK from 692562354d6d to 48e3f8edb811 (3 revisions) (flutter/engine#34282) 2022-06-24 18:54:03 -07:00
Brandon DeRosier
68bc0658b8 Revert "Roll Dart SDK from 692562354d6d to d3b8091c30f0 (1 revision) (#34273)" (flutter/engine#34281)
This reverts commit d35fe594705347f51d3a0a4c2a97986f109e5d2d.
2022-06-24 16:29:35 -07:00
Dan Field
3724bc6427 Implement toGpuImage, a synchronous, GPU-resident version of (flutter/engine#33736)
* Implement toGpuImage, a synchronous, GPU-resident version of
Picture.toImage.

This method kicks off asynchronous work on the raster task runner.
If it fails to rasterize, it will synchronously throw later when
the user attempts to draw to a canvas.

This supports several use cases:

- Quickly snapping off an expensive-to-rasterize image for reuse
  across multiple frames.
- Applying multi-pass filters to a render target.

This patch amends flutter_tester so that it can produce an image
object, but that image will always be a grey and white four square checkerboard.

Adds support for CanvasKit on Web, which basically already used
this method for its Picture.toImage implementation.

Throws an UnsupportedError for HTML on Web, since any implementation
there would almost certainly be slower than drawPicture.
2022-06-24 16:14:42 -07:00
Tong Mu
781a8e9e01 [Windows, Keyboard] Enqueue keyboard message (flutter/engine#34222) 2022-06-24 23:10:05 +00:00
Zachary Anderson
d2ea1f4065 Remove bringup from 'Linux License' shard (flutter/engine#34277) 2022-06-24 14:15:54 -07:00
skia-flutter-autoroll
61357f0d8d Roll Skia from 4345a2ea731a to b5ea90187c0a (16 revisions) (flutter/engine#34275) 2022-06-24 12:39:04 -07:00
J-P Nurmi
d79e1196c9 [Linux] remove duplicate clone_string() in favor of g_strdup() (flutter/engine#34031)
GLib's g_strdup() offers the same behavior that it returns NULL if the
argument is NULL: https://docs.gtk.org/glib/func.strdup.html
2022-06-24 12:24:33 -07:00
ColdPaleLight
e794617c3e [Impeller] Metal:Reset Encoder viewport and scissor rect in case the command specifies no opinion (flutter/engine#34252) 2022-06-24 19:17:04 +00:00
Zachary Anderson
e021669d32 Adds a license check shard to CI (flutter/engine#34274) 2022-06-24 11:45:12 -07:00
LongCatIsLooong
f879594eca Clean up text input configuration in clearTextInputClient (flutter/engine#34209) 2022-06-24 18:39:05 +00:00
skia-flutter-autoroll
dcc7a7e211 Roll Skia from bdd0205ae470 to 4345a2ea731a (1 revision) (flutter/engine#34268) 2022-06-24 11:14:05 -07:00
skia-flutter-autoroll
a3230cb6ae Roll Fuchsia Linux SDK from F1U6IH2Nf... to aRT7s0Yct... (flutter/engine#34251)
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 bdero@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

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/main/autoroll/README.md
2022-06-24 11:07:32 -07:00
skia-flutter-autoroll
d35fe59470 Roll Dart SDK from 692562354d6d to d3b8091c30f0 (1 revision) (flutter/engine#34273)
https://dart.googlesource.com/sdk.git/+log/692562354d6d..d3b8091c30f0

2022-06-24 dart-internal-sdk-dev-roller@dart-ci-internal.iam.gserviceaccount.com Version 2.18.0-225.0.dev

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/dart-sdk-flutter-engine
Please CC bdero@google.com,dart-vm-team@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter Engine: https://github.com/flutter/flutter/issues/new/choose

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/main/autoroll/README.md
2022-06-24 11:06:51 -07:00
Sébastien Marchand
89f95ef9e4 [fuchsia] Use the proper version of fidlc (flutter/engine#34271) 2022-06-24 08:59:06 -07:00
Zachary Anderson
efe086ab30 Adds a flag to the gn script to build with -fstack-protector (flutter/engine#34257) 2022-06-24 08:45:19 -07:00
godofredoc
5f54bbfe60 Update gn + ninja commands for mac_ios_release. (flutter/engine#34269) 2022-06-24 15:45:04 +00:00
skia-flutter-autoroll
540bf0aa73 Roll Fuchsia Mac SDK from NYAv3sahC... to op6BqsxEf... (flutter/engine#34270) 2022-06-24 06:09:07 -07:00
Brandon DeRosier
990a78d1a1 Make the GLFW embedder example work on Linux (flutter/engine#34156) 2022-06-23 21:02:43 -07:00
Tong Mu
ee0e8303fb [Keyboard] Mark generated file names with infix .g. (flutter/engine#34123)
* Impl

* Format
2022-06-23 20:02:33 -07:00
Sébastien Marchand
a7766026f6 [fuchsia] fuchsia_archive - Use the tools from the proper directory (flutter/engine#34255) 2022-06-23 18:34:05 -07:00
Brandon DeRosier
2b7ef9c7de [Impeller] Limit coverage of all subpasses to the root texture (flutter/engine#34246) 2022-06-24 01:33:05 +00:00
LongCatIsLooong
185bdbb637 [Android Autofill] Don't set autofillHints to an empty array when there's no autofillhints (flutter/engine#34203) 2022-06-24 01:13:07 +00:00
Harry Terkelsen
954ed4e2f9 [canvaskit] Correctly get the directionality of the text boxes (flutter/engine#34264) 2022-06-23 17:54:52 -07:00
skia-flutter-autoroll
fdc9ceef84 Roll Skia from 79e12af8790f to bdd0205ae470 (14 revisions) (flutter/engine#34266) 2022-06-23 17:49:02 -07:00
skia-flutter-autoroll
6e342b478e Roll Fuchsia Mac SDK from VI2l1CWc2... to NYAv3sahC... (flutter/engine#34265) 2022-06-23 17:04:03 -07:00
Dan Field
f7163f555c Roll SwiftShader, ANGLE, use SwANGLE in test harnesses (flutter/engine#33814)
Roll Swiftshader, ANGLE, and Vulkan deps.

Updates license bot for new locations of licenses and new files
in roll.

Converts unit test harnesses to use SwANGLE, which is the
supported way of using SwiftShader as a software backend for GLES.

Updates goldens due to swiftshader changes.

Fixes up include paths to avoid directly including third_party
code by that name, which is unlikely to work in other build
environments.

Includes upstream patches to ANGLE and SwiftShader to build in our
windows environments, as well as patches to Skia to support
defining the location of VulkanMemoryAllocator and a patch to ANGLE
to support opting into a newer version of VMA.
2022-06-23 16:43:39 -07:00
Dan Field
06f25e5fdd set leaf_nodes_builder in LayerTree::Flatten (flutter/engine#34261) 2022-06-23 23:19:08 +00:00
Jason Simmons
07873d4e21 Delete local JNI references created within AndroidImageGenerator::DoDecodeImage (flutter/engine#34148) 2022-06-23 23:15:04 +00:00
skia-flutter-autoroll
58a5ee8cc0 Roll Skia from de2c13deddaf to 79e12af8790f (1 revision) (flutter/engine#34241) 2022-06-23 16:14:04 -07:00
Jason Simmons
729cd3e4a9 Revert "Bump Robolectric to 4.8.1 (#33024)" (flutter/engine#34263)
This reverts commit aaa190f63293b61c0579642a4e979221bf6c5ba1.
2022-06-23 15:29:57 -07:00
Jason Simmons
1243cc12c6 Add a null check to AndroidImageGenerator::GetPixels (flutter/engine#34149) 2022-06-23 20:39:04 +00:00
utzcoz
aaa190f632 Bump Robolectric to 4.8.1 (flutter/engine#33024) 2022-06-23 20:27:05 +00:00
skia-flutter-autoroll
8c231ad904 Roll Dart SDK from cf5dfd1d5e5d to 692562354d6d (2 revisions) (flutter/engine#34260) 2022-06-23 13:24:05 -07:00
Alex Wood
8269c91886 [MacOS] Accept first mouse-down (flutter/engine#34093) 2022-06-23 20:21:04 +00:00
ColdPaleLight
b2861bd9b7 Make DisplayList DispatchHelpers prevent against extra restore calls (flutter/engine#34247) 2022-06-23 20:15:05 +00:00
dependabot[bot]
a4bd8e47ca Bump github/codeql-action from 2.1.12 to 2.1.14 (flutter/engine#34259) 2022-06-23 20:13:04 +00:00
godofredoc
9646a35428 Remove full platform name from patched_sdk path. (flutter/engine#34258) 2022-06-23 20:03:05 +00:00
godofredoc
0cb94ef6ca Use autosubmit instead of "waiting for tree to go green" for dependabot. (flutter/engine#34153) 2022-06-23 19:15:05 +00:00
godofredoc
23688b8edd Fix mac_ios builders and archive paths in linux host. (flutter/engine#34254) 2022-06-23 17:47:06 +00:00
skia-flutter-autoroll
2a687aade6 Roll Dart SDK from e9c75accbd18 to cf5dfd1d5e5d (6 revisions) (flutter/engine#34253) 2022-06-23 08:54:05 -07:00
skia-flutter-autoroll
ff33c81c8e Roll Fuchsia Mac SDK from QNIDvZVP6... to VI2l1CWc2... (flutter/engine#34248) 2022-06-23 03:59:05 -07:00
Emmanuel Garcia
135a1c8e56 Handle SurfaceView in a VirtualDisplay (flutter/engine#33599) 2022-06-22 19:39:05 -07:00
Dan Field
0586f7b588 Drop --enable-display-list flag, remove associated branched code (flutter/engine#34233) 2022-06-23 00:07:04 +00:00