15917 Commits

Author SHA1 Message Date
gaaclarke
7723377a79 disabled ios 13.4+ tests on earlier devices (flutter/engine#30887) 2022-01-14 15:27:43 -08:00
skia-flutter-autoroll
40c82b0aa4 Roll Skia from fb1b30b34671 to 55c215cfb650 (1 revision) (flutter/engine#30883) 2022-01-14 12:45:04 -08:00
gaaclarke
7fde4fef98 Started updating the native switch if it isn't enabled. (flutter/engine#30882) 2022-01-14 12:25:10 -08:00
skia-flutter-autoroll
3e9e5795b8 Roll Skia from f260a297c68d to fb1b30b34671 (3 revisions) (flutter/engine#30881) 2022-01-14 11:25:02 -08:00
Mouad Debbar
f111c9f844 [web] Move ui files to lib/ (flutter/engine#30051) 2022-01-14 11:20:10 -08:00
Emmanuel Garcia
470d1581e9 Revert "Remove usages of deprecated setSystemUiVisibility()" (flutter/engine#30880) 2022-01-14 11:05:09 -08:00
skia-flutter-autoroll
8142bd74c6 Roll Fuchsia Linux SDK from 35I2K_Bou... to V541xkYVr... (flutter/engine#30879) 2022-01-14 10:45:07 -08:00
skia-flutter-autoroll
a1954d7705 Roll Skia from 1f0e64acd621 to f260a297c68d (1 revision) (flutter/engine#30877) 2022-01-14 10:05:02 -08:00
Chase Latta
3578ec3d99 [fuchsia] stamp package with target api level (flutter/engine#30857)
Infrastructure runs the pm command on packages in a different path
which we were not accounting for. This will make sure we stamp the
packages when infra builds them.
2022-01-14 09:32:00 -08:00
skia-flutter-autoroll
8f35930e5b Roll Skia from dd9e165ef7d0 to 1f0e64acd621 (1 revision) (flutter/engine#30876) 2022-01-14 08:45:10 -08:00
skia-flutter-autoroll
b1f8bc84dd Roll Skia from 7aec4b164e79 to dd9e165ef7d0 (1 revision) (flutter/engine#30874) 2022-01-14 07:15:03 -08:00
skia-flutter-autoroll
8d84ad0295 Roll Skia from 76e62d32d979 to 7aec4b164e79 (1 revision) (flutter/engine#30869) 2022-01-13 23:40:10 -08:00
skia-flutter-autoroll
418c02a5a4 Roll Skia from a6f2ebf30fea to 76e62d32d979 (1 revision) (flutter/engine#30868) 2022-01-13 22:20:02 -08:00
skia-flutter-autoroll
b9d0e312b7 Roll Skia from 7c80b2f08ead to a6f2ebf30fea (1 revision) (flutter/engine#30863) 2022-01-13 19:30:11 -08:00
Tong Mu
45f496761f [Windows, Keyboard] Lift key event redispatching to KeyboardManagerWin32 (flutter/engine#30702) 2022-01-13 19:08:21 -08:00
Jason Simmons
e9dffcbe05 Ensure that PlatformViewIOS does not call into Shell semantics APIs during destruction (flutter/engine#30835) 2022-01-13 18:40:02 -08:00
skia-flutter-autoroll
ccd5f30664 Roll Skia from 119fb6bb2568 to 7c80b2f08ead (1 revision) (flutter/engine#30862) 2022-01-13 18:10:11 -08:00
skia-flutter-autoroll
5566b482ee Roll Skia from 62b32180c192 to 119fb6bb2568 (1 revision) (flutter/engine#30860) 2022-01-13 16:50:10 -08:00
George Wright
58b9a5aaff Move SoftwareCanvasProvider into its own source file (flutter/engine#30856) 2022-01-13 15:35:09 -08:00
skia-flutter-autoroll
4245e0466f Roll Skia from c505bdca9d60 to 62b32180c192 (1 revision) (flutter/engine#30855) 2022-01-13 15:30:04 -08:00
George Wright
6b45335bf1 Create a DisplayList benchmarks dylib on iOS (flutter/engine#30833)
Create a DisplayList benchmarks dylib on iOS that can be linked to from a test app. To run the benchmarks,
call the exported entrypoint RunBenchmarks(argc, argv).
2022-01-13 14:32:54 -08:00
George Wright
d160719f16 Don't retain the MTLTexture or MTLDevice in TestMetalContext (flutter/engine#30832) 2022-01-13 14:29:43 -08:00
skia-flutter-autoroll
fee95ec156 Roll Skia from 455e580b9c78 to c505bdca9d60 (1 revision) (flutter/engine#30852) 2022-01-13 14:10:05 -08:00
Konstantin Scheglov
653163cbf8 Remove unused field initializing formal parameters. (flutter/engine#30822) 2022-01-13 13:24:12 -08:00
skia-flutter-autoroll
09a228de08 Roll Skia from 759bc62a06d2 to 455e580b9c78 (2 revisions) (flutter/engine#30849) 2022-01-13 12:50:10 -08:00
Camille Simon
6e22c1fb87 Remove usages of deprecated setSystemUiVisibility() (flutter/engine#29493) 2022-01-13 12:40:10 -08:00
skia-flutter-autoroll
19ce763f74 Roll Skia from b21c4af0f670 to 759bc62a06d2 (3 revisions) (flutter/engine#30848) 2022-01-13 11:30:10 -08:00
Alexander Biggs
116fe9190a [fuchsia] Switch from core-jit to core snapshots. (flutter/engine#30744) 2022-01-13 11:05:33 -08:00
ColdPaleLight
03e2fe4a87 Only creates 'onscreen_surface_' when it's not available in 'AndroidSurfaceGL::CreateSnapshotSurface' (flutter/engine#30590)
* Only creates 'onscreen_surface_' when it's not available in 'AndroidSurfaceGL::CreatePbufferSurface'

* Rename the function and add some unit tests

* Update android_surface_gl.h

Co-authored-by: Dan Field <dfield@gmail.com>
2022-01-13 10:17:01 -08:00
skia-flutter-autoroll
9ab859182e Roll Skia from 106a57b5ac3a to b21c4af0f670 (4 revisions) (flutter/engine#30847) 2022-01-13 10:10:03 -08:00
ColdPaleLight
af5e4cf7f4 Add a trace to GpuSurfaceMetal around canvas flushing (flutter/engine#30667) 2022-01-13 09:31:42 -08:00
Alexander Aprelev
b6176f8901 Remove use of '--enable-isolate-groups' dart vm flag. (flutter/engine#30839)
The flag was removed after isolate groups were enabled by default.

Fixes https://github.com/flutter/flutter/issues/95331
2022-01-13 09:11:45 -08:00
skia-flutter-autoroll
9586f13b6d Roll Skia from a379b7d4a3d4 to 106a57b5ac3a (4 revisions) (flutter/engine#30846) 2022-01-13 08:50:03 -08:00
skia-flutter-autoroll
c669ba9021 Roll Skia from e92e5f982fcd to a379b7d4a3d4 (1 revision) (flutter/engine#30843) 2022-01-13 03:55:12 -08:00
skia-flutter-autoroll
3f61a2f268 Roll Skia from 0aad22f5686a to e92e5f982fcd (1 revision) (flutter/engine#30837) 2022-01-12 22:25:03 -08:00
Darren Chan
84aebe8bb6 Roll Fuchsia Linux SDK from DS-3oCidC... to 35I2K_Bou... (flutter/engine#30829)
* Roll Fuchsia Linux SDK from DS-3oCidC... to 35I2K_Bou...

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 kaushikiska@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

* Use zircon/rights.h instead of zx/cpp/fidl.h.

This helps us avoid namespace clashes, unblocking the SDK roll.

Co-authored-by: skia-flutter-autoroll <skia-flutter-autoroll@skia.org>
2022-01-12 19:53:59 -05:00
ColdPaleLight
ca35fae4bd Remove obsolete 'PlatformView::size_' member variable (flutter/engine#30812) 2022-01-12 16:35:09 -08:00
skia-flutter-autoroll
2c8c6b49dc Roll Skia from 00f71133a81e to db1d93f3b43d (3 revisions) (flutter/engine#30828) 2022-01-12 16:10:06 -08:00
Tong Mu
400ee783e3 [Win32, Keyboard] Migrate FlutterWindowWin32 keyboard tests to keyboard_win32_unittests (flutter/engine#30808)
* Until AltLeft

* Alt right

* Meta keys

* Remove tests

* Format
2022-01-12 15:10:23 -08:00
skia-flutter-autoroll
4f8fbb365f Roll Skia from 4ec5259b90ee to 00f71133a81e (1 revision) (flutter/engine#30824) 2022-01-12 14:50:10 -08:00
skia-flutter-autoroll
e01e1f5b1b Roll Skia from 04e74196b022 to 4ec5259b90ee (3 revisions) (flutter/engine#30820) 2022-01-12 13:30:10 -08:00
skia-flutter-autoroll
01507b6c74 Roll Skia from 44c00ae64a4e to 04e74196b022 (1 revision) (flutter/engine#30819) 2022-01-12 12:10:09 -08:00
skia-flutter-autoroll
e1f4788fac Roll Skia from 704007f5edb1 to 44c00ae64a4e (2 revisions) (flutter/engine#30815) 2022-01-12 10:50:10 -08:00
ColdPaleLight
fdcc6befe9 Use the correct Settings in Engine::Spawn (flutter/engine#30741)
* Use the correct Settings in Engine::Spawn

* Add unit tests
2022-01-12 10:31:28 -08:00
Chris Bracken
9bca9234dc Win32: Fix Korean text input (flutter/engine#30805)
Fixes an issue with Korean IMEs wherein a text input state update may be
sent to the framework that misleads the framework into assuming that IME
composing has ended.

When inputting Korean text, characters are built up keystroke by
keystroke until the point that either:
* the user presses space/enter to terminate composing and commit the
  character, or;
* the user presses a key such that the character currently being
  composed cannot be modified further, and the IME determines that the
  user has begun composing the next character.

The following is an example sequence of events for the latter case:

1. User presses ㅂ. GCS_COMPSTR event received with ㅂ. Embedder sends
   state update to framework.
2. User presses ㅏ. GCS_COMPSTR event received with 바. Embedder sends
   state update to framework.
3. User presses ㄴ. GCS_COMPSTR event received with 반. Embedder sends
   state update to framework.
4. User presses ㅏ. At this point, the current character being composed
   (반) cannot be modified in a meaningful way, and the IME determines
   that the user is typing 바 followed by 나. GCS_RESULTSTR event
   received with 바, immediately followed by GCS_COMPSTR event with 나.

In step 4, we previously sent two events to the framework, one
immediately after the other:
* GCS_RESULTSTR triggers the text input model to commit the current
  composing region to the string under edit. This causes the composing
  region to collapse to an empty range.
* GCS_COMPSTR triggers the text input model to insert the new composing
  character and set the composing region to that character.

Conceptually, this is an atomic operation. The fourth keystroke causes
the 반 character to be broken into two (바 and ㄴ) and the latter to be
modified to 나. From the user's point of view, as well as from the IME's
point of view, the user has NOT stopped composing, and the composing
region has simply moved on to the next character.

Flutter has no concept of whether the user is composing or not other
that whether a non-empty composing region exists. As such, sending a
state update after the GCS_RESULTSTR event misleads the framework into
believing that composing has ended. This triggers a serious bug:

Text fields with input formatters applied do not perform input
formatting updates while composing is active; instead they wait until
composing has ended to apply any formatting. The previous behaviour
would thus trigger input formatters to be applied each time the user
input caused a new character to be input. This has the add-on negative
effect that once formatting has been applied, it sends an update back to
the embedder so that the native OS text input state can be updated.
However, since the GCS_RESULTSTR event is _immediately_ followed by a
GCS_COMPSTR, the state has changed in the meantime, and the embedder is
left processing an update (the intermediate state sent after the
GCS_RESULTSTR) which is now out of date (i.e. missing the new state from
the GCS_COMPSTR event).

Since GCS_RESULTR events are always immediately followed by a subsequent
GCS_COMPSTR (in the case where composing continues) or a
WM_IME_ENDCOMPOSITION (in the case where composing is finished), and
because the event handlers for both of those send updated state to the
framework, this change eliminates sending the (intermediate) state in
response to GCS_COMPSTR events.

Issue: https://github.com/flutter/flutter/issues/96209 (full fix)
Issue: https://github.com/flutter/flutter/issues/88645 (partial fix)
2022-01-12 10:00:58 -08:00
gaaclarke
1724b4f192 Reland: iOS Background Platform Channels (#29665) (flutter/engine#30697)
* iOS Background Platform Channels (#29665)

* added test that passes before this change, and fails after it

* started supporting backwards compatible usage of setting handlers
2022-01-12 09:57:29 -08:00
skia-flutter-autoroll
27b439ff47 Roll Skia from 479b02bf2df5 to 704007f5edb1 (1 revision) (flutter/engine#30814) 2022-01-12 09:30:10 -08:00
skia-flutter-autoroll
4f5959bee4 Roll Skia from 0e845dc8b05c to 479b02bf2df5 (1 revision) (flutter/engine#30813) 2022-01-12 08:05:12 -08:00
Matej Knopp
59414a9cd2 Only provide frame damage to rasterizer if partial repaint is enabled (flutter/engine#30704) 2022-01-12 15:19:01 +01:00
skia-flutter-autoroll
a38742c3c9 Roll Skia from b410a6b5ba5e to 0e845dc8b05c (1 revision) (flutter/engine#30811) 2022-01-11 23:35:11 -08:00