601 Commits

Author SHA1 Message Date
Filip Filmar
3b3d8e67d3
[fuchsia][input] Migrate Flutter to "input3" (#23262) 2021-01-07 15:39:03 -08:00
chunhtai
2e5833b7c5
Apply local patch to chromium accessibility code (#23110) 2021-01-06 17:39:02 -08:00
Michael Reed
022bb11fa7
Remove dead code for 3x3 matrices (#23363)
Co-authored-by: Mike Reed <reed@google.com>
2021-01-05 08:54:20 -05:00
Kaushik Iska
70f070263a
[embedder] [metal] Add support for Metal Renderer Config in the embedder API (#22854)
This change adds a FlutterMetalRendererConfig that lets embedders
specify metal as rendering api.

Also adds a test that validates rendering a gradient using metal.
2021-01-01 20:39:36 -08:00
mikerreed
7cb464aedb
Switch to new virtuals on SkCanvas (#23350)
* Switch to new virtuals on SkCanvas

Co-authored-by: Mike Reed <reed@google.com>
2020-12-30 16:45:33 -05:00
Dan Field
5a2244c581
Reland path volatility tracker, disabling it if deterministic rendering is requested (#23226)
* Reland path volatility tracker (#23063)" (#23220)

This reverts commit fceef3aaa9d156e8ec3f4a079c142921882f70d8.

* allow disabling based on whether deterministic rendering is needed
2020-12-22 08:25:20 -08:00
Dan Field
fceef3aaa9
Revert "Reland path volatility tracker (#23063)" (#23220)
This reverts commit 205d2b8e188be518c313c9b537429b566d36fa35.
2020-12-21 13:53:18 -08:00
gaaclarke
8d3d69b6b0
Turned no malloc scribble and randomized the tests. (#23014) 2020-12-17 15:14:15 -08:00
Siva
76310c4264
Add missing sdk constriant in pubspec.yaml files. (#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
78657edbb5
Added golden test to make sure that spawn engines work. (#23066) 2020-12-17 09:32:41 -08:00
Tamir Duberstein
6b4d4a39df
[fuchsia] Remove fuchsia.netstack.Netstack (#23082) 2020-12-15 09:48:01 -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
Dan Field
4f914253bd
Revert "Set SkPath::setIsVolatile based on whether the path survives at least two frames (#22620)" (#23044)
This reverts commit 2efc7c10aa12005010c837a1023024bb26bee143.
2020-12-11 15:39:24 -08:00
Greg Spencer
21691f1ebb
Enable delayed event delivery for macOS (#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
bb81b954b9
Allow Tile mode for blur filter and add new decal TileMode (#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
2efc7c10aa
Set SkPath::setIsVolatile based on whether the path survives at least two frames (#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
a90d587433
Use List.filled constructor instead of soon-to-be-deprecated List constructor (#22925) 2020-12-08 09:53:05 -08:00
Chris Yang
5db07805d4
Enable clipRRect for android platform view hybrid composition (#21817) 2020-12-08 09:13:02 -08:00
Chris Yang
dcbc7c20c4
[scenario app] Update golden images for android (#22907) 2020-12-07 13:09:29 -08:00
Gary Qian
37cddb04fd
Remove spammy log (#22858) 2020-12-03 19:23:04 -08:00
mikerreed
6ae2594b97
opt into new Skia APIs (#22845) 2020-12-03 15:28:02 -08:00
Gary Qian
fcbfa9f527
Split AOT Engine Runtime (#22624) 2020-12-02 13:28:01 -08:00
xster
64d9add1d6
Add a golden scenario test for fallback font rendering on iOS take 3 (#22736) 2020-12-02 09:28:02 -08:00
Greg Spencer
d2ad4419bb
Fix PlatformDispatcher.locale to return something meaningful when there are no locales. (#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
176a2c0208
[embedder][glfw] Add support for locales to glfw shell (#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
8f4901f1d6
Request quickReject results from correct drawing canvas (#22674)
Also Fix MockCanvas clipping so tests will work with new culling
2020-11-24 13:11:15 -08:00
stuartmorgan
9f207a3fc6
Add initial settings message to Windows embedding (#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
97cacfbfec
Add more runtime intrinsic symbols to the export checker script (#22641) 2020-11-20 09:47:59 -08:00
vsmenon
550c750252
Remove opt outs for dart:ui (#22603)
* Remove null safety opt outs for dart:ui
2020-11-19 18:54:12 -08:00
Chris Yang
74d40c101f
PlatformViewsController: clear composition_order_ in the beginning of each frame. (#22574) 2020-11-19 09:53:03 -08:00
Wu Zhong
cfdcfca152
[iOS] Fix platfotm view called multiple times (#19292) 2020-11-18 11:43:02 -08:00
Emmanuel Garcia
2e05ec36d5
Fix and clean up scenario app for Android (#22540) 2020-11-17 19:27:47 -08:00
Ian Hickson
1a5ec52a6c
Also maintain the zone on the ChannelBuffers.push callback (#22454) 2020-11-17 09:48:03 -08:00
Jenn Magder
0abcc93eb3
Add xcframework to ios out (#22506) 2020-11-16 13:58:44 -08:00
LongCatIsLooong
e872177c1f
Exposing ColorFilter to ImageFilter conversion and Compose() (#20309) 2020-11-12 15:34:02 -08:00
Zachary Anderson
f042181d87
Add SDK constraint to a pubspec (#22375)
This appears to be blocking the Dart SDK roll.
2020-11-06 17:11:11 -08:00
Jonah Williams
4b5b496fa6
[null-safety] increase sky engine min sdk (#22322) 2020-11-05 18:24:53 -08:00
Ian Hickson
ad79d23358
Refactor platform message logic (#22181) 2020-11-05 15:19:01 -08:00
freiling
3105db8ee8
SKP based shader warmup (#20643) 2020-11-04 23:19:02 -08:00
Daco Harkes
ccdb6819ce
WeakPersistentHandle migration (#19843)
and roll Dart to 52783837369de45d3372cb6c6b7cdd63e71cd829.
2020-11-03 13:06:53 +01:00
Chris Yang
153775bc5b
update golden (#22247) 2020-11-02 08:03:53 -08:00
xster
fa77e68711
disable AppLifecycleTests (#22236) 2020-10-30 15:44:18 -07:00
Chris Yang
172a3930f7
Report image diff status for iOS scenario golden tests (#22230) 2020-10-30 13:05:34 -07:00
Siva
5f0e6dd47e
Manual roll of Dart 1a18fff9ad2e...ba80ed989cc (#22216) 2020-10-29 21:28:01 -07:00
stuartmorgan
caf32d5b28
Add a proc table version of embedder API (#21813) 2020-10-29 13:13:03 -07:00
Kaushik Iska
d6627c6a7d
Reland [ios] Refactor IOSSurface factory and unify surface creation (#22016) 2020-10-29 11:58:03 -07:00
Yuqian Li
acece00f0d
Allow parse_and_send to use access tokens (#22019) 2020-10-28 17:57:03 -07:00
godofredoc
7641b02d33
Add metrics scripts in preparation to move the builder to LUCI. (#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
6e0262d37a
Fix _lerpInt precision bug (#22089)
Fixes a precision bug was introduced in 784e6d7, 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
daa0f7a074
Revert "Add a golden scenario test for fallback font rendering on iOS take 2 (#22033)" (#22095)
This reverts commit cde78c162d04e2485dd99ad095ec059ba7746d4b.
2020-10-23 21:10:24 -07:00