593 Commits

Author SHA1 Message Date
Dan Field
dedf9bd1af Reland path volatility tracker, disabling it if deterministic rendering is requested (flutter/engine#23226)
* Reland path volatility tracker (#23063)" (#23220)

This reverts commit b56fc25561417f96e17dacab375e66f474a54c94.

* allow disabling based on whether deterministic rendering is needed
2020-12-22 08:25:20 -08:00
Dan Field
b56fc25561 Revert "Reland path volatility tracker (#23063)" (flutter/engine#23220)
This reverts commit 77c7096efb0b1392acc9793c386561a3c36012ba.
2020-12-21 13:53:18 -08:00
gaaclarke
78b1abc9c4 Turned no malloc scribble and randomized the tests. (flutter/engine#23014) 2020-12-17 15:14:15 -08:00
Siva
ae14ea248a Add missing sdk constriant in pubspec.yaml files. (flutter/engine#23124)
* Add missing sdk constriants in pubspec.yaml files.

* Update tools/android_lint/pubspec.yaml

Co-authored-by: Zachary Anderson <zanderso@users.noreply.github.com>
2020-12-17 09:45:26 -08:00
gaaclarke
18f46f0722 Added golden test to make sure that spawn engines work. (flutter/engine#23066) 2020-12-17 09:32:41 -08:00
Tamir Duberstein
6f70c0c330 [fuchsia] Remove fuchsia.netstack.Netstack (flutter/engine#23082) 2020-12-15 09:48:01 -08:00
Dan Field
77c7096efb Reland path volatility tracker (flutter/engine#23063)
* Revert "Revert "Set SkPath::setIsVolatile based on whether the path survives at least two frames (#22620)" (#23044)"

This reverts commit feda80cb42f99e2588a9a6b9ab3dd1f812d0f45b.

* Fix tracing
2020-12-14 17:21:55 -08:00
Dan Field
feda80cb42 Revert "Set SkPath::setIsVolatile based on whether the path survives at least two frames (#22620)" (flutter/engine#23044)
This reverts commit 2d52a3c87c97660a050e4bf5559091d0cec262f3.
2020-12-11 15:39:24 -08:00
Greg Spencer
f485eaf7a1 Enable delayed event delivery for macOS (flutter/engine#21231)
This enables delayed event delivery for macOS, so that shortcuts can handle keys that are headed for a text field and intercept them. This fixes the problem where pressing TAB (or other shortcuts) in a text field also inserts a tab character into the text field.
2020-12-11 15:21:39 -08:00
Jim Graham
8d66065e9a Allow Tile mode for blur filter and add new decal TileMode (flutter/engine#22982)
Add a new TileMode.decal enum value and allow TileMode in ImagerFilter.blur() constructor
2020-12-10 14:37:17 -08:00
Dan Field
2d52a3c87c Set SkPath::setIsVolatile based on whether the path survives at least two frames (flutter/engine#22620)
This patch defaults the volatility bit on SkPaths to false, and then flips it to true if the path survives at least two frames.
2020-12-10 13:57:23 -08:00
Alexander Aprelev
240e9648d3 Use List.filled constructor instead of soon-to-be-deprecated List constructor (flutter/engine#22925) 2020-12-08 09:53:05 -08:00
Gary Qian
dc86b7e433 Remove spammy log (flutter/engine#22858) 2020-12-03 19:23:04 -08:00
mikerreed
37b2722631 opt into new Skia APIs (flutter/engine#22845) 2020-12-03 15:28:02 -08:00
Gary Qian
9352ed557e Split AOT Engine Runtime (flutter/engine#22624) 2020-12-02 13:28:01 -08:00
xster
fab16364f9 Add a golden scenario test for fallback font rendering on iOS take 3 (flutter/engine#22736) 2020-12-02 09:28:02 -08:00
Greg Spencer
851544f2d2 Fix PlatformDispatcher.locale to return something meaningful when there are no locales. (flutter/engine#22608)
Returns an "undefined" locale (language code "und") from PlatformDispatcher.locale when no locales are defined.
2020-12-01 09:54:56 -08:00
Andy Weiss
ebdd79df0d [embedder][glfw] Add support for locales to glfw shell (flutter/engine#22657)
The other linux shell (and all the other embedding) have support for
getting the locales from the system and sending them over the
flutter/localization channel. The glfw shell does not have that which is
causing a crash on an assert now that Locale is no longer nullable
in Platform.

This adds a similar approach to what is going on over in the other linux
shell.
2020-11-24 14:23:12 -08:00
Jim Graham
b4a85a26ca Request quickReject results from correct drawing canvas (flutter/engine#22674)
Also Fix MockCanvas clipping so tests will work with new culling
2020-11-24 13:11:15 -08:00
stuartmorgan
79b158833b Add initial settings message to Windows embedding (flutter/engine#22323)
Sends the flutter/settings update message to the engine after starting
it. For now values other than 24-hour time preference are hard-coded,
but dark mode support can be added later.

Fixes https://github.com/flutter/flutter/issues/65590
2020-11-23 15:58:45 -08:00
Jason Simmons
e58b36e55a Add more runtime intrinsic symbols to the export checker script (flutter/engine#22641) 2020-11-20 09:47:59 -08:00
vsmenon
c035c7f167 Remove opt outs for dart:ui (flutter/engine#22603)
* Remove null safety opt outs for dart:ui
2020-11-19 18:54:12 -08:00
Chris Yang
ffad39e000 PlatformViewsController: clear composition_order_ in the beginning of each frame. (flutter/engine#22574) 2020-11-19 09:53:03 -08:00
Wu Zhong
b66f593f07 [iOS] Fix platfotm view called multiple times (flutter/engine#19292) 2020-11-18 11:43:02 -08:00
Emmanuel Garcia
9331f7478a Fix and clean up scenario app for Android (flutter/engine#22540) 2020-11-17 19:27:47 -08:00
Ian Hickson
9902781f55 Also maintain the zone on the ChannelBuffers.push callback (flutter/engine#22454) 2020-11-17 09:48:03 -08:00
Jenn Magder
41e243e13b Add xcframework to ios out (flutter/engine#22506) 2020-11-16 13:58:44 -08:00
LongCatIsLooong
465c84321e Exposing ColorFilter to ImageFilter conversion and Compose() (flutter/engine#20309) 2020-11-12 15:34:02 -08:00
Zachary Anderson
62f0aa5126 Add SDK constraint to a pubspec (flutter/engine#22375)
This appears to be blocking the Dart SDK roll.
2020-11-06 17:11:11 -08:00
Jonah Williams
c0c62cffb3 [null-safety] increase sky engine min sdk (flutter/engine#22322) 2020-11-05 18:24:53 -08:00
Ian Hickson
618c52f1aa Refactor platform message logic (flutter/engine#22181) 2020-11-05 15:19:01 -08:00
freiling
4903a92b2b SKP based shader warmup (flutter/engine#20643) 2020-11-04 23:19:02 -08:00
Daco Harkes
b6c5eff614 WeakPersistentHandle migration (flutter/engine#19843)
and roll Dart to 52783837369de45d3372cb6c6b7cdd63e71cd829.
2020-11-03 13:06:53 +01:00
Chris Yang
4512036697 update golden (flutter/engine#22247) 2020-11-02 08:03:53 -08:00
xster
256561e284 disable AppLifecycleTests (flutter/engine#22236) 2020-10-30 15:44:18 -07:00
Chris Yang
fba0836112 Report image diff status for iOS scenario golden tests (flutter/engine#22230) 2020-10-30 13:05:34 -07:00
Siva
f5ef63edb2 Manual roll of Dart 1a18fff9ad2e...ba80ed989cc (flutter/engine#22216) 2020-10-29 21:28:01 -07:00
stuartmorgan
ff1528235d Add a proc table version of embedder API (flutter/engine#21813) 2020-10-29 13:13:03 -07:00
Kaushik Iska
5fe332317b Reland [ios] Refactor IOSSurface factory and unify surface creation (flutter/engine#22016) 2020-10-29 11:58:03 -07:00
Yuqian Li
5fbc34bfcf Allow parse_and_send to use access tokens (flutter/engine#22019) 2020-10-28 17:57:03 -07:00
godofredoc
58515d6a7f Add metrics scripts in preparation to move the builder to LUCI. (flutter/engine#22086)
* Add metrics scripts in preparation to move the builder to LUCI.

Bug:
  https://github.com/flutter/flutter/issues/67579

* set -ex to fail scripts inmediately.
2020-10-26 12:49:23 -07:00
Chris Bracken
736d19ecbf Fix _lerpInt precision bug (flutter/engine#22089)
Fixes a precision bug was introduced in 5f363dc, which improved the
precision of lerpDouble when the extrema differed significantly in
magnitude.

_lerpInt doesn't have this issue since the extrema are passed as 64-bit
twos-complement values, therefore the difference will always be accurate
so long as it doesn't overflow. This reverts the _lerpInt implementation
to the original a + (b - a) * t, but adds a test to avoid a regression
if anyone is tempted to make it consistent with the others.
2020-10-24 09:49:21 -07:00
Dan Field
fb578c4ede Revert "Add a golden scenario test for fallback font rendering on iOS take 2 (#22033)" (flutter/engine#22095)
This reverts commit 97eed1d8e4523b6049eb7742c4bb9308489b16b2.
2020-10-23 21:10:24 -07:00
Filip Filmar
cb5828068f [fuchsia] Adds a test for timezone change (flutter/engine#21934) 2020-10-23 18:52:02 -07:00
Dan Field
ab0d43bf69 Add debugDisposed to Image (flutter/engine#21547) 2020-10-23 10:27:02 -07:00
xster
97eed1d8e4 Add a golden scenario test for fallback font rendering on iOS take 2 (flutter/engine#22033) 2020-10-22 17:12:01 -07:00
Greg Spencer
06b6f8af89 Reland: Migration to PlatformDispatcher and multi-window (flutter/engine#21932)
This re-lands #20496 and #21780 after fixing the semantics-enabling code that was causing the post-submit web_smoke_test to fail.

Below is the description from the original PR:

This is a PR for converting the dart:ui code in the engine to use a multi-window API. The goal here is to convert from the window singleton to an API that has the concept of multiple windows. Also, I'm matching up the new PlatformDispatcher class to talk directly to the PlatformConfiguration class in the engine. I'm not attempting to actually enable creating multiple windows here, just migrate to an API that has a concept of multiple windows. The multi-window API in this PR currently only ever creates one window.

The design doc for this change is here.

The major changes in this PR:

Move the platfom-specific attributes out of Window, and into the new PlatformDispatcher class that holds all of the platform state, so that the platform code need only update the configuration on this class.
Create FlutterView, FlutterWindow, and SingletonFlutterWindow classes to separate out the concepts of a view (of which there may be multiple in a window), a window (of which there may be multiple on a screen, and they host views), and a window where there is only ever expected to be one (this hosts the entire API of the former Window class, and will eventually be the type of the window singleton).
Next step after this PR lands:

Remove the Window class entirely (it is replaced by SingletonFlutterWindow). Some minor changes in the Framework are needed to switch to using SingletonFlutterWindow directly first.

The Window class still exists in this PR, but will be removed as soon as the framework is converted to point to the SingletonFlutterWindow class instead. They share the same API, just have different names (Window is currently a subclass of SingletonFlutterWindow). The intention is that the Window name will be freed up to use as a widget class name in the framework for managing windows. The singleton called window will remain, and keep the same API it has now.
2020-10-22 14:54:25 -07:00
Clement Skau
559463b492 Enable lazy-async-stacks by-default in all modes (Take 4) (flutter/engine#21802) 2020-10-20 10:31:15 +02:00
godofredoc
f5f38e9000 Collect logs in the background. (flutter/engine#21828)
* Collect logs in the background.

* Use fuchsia_ctl log_file option.

* Delete the correct file.

* Remove commented code.
2020-10-16 21:51:37 -07:00
Chris Bracken
2a726cbb36 Eliminate unnecessary linter opt-outs (flutter/engine#21935)
Eliminates FLUTTER_NOLINT where they can be landed without triggering
lint failures.
2020-10-16 17:24:23 -07:00