20623 Commits

Author SHA1 Message Date
Chris Bracken
69d7e8eb91
Correct button state on synthetic pointer events (#23111)
This corrects the button state emitted on synthetic pointer move and
hover events generated by the engine.

When an embedder notifies the engine of a pointer up or down event, and
the pointer's position has changed since the last move or hover event,
`PointerDataPacketConverter` generates a synthetic move or hover to
notify the framework of the change in position. In these cases, the
current event from the embedder contains the new button state *after*
the pointer up/down event, but the move/hover needs to be synthesized
such that it occurs *before* the pointer up/down, with the previous
button state.

This patch stores the button state after each pointer down, up, move, or
hover event such that it can be used by the next event if a synthetic
event must be issued.

The bug in the previous logic was revealed by the release of macOS 11
(Big Sur), which appears to issue move events between mouse down and
mouse up, which did not use to be the case.

This fixes https://github.com/flutter/flutter/issues/64961, which is the
desktop-specific tracking bug for the more general Big Sur mouse click
umbrella issue https://github.com/flutter/flutter/issues/71190.
2020-12-16 11:57:42 -08:00
skia-flutter-autoroll
b0c6686d42
Roll Skia from 6e110c89ed50 to f52a8112909c (5 revisions) (#23109) 2020-12-16 10:43:02 -08:00
skia-flutter-autoroll
f0655e0847
Roll Skia from 15f51848df7f to 6e110c89ed50 (4 revisions) (#23108) 2020-12-16 09:18:02 -08:00
skia-flutter-autoroll
9e3803b367
Roll Fuchsia Linux SDK from Lj6L6i7vj... to TIKHoiQyP... (#23106) 2020-12-16 06:53:02 -08:00
skia-flutter-autoroll
a6b095eaff
Roll Fuchsia Mac SDK from 716FtmoF4... to acylwa3i4... (#23105) 2020-12-16 06:33:02 -08:00
skia-flutter-autoroll
e9f2f0eaea
Roll Dart SDK from 1297e4ae2140 to 5969f5653830 (2 revisions) (#23104) 2020-12-16 02:33:01 -08:00
skia-flutter-autoroll
7bb449ea83
Roll Skia from 2078cbe3d4d9 to 15f51848df7f (6 revisions) (#23103) 2020-12-15 22:48:02 -08:00
skia-flutter-autoroll
0445f7985e
Roll Skia from f2876b0b9e4a to 2078cbe3d4d9 (1 revision) (#23099) 2020-12-15 21:23:02 -08:00
Gary Qian
b00bc2e098
Disable flaky/hanging split AOT test (#23070) 2020-12-15 21:18:07 -08:00
George Wright
687e767ffb Bump number of expected licences to 15 due to the imported accessiblity
code
2020-12-15 18:03:58 -08:00
George Wright
995fa5904a Licence file update for accessibility library import from Chromium 2020-12-15 18:03:58 -08:00
George Wright
b05684cee4 Formatting changes 2020-12-15 18:03:58 -08:00
George Wright
d12ccba8d3 Initial import of accessibility code from Chromium. There are no
modifications to this code.
2020-12-15 18:03:58 -08:00
skia-flutter-autoroll
a70f6de139
Roll Fuchsia Linux SDK from 5Rxyho8VL... to Lj6L6i7vj... (#23095) 2020-12-15 17:33:01 -08:00
skia-flutter-autoroll
674ffc4ef8
Roll Fuchsia Mac SDK from n0XovQHCz... to 716FtmoF4... (#23092) 2020-12-15 17:28:01 -08:00
Ferhat
b080bdf56f
Prevent recycling of canvas multiple times (#23089) 2020-12-15 16:42:40 -08:00
Mouad Debbar
730ad8601b
[web] Calculate height and baseline for rich text (#23064) 2020-12-15 15:48:34 -08:00
skia-flutter-autoroll
66fcb10440
Roll Skia from a298431a1370 to f2876b0b9e4a (9 revisions) (#23094) 2020-12-15 15:43:02 -08:00
skia-flutter-autoroll
0495b45c60
Roll Dart SDK from d7266520ca18 to 1297e4ae2140 (1 revision) (#23093) 2020-12-15 15:33:01 -08:00
Yegor
3d4c021fbd
[canvaskit] cache and reuse platform view overlays (#23061) 2020-12-15 14:57:05 -08:00
Yegor
3d3e16e303
upgrade Firefox to 83 (#22829) 2020-12-15 12:12:06 -08:00
skia-flutter-autoroll
604fd75096
Roll Skia from adc688922877 to a298431a1370 (6 revisions) (#23086) 2020-12-15 11:38:01 -08:00
skia-flutter-autoroll
fead6dc01f
Roll Dart SDK from 5cec31739703 to d7266520ca18 (1 revision) (#23083) 2020-12-15 11:03:02 -08:00
skia-flutter-autoroll
180c0fb99e
Roll Skia from 2bacaf973d79 to adc688922877 (6 revisions) (#23084) 2020-12-15 10:18:02 -08:00
Tamir Duberstein
6b4d4a39df
[fuchsia] Remove fuchsia.netstack.Netstack (#23082) 2020-12-15 09:48:01 -08:00
skia-flutter-autoroll
cb882c94fd
Roll Skia from 4bdc12142a0e to 2bacaf973d79 (4 revisions) (#23081) 2020-12-15 08:58:02 -08:00
Dan Field
89d64daf18
Roll buildroot to flutter/buildroot@64bf32094b (#23041)
* Roll buildroot to flutter/buildroot@64bf32094b

See flutter/buildroot#417

This helps make GOMA work on macOS related builds.
2020-12-15 08:49:28 -08:00
skia-flutter-autoroll
cca6ab654e
Roll Skia from 0765022c1517 to 4bdc12142a0e (1 revision) (#23079) 2020-12-15 07:23:01 -08:00
skia-flutter-autoroll
71326a7e01
Roll Dart SDK from e01119c6fd09 to 5cec31739703 (1 revision) (#23078) 2020-12-15 05:53:01 -08:00
skia-flutter-autoroll
d402cd921a
Roll Fuchsia Linux SDK from QniFAAjTT... to 5Rxyho8VL... (#23076) 2020-12-15 02:53:02 -08:00
skia-flutter-autoroll
6179c0363f
Roll Fuchsia Mac SDK from L7-xj4Yqz... to n0XovQHCz... (#23075) 2020-12-15 02:18:02 -08:00
skia-flutter-autoroll
8e15466656
Roll Dart SDK from 8233c4763a9c to e01119c6fd09 (1 revision) (#23074) 2020-12-15 01:48:01 -08:00
skia-flutter-autoroll
67bc134d64
Roll Skia from 4df3fea42692 to 0765022c1517 (1 revision) (#23073) 2020-12-14 23:33:02 -08:00
skia-flutter-autoroll
8cd04f4905
Roll Skia from f124108e2325 to 4df3fea42692 (2 revisions) (#23071) 2020-12-14 22:13:02 -08:00
skia-flutter-autoroll
c59f94dfa1
Roll Dart SDK from f166571c7bc4 to 8233c4763a9c (1 revision) (#23069) 2020-12-14 21:43:03 -08:00
skia-flutter-autoroll
7810b5e18e
Roll Skia from f607dbbbe81f to f124108e2325 (2 revisions) (#23068) 2020-12-14 19:33:01 -08:00
skia-flutter-autoroll
e2cb6beca3
Roll Skia from 1c50643b3cef to f607dbbbe81f (1 revision) (#23065) 2020-12-14 18:13:01 -08:00
gaaclarke
9643c9d110
Started shutting down the sampler when it gets deleted (#23012) 2020-12-14 17:59:13 -08:00
Dan Field
205d2b8e18
Reland path volatility tracker (#23063)
* Revert "Revert "Set SkPath::setIsVolatile based on whether the path survives at least two frames (#22620)" (#23044)"

This reverts commit 4f914253bd7cd2a5cca3fd97213df37494e9bf37.

* Fix tracing
2020-12-14 17:21:55 -08:00
gaaclarke
f37c8c5796
Implemented FlutterEngineGroup and Spawn API. (#22975) 2020-12-14 17:07:44 -08:00
skia-flutter-autoroll
97def13b90
Roll Skia from 1d2b075ce060 to 1c50643b3cef (1 revision) (#23062) 2020-12-14 16:18:02 -08:00
Gary Qian
056b8be933
DynamicFeatureChannel MethodChannel and Install state tracking (#22833) 2020-12-14 15:43:56 -08:00
Yegor
d0b6e4269f
[canvaskit] improve image error handling and messaging (#22951) 2020-12-14 14:46:15 -08:00
skia-flutter-autoroll
1749dbcc1b
Roll Skia from 1aa1f5fcbac6 to 1d2b075ce060 (28 revisions) (#23058) 2020-12-14 14:23:04 -08:00
skia-flutter-autoroll
456d258106
Roll Dart SDK from 68d1c7504f7d to f166571c7bc4 (1 revision) (#23056) 2020-12-14 13:53:01 -08:00
skia-flutter-autoroll
0e5cb3c616
Roll Dart SDK from 68d1c7504f7d to f166571c7bc4 (1 revision) (#23055) 2020-12-14 13:33:02 -08:00
skia-flutter-autoroll
73cc20604c
Roll Fuchsia Linux SDK from BA2UmYXNr... to QniFAAjTT... (#23048) 2020-12-14 13:28:02 -08:00
Mouad Debbar
8ead1df40b
[web] Align offset for lines of rich text (#23043) 2020-12-14 13:23:03 -08:00
freiling
bbed7c6ab8
warmup memory reland (#23009) 2020-12-14 13:18:02 -08:00
skia-flutter-autoroll
abdc04f76a
Roll Fuchsia Mac SDK from QbeeeTiub... to L7-xj4Yqz... (#23049) 2020-12-14 13:13:06 -08:00