12363 Commits

Author SHA1 Message Date
skia-flutter-autoroll
5cc7ee603d Roll Skia from 07c5f52c947d to 8d29ab630996 (1 revision) (flutter/engine#23892) 2021-01-23 17:24:01 -08:00
skia-flutter-autoroll
be235a095f Roll Skia from 9702fc6f3852 to 07c5f52c947d (2 revisions) (flutter/engine#23890) 2021-01-23 12:24:01 -08:00
skia-flutter-autoroll
daffd05365 Roll Fuchsia Linux SDK from edqShE0QE... to uMOnDLfvl... (flutter/engine#23886) 2021-01-23 08:09:01 -08:00
skia-flutter-autoroll
077f6f5ed3 Roll Skia from 8a42b09c162e to 9702fc6f3852 (1 revision) (flutter/engine#23882) 2021-01-22 21:44:01 -08:00
skia-flutter-autoroll
fb0f1d311f Roll Skia from 2a4c0fbdca1a to 8a42b09c162e (9 revisions) (flutter/engine#23878) 2021-01-22 18:29:02 -08:00
Greg Spencer
1d7c3ef055 Implement delayed key event synthesis for Windows (flutter/engine#23524)
This changes the Windows text handling so that keyboard events are sent to the framework first for handling, and then passed to the text input plugin, so that the framework has a chance to handle keys before they get given to the text field.

This is complicated by the async nature of the interaction with the framework, since Windows wants a synchronous response. So, in this change, I always tell Windows that the event was handled, and if the framework (eventually) responds that it wasn't, then I synthesize a new event and send it with SendEvent.

I also added support for detecting "extended" keys, since that was missing, and converted the OnKey handlers in the API to return a bool to indicate whether or not they have handled the event.
2021-01-22 18:14:39 -08:00
Chris Bracken
c5d35fb934 Notify Win32FlutterWindow of cursor updates (flutter/engine#23795)
During multi-step text input composing, such as with Chinese, Japanese,
and Korean text input, the framework sends embedders cursor rect updates
in the form of two messages:

* TextInput.setMarkedTextRect: notifies the embedder the size and
  position of the composing text rect (or cursor when not composing) in
  local coordinates.
* TextInput.setEditableSizeAndTransform: notifies the embedder of the
  size of the EditableText and 4x4 transform matrix from local to
  PipelineOwner.rootNode coordinates.

On receipt of either message, we cache a local copy on the
TextInputPlugin and notify the Win32FlutterWindow of the updated cursor
rect. In a followup patch, we update Win32FlutterWindow to implement the
Win32 input manager (IMM) calls required to position the IME candidates
window while editing.
2021-01-22 16:31:09 -08:00
skia-flutter-autoroll
c5131db756 Roll Skia from 3193ff271628 to 2a4c0fbdca1a (3 revisions) (flutter/engine#23875) 2021-01-22 15:39:02 -08:00
skia-flutter-autoroll
93eb2ba22f Roll Fuchsia Linux SDK from mODEe2CNk... to edqShE0QE... (flutter/engine#23873) 2021-01-22 14:34:01 -08:00
gaaclarke
c57c021c17 Started using Dart_CreateInGroup when using spawn on a release build (flutter/engine#23782) 2021-01-22 14:29:01 -08:00
Ferhat
21265577cc [web] Fix shadows for arbitrary paths on PhysicalShape (flutter/engine#23830) 2021-01-22 14:22:17 -08:00
skia-flutter-autoroll
491b753f2d Roll Skia from bfc9be0f773f to 3193ff271628 (5 revisions) (flutter/engine#23872) 2021-01-22 14:19:02 -08:00
Paul Berry
cc660d930d Remove workarounds now that type promotion accounts for local boolean variables. (flutter/engine#23862)
This change removes workarounds that were introduced prior to landing
Dart language feature
https://github.com/dart-lang/language/issues/1274, which allows type
promotion in null safe code to account for local boolean variables.
The workarounds ensured that the code would analyze the same
regardless of whether the feature was enabled, allowing for a smoother
transition.  Now that the feature has fully landed, the workarounds
aren't needed anymore.
2021-01-22 12:54:34 -08:00
xster
e618085f1c Share Android surface GrDirectContext (flutter/engine#23798) 2021-01-22 12:44:02 -08:00
gaaclarke
ce537a2b51 reland of https://github.com/flutter/engine/pull/23634 (flutter/engine#23865) 2021-01-22 11:49:37 -08:00
skia-flutter-autoroll
c5984bba21 Roll Skia from cc6961b9ac5e to 6a272434c2b2 (3 revisions) (flutter/engine#23864) 2021-01-22 11:24:02 -08:00
skia-flutter-autoroll
7b4430e47c Roll Skia from ce75036b3eaf to cc6961b9ac5e (3 revisions) (flutter/engine#23860) 2021-01-22 09:59:01 -08:00
Zachary Anderson
d1713a83ff Revert "implemented GetMainContext() for opengl (#23634)" (flutter/engine#23859)
This reverts commit ef108aeaed9a86a99c77dcc1c4373f940b532c01.
2021-01-22 09:54:24 -08:00
Lau Ching Jun
dfab1f2f1a Search multiple paths when loading deferred component .so files. (flutter/engine#23849)
This is a partial revert of 1181890b8e94c8cc72928df526f49dcc6ce7cdb2

On some devices we still need to the original search paths approach
because dlopen with just the base file name doesn't work. We're
combining both approaches now, adding the base filename as the first
entry in the searchPaths.
2021-01-22 09:41:22 -08:00
chunhtai
053c0e3eb4 Implements accessibility bridge in common library (flutter/engine#23491) 2021-01-22 09:29:02 -08:00
skia-flutter-autoroll
eb56101de6 Roll Skia from 372791761157 to ce75036b3eaf (4 revisions) (flutter/engine#23858) 2021-01-22 08:39:02 -08:00
skia-flutter-autoroll
cac0cf47b9 Roll Skia from 450f8565c7f3 to 372791761157 (1 revision) (flutter/engine#23855) 2021-01-22 07:09:02 -08:00
skia-flutter-autoroll
c7e43241e9 Roll Skia from c09761f57605 to 450f8565c7f3 (5 revisions) (flutter/engine#23851) 2021-01-22 01:04:01 -08:00
skia-flutter-autoroll
10bab4efbb Roll Fuchsia Linux SDK from UGavhI1zv... to mODEe2CNk... (flutter/engine#23848) 2021-01-21 23:49:02 -08:00
Emmanuel Garcia
45f3827017 Call Dart plugin registrant if available (flutter/engine#23813) 2021-01-21 23:44:01 -08:00
skia-flutter-autoroll
1499518ed5 Roll Skia from 37d16f135265 to e89d8ea20b62 (2 revisions) (flutter/engine#23841) 2021-01-21 16:49:03 -08:00
Dan Field
e778949043 Reland path vol tracker (flutter/engine#23840)
This time making sure to deref the native object on GC.
2021-01-21 16:03:43 -08:00
Lau Ching Jun
1181890b8e Pass the filename directly to JNI for loading deferred component. (flutter/engine#23824)
When .so files are in the lib/ path in the APK, it can be dlopen-ed
directly using just the filename. We don't need to search for the file.
The interface has thus been changed to accept a single path instead of a
search directory.

Also instead of hardcoding the .so basename and assets directory, read
them from FlutterApplicationInfo instead.
2021-01-21 16:01:13 -08:00
pepsin
3e24724755 Fix background crash when FlutterView going appear while app goes background (flutter/engine#23175) 2021-01-21 15:34:02 -08:00
Greg Spencer
95196058d2 Make android more lenient when it comes to out-of-order key event responses (flutter/engine#23604)
Relaxes enforcement of key events being handled in order, to match similar code in the Linux and Windows implementations.
2021-01-21 15:31:21 -08:00
skia-flutter-autoroll
c40528cdcc Roll Skia from 8a37fb2c605b to 37d16f135265 (4 revisions) (flutter/engine#23839) 2021-01-21 15:24:02 -08:00
Sarbagya Dhaubanjar
52e5aebff7 iOS deeplink sends "path + query" instead of just path (flutter/engine#23562) 2021-01-21 15:09:01 -08:00
Jason Simmons
2c20425be9 Fix typo in embedder unit tests (flutter/engine#23783) 2021-01-21 14:24:38 -08:00
Jason Simmons
43a836fd96 Use references when iterating over SkParagraph text boxes (flutter/engine#23837) 2021-01-21 14:24:12 -08:00
skia-flutter-autoroll
a352c23a7c Roll Skia from 6de1e52d0b12 to 8a37fb2c605b (5 revisions) (flutter/engine#23836)
https://skia.googlesource.com/skia.git/+log/6de1e52d0b12..8a37fb2c605b

2021-01-21 tdenniston@google.com [svg] Implement SourceAlpha input for filter effects
2021-01-21 kjlubick@google.com [canvaskit] Include types in docker build
2021-01-21 tdenniston@google.com [svg] Several filter helper tweaks
2021-01-21 johnstiles@google.com Improve consistency of SPIR-V code generation.
2021-01-21 reed@google.com Update legacy shader context to take sampling

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skia-flutter-autoroll
Please CC scroggo@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
2021-01-21 14:00:46 -08:00
Harry Terkelsen
51757a7d4b Automatically download Noto fonts as backup fonts in CanvasKit mode (flutter/engine#23728)
* Revert "Revert "[CanvasKit] Automatically fall back to Noto fonts (#23096)" (#23357)"

This reverts commit b00fa0f20a358c2e78d54a0c7d2e5c93c4234880.

* WIP

* Use an Interval Tree to store the unicode ranges for the Noto Fonts

* Update licenses

* Remove debug print statements

* Respond to comments

* Fix analysis error

* Add tests

* Respond to comments

* Fix test

* Update goldens lock

* Skip screenshot test on Safari

* Skip CanvasKit tests on iOS Safari

* Move CanvasKit initialization so it doesn't run on iOS Safari
2021-01-21 12:58:33 -08:00
skia-flutter-autoroll
44a8785d64 Roll Skia from 982127b7d57d to 6de1e52d0b12 (1 revision) (flutter/engine#23834) 2021-01-21 12:14:01 -08:00
Wu Zhong
646475c27e [iOS] Fixes DisplayLinkManager leaks (flutter/engine#22194) 2021-01-21 11:19:51 -08:00
skia-flutter-autoroll
64e56d844c Roll Skia from e0d023562bd9 to 982127b7d57d (4 revisions) (flutter/engine#23831) 2021-01-21 10:44:02 -08:00
gaaclarke
ef108aeaed implemented GetMainContext() for opengl (flutter/engine#23634) 2021-01-21 09:43:06 -08:00
skia-flutter-autoroll
90c2f66d6a Roll Skia from 87a055b02027 to e0d023562bd9 (1 revision) (flutter/engine#23829) 2021-01-21 09:19:01 -08:00
skia-flutter-autoroll
24299b208a Roll Fuchsia Linux SDK from E4eFE0Bz6... to UGavhI1zv... (flutter/engine#23826) 2021-01-21 08:39:02 -08:00
Dan Field
cb57183325 revert path volatility tracker (flutter/engine#23822) 2021-01-21 08:34:02 -08:00
Jang-Ho Hwang
b2f2ffae85 Fix typo in textureFrameAvailable on macOS (flutter/engine#23823) 2021-01-21 08:31:00 -08:00
skia-flutter-autoroll
5743016d28 Roll Skia from 821a84558bd4 to 87a055b02027 (4 revisions) (flutter/engine#23825)
https://skia.googlesource.com/skia.git/+log/821a84558bd4..87a055b02027

2021-01-21 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 382f016dd3b6 to f0286e636456 (15 revisions)
2021-01-21 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 78d95924cc6a to dac687f4cbf2 (517 revisions)
2021-01-21 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn from 311a17a8feae to 762814bd9229 (7 revisions)
2021-01-21 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 89fd1480b47e to b3e5c440d239 (5 revisions)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skia-flutter-autoroll
Please CC scroggo@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
2021-01-21 07:54:13 -08:00
skia-flutter-autoroll
8a69bfd6fd Roll Skia from 08f5311ae142 to 821a84558bd4 (1 revision) (flutter/engine#23818) 2021-01-20 21:39:01 -08:00
skia-flutter-autoroll
a497b51169 Roll Skia from dd069a9188cc to 08f5311ae142 (5 revisions) (flutter/engine#23816)
https://skia.googlesource.com/skia.git/+log/dd069a9188cc..08f5311ae142

2021-01-21 adlai@google.com Detemplatize render task clustering
2021-01-20 brianosman@google.com Remove "death" functions from particle system
2021-01-20 csmartdalton@google.com Reland "Disable the MSAA atlas mode for CCPR"
2021-01-20 bsalomon@google.com GrQuadUtils: Handle degenerate persp quads where edges intersect outside quad
2021-01-20 reed@google.com Enable new virtuals in flutter

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skia-flutter-autoroll
Please CC scroggo@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
2021-01-20 18:10:55 -08:00
skia-flutter-autoroll
f5606b5103 Roll Skia from cdeabcaf5705 to dd069a9188cc (2 revisions) (flutter/engine#23812) 2021-01-20 16:54:01 -08:00
Daco Harkes
58104c65ed add ffi_allocation_patch.dart to libraries.yaml (flutter/engine#23808) 2021-01-20 16:44:02 -08:00
Ferhat
5715a3c99c [web] Make null paint color consistent with mobile&desktop (flutter/engine#23778) 2021-01-20 13:53:38 -08:00