18279 Commits

Author SHA1 Message Date
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
Chinmay Garde
0aa7b3495f [Impeller] Log a message when using Impeller. (flutter/engine#34242) 2022-06-22 16:59:07 -07:00
Harry Terkelsen
a97be6031e Reland [canvaskit] Rework platform views (flutter/engine#34236) 2022-06-22 15:44:25 -07:00
skia-flutter-autoroll
4e15ff7bbf Roll Fuchsia Linux SDK from C5eoLgP5g... to F1U6IH2Nf... (flutter/engine#34239) 2022-06-22 15:09:06 -07:00
skia-flutter-autoroll
4ccee2bc76 Roll Skia from 57a5326e20fa to de2c13deddaf (2 revisions) (flutter/engine#34237) 2022-06-22 14:39:07 -07:00
Chinmay Garde
1e4b720f26 [Impeller] Update docs to point to a couple of useful WWDC videos. (flutter/engine#34235) 2022-06-22 14:29:07 -07:00
joshualitt
05f07b159f [web] Migrate Flutter Web DOM usage to JS static interop - 37. (flutter/engine#33373) 2022-06-22 12:43:56 -07:00
Chinmay Garde
20def47959 Remove unactionable verbose log about ignored viewport metrics. (flutter/engine#34231) 2022-06-22 12:34:06 -07:00
Dan Field
a33b1e7c6f Make LayerTree::Flatten use DisplayList (flutter/engine#34227) 2022-06-22 19:27:04 +00:00
Zachary Anderson
727c66750e Revert "[canvaskit] Rework embedded view manager (#34081)" (flutter/engine#34232)
This reverts commit 3da9e6d12fc83cdc2d1cfd8af9097c0b1d57df74.
2022-06-22 11:52:00 -07:00
Harry Terkelsen
3da9e6d12f [canvaskit] Rework embedded view manager (flutter/engine#34081) 2022-06-22 10:17:19 -07:00
Jonah Williams
a184d04005 cleanup fractional translation ifdefs and config (flutter/engine#34198) 2022-06-22 09:00:57 -07:00
skia-flutter-autoroll
1086b6e0a9 Roll Skia from a9163fca2e00 to 57a5326e20fa (3 revisions) (flutter/engine#34225) 2022-06-22 08:54:04 -07:00