9534 Commits

Author SHA1 Message Date
liyuqian
0e1cdfdcf5 Reland "Remove layer integral offset snapping" (flutter/engine#17915)
This reverts commit c72ff4a and relands #17712.

Fixes flutter/flutter#53288 and flutter/flutter#41654.

Together with #17791, this reland addresses some of Jim's concerns in the original PR #17712.

The major part of this PR is still the same as the original PR, and the performance / golden image impacts should be the same.
2020-05-01 15:01:42 -07:00
skia-flutter-autoroll
572ed53b37 Roll src/third_party/skia e55e56038cf4..5443bb32a2ad (1 commits) (flutter/engine#18091) 2020-05-01 14:24:02 -07:00
Gary Qian
c0ffda5aaf Revert "Remove Samsung workarounds (#17612)" (flutter/engine#18081)
This reverts commit 4dba845101dc6b01e9bf987d04cc97df48cc8368.
2020-05-01 13:14:27 -07:00
Chinmay Garde
efd2fd46aa Don't depend on an implicit transaction when presenting drawables on the raster thread. (flutter/engine#18076)
The way transactions were added changed in
8500bd4156.
This broke rendering using both Metal and OpenGL when no implicit transaction
was present on the transaction stack. The failure models differ based on Metal
vs. OpenGL and iOS/device versions. On older versions of iOS, rendering would
consume memory till exhaustion. On newer iOS versions, rendering would be stuck
(till a timeout). This patch brings transaction management back in line with as
it was earlier and also makes the Metal backend resilient to transactions being
present on the transaction stack at all. Since this is still quite brittle,
transaction management must be moved to IOSSurface as a followup.

Fixes https://github.com/flutter/flutter/issues/55784.
2020-05-01 13:05:23 -07:00
skia-flutter-autoroll
3d4afa5f2f Roll src/third_party/skia 5ba50afeed4c..e55e56038cf4 (26 commits) (flutter/engine#18088) 2020-05-01 11:54:02 -07:00
Chris Yang
d1d6103681 Introduce TaskRunnerChecker, TaskRunnerAffineWeakPtr (flutter/engine#17649) 2020-05-01 11:28:20 -07:00
Alexander Aprelev
4b5878c6ab Introduce runtime check that it is root isolate that makes UI native calls. (flutter/engine#18050)
* Revert "Do not register UI-related native functions in secondary isolates (#6401)"

This reverts commit c23deb818efc3813273d28ce7d965d0eb261cca9 as it doesn't work when root and secondary isolates run in the same isolate group.

* Confirm it is root isolate that makes UI native calls.

* Fix format, UIDartState reference from Fuchsia source

* No UI isolate check for fuchsia calls

* Fix typo. Remove redundant runtime calls
2020-05-01 09:05:41 -07:00
Felipe Archondo
fbdf852d1d [fuchsia] set vsync_offset based on config file (flutter/engine#18006)
In order to better support different products on Fuchsia, we should
change performance-sensitive attributes based on config files passed in.
This change does so for `vsync_offset`.
2020-05-01 08:45:53 -07:00
stuartmorgan
6027990460 Add an API for resyncing output streams (flutter/engine#18070)
When creating a console on Windows, stdout/stderr aren't wired up to it.
They need to be re-opened afeter the console is created, and that needs
to be done separately in the engine due to the use of static runtime
linking. This provides a helper method that the runner can call when
creating a console so that output will work as expected.

Part of https://github.com/flutter/flutter/issues/53169
2020-05-01 08:38:42 -07:00
skia-flutter-autoroll
fd03b6c704 Roll fuchsia/sdk/core/linux-amd64 from KcV-O... to cIjMH... (flutter/engine#18083) 2020-05-01 04:19:02 -07:00
George Wright
c64646b6e8 Bundle the validation layers and enable them if --enable-vulkan-validation-layers is specified to gn (flutter/engine#17854) 2020-04-30 16:06:59 -07:00
Kaushik Iska
9525672548 [fuchsia] Log unregistered platform channels only once (flutter/engine#18064)
This is to reduce log spam.

Fixes: https://github.com/flutter/flutter/issues/55966
2020-04-30 15:25:48 -07:00
Filip Filmar
604892e454 [fuchsia] Use dart::ComponentContext() (flutter/engine#17876)
This functionality is added in issue #41523.  Allows runners to request
the singleton instance of `sys::ComponentContext`, while it remains also
accessible to component-specific code that does not have direct access
to top-level objects.

Fixes #41523
2020-04-30 13:27:57 -07:00
Mouad Debbar
29cb541ccb [web] First batch of unit tests for line breaker (flutter/engine#18034) 2020-04-30 10:50:51 -07:00
Chris Yang
532f988f67 RendererContextManager (flutter/engine#17941) 2020-04-30 09:39:33 -07:00
Wings006
c65ab74a1c make "flutter run --trace-systrace" work. (flutter/engine#18052) 2020-04-30 09:30:24 -07:00
skia-flutter-autoroll
4fd9b4bf0b Roll src/third_party/skia 21d1720203f4..5ba50afeed4c (1 commits) (flutter/engine#18056) 2020-04-30 06:19:01 -07:00
skia-flutter-autoroll
d16daf4d08 Roll src/third_party/skia 8a6f2ed4ffd4..21d1720203f4 (24 commits) (flutter/engine#18053) 2020-04-30 01:39:02 -07:00
skia-flutter-autoroll
7991e473da Roll fuchsia/sdk/core/linux-amd64 from sKCYL... to KcV-O... (flutter/engine#18051) 2020-04-29 23:59:03 -07:00
Yegor
e87a60fb92 soften shadows even more; fix shadow alpha (flutter/engine#18029)
* soften shadows even more; fix shadow alpha
2020-04-29 20:54:21 -07:00
stuartmorgan
dda139248a Fix method handler control flow in Windows and Linux text input plugins (flutter/engine#17964)
The existing logic incorrectly factored out a check that there were arguments too early, applying it to any message not already handled (including unhandled methods, such as methods added after the initial implementation) and thus failing if any unhandled message had no arguments.

Fixes https://github.com/flutter/flutter/issues/55653
2020-04-29 19:43:12 -07:00
Emmanuel Garcia
142a859137 Populate window.locale in Dart (flutter/engine#18043) 2020-04-29 19:24:16 -07:00
Mouad Debbar
f464cd1f7c [web] Use correct shell operator to compare file limits (flutter/engine#18032) 2020-04-29 18:12:48 -07:00
Nurhan Turgut
6884f5158c remove linux-chrome unit tests from cirrus CI (flutter/engine#18035) 2020-04-29 13:50:27 -07:00
Chinmay Garde
d1acd32a82 [Metal] On context loss with a paused texture source, preserve external pixel buffer. (flutter/engine#18022)
Fixes https://github.com/flutter/flutter/issues/55783
Requires follow-up https://github.com/flutter/flutter/issues/55926
2020-04-29 13:27:00 -07:00
Robert Ancell
1523f9e550 Replace usage of NULL with nullptr to match coding style (flutter/engine#18023) 2020-04-29 13:26:27 -07:00
skia-flutter-autoroll
9b01b53d31 Roll src/third_party/dart 05b7f49c7267..53601ecc18e5 (15 commits) (flutter/engine#18036) 2020-04-29 13:19:01 -07:00
Siva
048552580a Revert all build changes made to test the Dart NNBD unfork CL. (flutter/engine#18033) 2020-04-29 12:32:30 -07:00
Dan Field
e8a8edd22a use clang on Windows (flutter/engine#17407)
* use clang on Windows for everything but Android

This pulls the Clang build from Chromium. We should eventually switch to use the Fuchsia toolchain when it is available.
2020-04-29 09:38:15 -07:00
skia-flutter-autoroll
6f74c87cf3 Roll fuchsia/sdk/core/linux-amd64 from NeQ_8... to sKCYL... (flutter/engine#18026) 2020-04-29 07:24:03 -07:00
skia-flutter-autoroll
66f7abbe6a Roll src/third_party/skia a50ce3c98357..8a6f2ed4ffd4 (3 commits) (flutter/engine#18024) 2020-04-29 07:14:02 -07:00
Robert Ancell
9d09f9ac4e Use g_warning instead of stderr (flutter/engine#17994) 2020-04-29 15:13:29 +12:00
skia-flutter-autoroll
543732464a Roll src/third_party/dart 726d3c772554..207953f367e6 (79 commits) (flutter/engine#18021) 2020-04-28 20:09:02 -07:00
skia-flutter-autoroll
abef0f28dc Roll src/third_party/skia 4baa7326ccfb..a50ce3c98357 (18 commits) (flutter/engine#18017) 2020-04-28 17:29:02 -07:00
Nurhan Turgut
bbc1712f43 use $CIRRUS_BASE_BRANCH for the branch name (flutter/engine#18014)
use $CIRRUS_BASE_BRANCH for getting the branch name when cloning the flutter repo.
2020-04-28 17:23:20 -07:00
xster
1db782cbf6 skip TextSemanticsFocusTest for flake (flutter/engine#18015) 2020-04-28 16:00:37 -07:00
George Wright
be852ec9a1 Set the max Vulkan API version when creating the GrContext (flutter/engine#18007) 2020-04-28 14:15:56 -07:00
Robert Ancell
c9b3285fa2 Run Flutter platform tasks in GLib main loop (flutter/engine#17910)
Fixes https://github.com/flutter/flutter/issues/54856
2020-04-29 09:13:58 +12:00
Jason Simmons
8b4d81c16d Disable the import_internal_library analyzer check for dart:ui (flutter/engine#18009)
The latest version of dartanalyzer does not support disabling this for a
specific line of code.
2020-04-28 13:45:47 -07:00
xster
62a64ac11e remove top padding when system UI in fullscreen mode (flutter/engine#17985) 2020-04-28 12:21:37 -07:00
skia-flutter-autoroll
4b1f1e905d Roll fuchsia/sdk/core/linux-amd64 from 3h-X9... to NeQ_8... (flutter/engine#18005) 2020-04-28 10:59:07 -07:00
skia-flutter-autoroll
1f417ae411 Roll src/third_party/skia f5132a05c893..4baa7326ccfb (1 commits) (flutter/engine#18003) 2020-04-28 10:54:03 -07:00
skia-flutter-autoroll
b27d73318a Roll src/third_party/skia 5f56cb1d3b4f..f5132a05c893 (6 commits) (flutter/engine#17999) 2020-04-28 01:54:02 -07:00
gaaclarke
03db531cb6 Bumped up the timeout for testAccessibilityFocusOnTextSemanticsProducesCorrectIosViews (flutter/engine#17988)
* Bumped up the timeout for testAccessibilityFocusOnTextSemanticsProducesCorrectIosViews

* ran formatter

* made an alternative version of the assertion

* removed log statements, seems to mess with the buildbot's xcpretty
2020-04-27 23:53:22 -07:00
skia-flutter-autoroll
bee87a02e5 Roll src/third_party/skia 81ef385c1fcd..5f56cb1d3b4f (14 commits) (flutter/engine#17991) 2020-04-27 23:39:05 -07:00
Siva
267d63e320 Trial PR to enable null safety unfork in the Dart SDK. (flutter/engine#17818)
* Trial PR to enable null safety unfork in the Dart SDK.

* Fix web-sdk builds.

* Manua; Roll of Dart cab69e77066b0db305187fd6e618a4f524ae9efd...03429b20cd67f85d65cc589b529ab8c1a4780912

dart-lang/sdk@ cab69e7706 [BUILD] - Initial CL to unfork the NNBD Dart SDK NOTE: This is a trial submit and will be reverted immediately.
2020-04-27 19:51:23 -07:00
skia-flutter-autoroll
bd041cf79d Roll fuchsia/sdk/core/linux-amd64 from eapIV... to 3h-X9... (flutter/engine#17987) 2020-04-27 19:09:05 -07:00
liyuqian
0b7c37b9ba Set SkSL asset manager in RunConfiguration ctor (flutter/engine#17948) 2020-04-27 17:49:04 -07:00
gaaclarke
63c6010814 Started ignoring remote keyboard notifications. (flutter/engine#17981) 2020-04-27 17:30:50 -07:00
godofredoc
4d8813b219 Reenable flutter scenic test to identify crashes and follow up on fixes. (flutter/engine#17979) 2020-04-27 15:14:04 -07:00