18291 Commits

Author SHA1 Message Date
skia-flutter-autoroll
d9c58da4f2 Roll Skia from 76f32c939fa5 to 9d10f64104d9 (21 revisions) (flutter/engine#34329) 2022-06-27 15:54:04 -07:00
Jim Graham
33f417d7d8 Revert "render BackdropFilter layers directly to DisplayListBuilder (#34146)" (flutter/engine#34334)
This reverts commit 7dffa322971112332579563b5df97186010a06c2. Landing on red to fix the build.
2022-06-27 14:46:52 -07:00
Kaushik Iska
fa17e34df7 Expose a iOS plist setting to disable partial repaint. (flutter/engine#34328)
If the following is added to Info.plist of the application,
it will disable partial repaint:

```
  <key>FLTDisablePartialRepaint</key>
  <true/>
```

The primary intended usecase for this is to enable applications to see if disabling partial repaint resolves:
https://github.com/flutter/flutter/issues/100522.
2022-06-27 16:47:17 -04:00
Jim Graham
7dffa32297 render BackdropFilter layers directly to DisplayListBuilder (flutter/engine#34146) 2022-06-27 20:44:09 +00:00
Chase Latta
5e40f2c07c [fuchsia] replace deprecated fdio_ns_connect (flutter/engine#34327) 2022-06-27 13:01:41 -07:00
skia-flutter-autoroll
6682a37021 Roll Skia from b5ea90187c0a to 76f32c939fa5 (1 revision) (flutter/engine#34278) 2022-06-27 12:09:03 -07:00
joshualitt
df7a821479 [web] Migrate Flutter Web DOM usage to JS static interop - 38. (flutter/engine#33374) 2022-06-27 11:33:45 -07:00
godofredoc
de593702de Add gen_snapshot to flutter_gtk. (flutter/engine#34287) 2022-06-27 17:00:06 +00:00
Xilai Zhang
9bbaf6212e [gn] use generated_files to encode entitlement information (flutter/engine#34216)
* generated_files

* for debugging push

* format files

* formate files

* trigger build

* add deps
2022-06-27 09:09:29 -07:00
J-P Nurmi
4eb93fed5a Fix build on Linux (flutter/engine#34312)
* Fix build on Linux

The MockBinaryMessenger tweaks applied by #33955 caused the newly added
tests in #33313 to not build.

* Fix clang-tidy failures
2022-06-27 08:03:37 -07:00
J-P Nurmi
433ac149bf [Linux][A11y] implement AtkEditableText interface (flutter/engine#33955)
* Make FlAccessibleNode derivable

This allows introducing specialized subclasses that implement such a11y
interfaces as AtkEditableText that should not be implemented for the
generic node.

* FlAccessibleNode: add set value, text selection & perform action

Prepare API required for the upcoming AtkEditableText implementation.

* FlViewAccessible: postpone child node creation

This changes the a11y node creation flow so that (unknown) child nodes
are not pre-created when their parent is updated but "pending" child
node IDs are collected for later. Parent-child relationships are
established at the end of update batches when all nodes have been
created.

* Add FlAccessibleTextField that implements AtkEditableText

Solves: flutter/flutter#103191
2022-06-27 10:11:40 +12:00
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
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
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
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
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
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