Chinmay Garde
16731be1a7
[Impeller] Allow for the specification of pipeline stage information at runtime. ( flutter/engine#33882 )
...
Towards implementing the FragmentProgram API in Impeller.
Specifies an Impeller specific format for data the renderer can use to create
pipelines with user supplied shader stages at runtime.
The data is in the form of a flatbuffer with a known schema.
This patch implements the wire format, creating and loading the program
payloads, and creating pipeline state objects using these payloads.
If the user supplied SPIRV intended for the older API, the loader will reject
this invalid payload. This is probably not going to be too much of an issue
because the FragmentProgram API will probably be modified to only allow buffers
loaded from asset managers. But still, in the meantime, I am using the old API
to pass these new buffers.
Fixes https://github.com/flutter/flutter/issues/104750
Fixes https://github.com/flutter/flutter/issues/105542
Towards resolving https://github.com/flutter/flutter/issues/102853
2022-06-13 18:33:00 -07:00
Alexander Markov
8292927857
Remove uses of --lazy-async-stack Dart VM flag ( flutter/engine#33964 )
2022-06-10 10:12:56 -07:00
Jenn Magder
7f68c203f9
Create iOS simulator before running IosUnitTests ( flutter/engine#33906 )
2022-06-09 15:38:05 -07:00
Jason Simmons
6f247c88f5
Output the scenario app lint results at the path expected by the GN script ( flutter/engine#33943 )
2022-06-09 15:33:03 -07:00
William Hesse
dedb924576
Remove dependencies on package charcode ( flutter/engine#33925 )
...
The charcode package has been removed from the Dart SDK source
checkout, and the Flutter engine packages that list it in
their pubspecs do not depend on it directly or indirectly.
Remove it from their pubspecs, so they do not break when
the package disappears from the engine source checkout.
Bug: https://dart-review.googlesource.com/c/sdk/+/247500
2022-06-09 08:04:35 -07:00
Dan Field
45633ced2a
Purge resources on rasterizer teardown ( flutter/engine#33890 )
2022-06-08 16:58:04 -07:00
gaaclarke
166029f3a1
Added flag to disable the dart profiler on iOS ( flutter/engine#33907 )
2022-06-08 12:28:04 -07:00
gaaclarke
3800433d1d
Added plist flag for enabling trace-systrace. ( flutter/engine#33889 )
2022-06-08 09:08:06 -07:00
Jason Simmons
adc0a37ea3
Return an error if a SingleFrameCodec's cached decoded image has been disposed ( flutter/engine#33819 )
2022-06-06 17:23:04 -07:00
Jim Graham
f8e874e945
add backdrop option to DisplayList::saveLayer ( flutter/engine#33854 )
2022-06-06 15:23:06 -07:00
Zachary Anderson
9a73afb34d
Use impellerc for engine FragmentProgram unit tests ( flutter/engine#33824 )
2022-06-05 08:51:13 -07:00
Zachary Anderson
7976841a64
Revert "Re-enable scenario tests on Android ( #33574 )" ( flutter/engine#33813 )
...
This reverts commit ab51155132d7815f51dd2f73c9843eff5174482c.
2022-06-03 13:53:28 -07:00
Zachary Anderson
1790d5a019
Adds a python formatter ( flutter/engine#33797 )
...
* Adds a python formatter
* Apply format
2022-06-03 13:00:14 -07:00
Emmanuel Garcia
ab51155132
Re-enable scenario tests on Android ( flutter/engine#33574 )
2022-06-03 08:53:05 -07:00
Bruno Leroux
1a7f78e201
Fix Canvas.drawParagraph should assert that Paragraph.layout has been called ( flutter/engine#33776 )
2022-06-02 11:13:02 -07:00
Gary Qian
c2fb536113
Upgrade android SDK to API 32 ( flutter/engine#33524 )
2022-06-01 18:58:04 -07:00
Emmanuel Garcia
7ae2fa67bd
Move Skia gold client to shared location ( flutter/engine#33672 )
2022-05-31 16:33:04 -07:00
Chris Yang
d303a310a6
PlatformView to set the correct overlay view frame, merge thread at the endFrame ( flutter/engine#33262 )
2022-05-31 14:42:34 -07:00
Chris Bracken
56fbdd0232
[lint] Enforce k prefix for global constants ( flutter/engine#33666 )
...
Enforces that all global constants are prefixed with a 'k' as per the
style guide and updates the codebase into conformance where necessary.
This does not change any public API.
Additional testing provided by the addition of the lint rule.
Ref: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#begin-global-constant-names-with-prefix-k
2022-05-27 18:33:38 -07:00
Zachary Anderson
ba64d1e1b5
Run some unit tests in parallel ( flutter/engine#33603 )
2022-05-26 20:14:06 -07:00
Zachary Anderson
5d5c396ec0
Run run_tests.py Dart tests in parallel ( flutter/engine#33619 )
2022-05-26 14:44:09 -07:00
Chris Yang
3720c4dff0
Revert "iOS spell-checker ObjC" ( flutter/engine#33570 )
2022-05-23 19:08:05 -07:00
Emmanuel Garcia
5ce95c21d7
Fix scenario tests on Android ( flutter/engine#33360 )
2022-05-20 12:38:05 -07:00
Jonah Williams
50eaa4b0e9
[dart:ui] dont create Timers in FragmentShader ( flutter/engine#33488 )
2022-05-19 14:08:05 -07:00
Chris Yang
8bbe46106a
iOS spell-checker ObjC ( flutter/engine#32941 )
2022-05-19 12:28:06 -07:00
Jonah Williams
815195114e
allow flutter tester to disable font loading from asset bundle ( flutter/engine#33323 )
2022-05-13 15:04:06 -07:00
Jonah Williams
a4895a7315
compile a flutter tester with SUPPORT_FRACTIONAL_TRANSLATION and raster cache disabled ( flutter/engine#33272 )
2022-05-12 12:49:04 -07:00
JsouLiang
8a5b063ca0
Use DlPathEffect Object ( flutter/engine#32159 )
...
* Define the DlPathEffect Object
* Complete the DlPathEffect Object
* Add DlPathEffect Unittests
* Cut down only DLDashPathEffect
* Create Intervals by other mode
* Fix unittest issues
* Delete base_quals, check array equal first
* Change licenses file and deps
* Add effect_bounds for DlPathEffect; Delete invalid test cases;
* Change the intervals API; fix the DlUnknownPathEffect::effect_bounds bug; update test cases
* fix some suggests of comments
* Change SetPathEffect one line like the others
* Change the DisplayListStreamDispatcher::setBlendMode api
* Delete licenses
* change the display_list_dispatcher setPathEffect api
* Update Licenses
* fix conflict
2022-05-12 09:45:30 +08:00
Jami Couch
2397cf14a9
Add support for iOS UndoManager ( flutter/engine#31415 )
2022-05-11 12:09:06 -07:00
Jonah Williams
8aef5df7b1
Add support for loading asset directly from ImmutableBuffer ( flutter/engine#32999 )
2022-05-10 19:39:04 -07:00
David Worsham
88c5519cfa
[fuchsia] Migrate unittests to CFv2 ( flutter/engine#32878 )
2022-05-06 18:54:05 -07:00
Jim Graham
26c1ba11fa
Text gradient matrix golden test ( flutter/engine#33153 )
2022-05-05 19:24:04 -07:00
Chris Bracken
d19ef3092c
[embedder] Fix typo in EmbedderA11yTest ( flutter/engine#33120 )
2022-05-04 18:19:05 -07:00
Jim Graham
5997dd3e9d
use new DlObjects throughout the DisplayList code ( flutter/engine#32896 )
2022-04-29 13:59:06 -07:00
Tong Mu
e6f56a53ff
[Linux] Make unit tests abort on critical errors, and fix two such errors ( flutter/engine#32348 )
2022-04-28 15:24:05 -07:00
Naud Ghebre
ea8342fc2b
[dart_test_runner] Adapt the dart runner to implement the suite fidl protocol so that it can be used in the v2 testing framework. ( flutter/engine#32751 )
2022-04-28 12:55:55 -07:00
Jim Graham
0e92250c2a
Display list test executables ( flutter/engine#32973 )
2022-04-27 17:04:07 -07:00
Zachary Anderson
fb5c781136
Delete AppLifecycleTests testDismissedFlutterViewControllerNotRespondingToApplicationLifecycle ( flutter/engine#32971 )
2022-04-27 16:14:04 -07:00
Alexander Aprelev
ef654d96c2
Remove unused pkg/pedantic dependency. ( flutter/engine#32894 )
...
The dependency is unused, but causes breakages during dart->engine roll since https://dart.googlesource.com/sdk/+/aa63ef8f4f506ffa9f160b960158e861be370b4a removed it from dart sdk.
2022-04-25 06:39:10 -07:00
Jim Graham
1afb88d9e4
Reland: simplify the logic around computing subtree opacity inheritance ( flutter/engine#32853 )
2022-04-22 16:19:04 -07:00
Chris Bracken
a970f9766a
Minor unique_ptr initialization cleanup ( flutter/engine#32821 )
...
Cleans up a few cases of std::unique_ptr(new T) that could have been
using std::make_unique<T>(...).
2022-04-20 17:08:00 -07:00
Jim Graham
272d144c55
Verbose display list comparisons ( flutter/engine#32737 )
2022-04-19 23:04:03 -07:00
egdaniel
ee03d13d72
Don't use Skia internal src file GrGLDefines. ( flutter/engine#32491 )
...
Skia's src files are not stable and may change constantly, flutter should not ever including them.
2022-04-14 13:08:11 -07:00
Jim Graham
1c35cc7dc2
make sure to sync PathEffet to null for Dart Canvas rendering ( flutter/engine#32672 )
2022-04-14 12:39:04 -07:00
Jim Graham
bd89e4452a
Designated field initialization of Paint/PrerollContexts ( flutter/engine#32634 )
2022-04-12 20:59:05 -07:00
Yegor
f6c36b8c51
fix races associated with unawaited futures ( flutter/engine#32593 )
2022-04-12 13:49:49 -07:00
Dan Field
4101b52aca
Unify unhandled error reporting, add PlatformDispatcher.onError ( flutter/engine#32078 )
2022-04-09 14:44:04 -07:00
Chris Bracken
92e109f579
Add API consistency test ( flutter/engine#32408 )
2022-04-07 15:26:04 -07:00
Kevin Lubick
f7b0a59a84
[skia] Fix more transitive includes ( flutter/engine#32430 )
2022-04-07 08:53:54 -04:00
Jim Graham
b8d19a2d36
assertion failure on empty indices in ui.Vertices constructor ( flutter/engine#32434 )
2022-04-05 14:56:04 -07:00