Dan Field
1c852cedaa
Do not assert callbacks contains key if disposed ( #104292 )
2022-05-20 14:51:14 -07:00
Dan Field
d54cdf9e18
Add a mechanism to observe layer tree composition. ( #103378 )
2022-05-17 11:22:11 -07:00
Phil Quitslund
bca071815f
rename local functions with _s ( #102615 )
2022-04-27 09:14:57 -07:00
ColdPaleLight
94d7f5e672
Refactor 'FakeSceneBuilder' to use 'NoSuchMethod Forwarding' ( #101970 )
2022-04-15 20:59:07 -07:00
wangying
38542d284c
Add some debug properties to BackdropFilterLayer ( #101101 )
2022-04-11 09:59:08 -07:00
Michael Goderbauer
7f2c1cd772
Use PlatformDispatcher.instance over window where possible ( #99496 )
2022-03-03 14:46:16 -08:00
Ian Hickson
ab89ce285f
Clean up the bindings APIs. ( #89451 )
2022-02-03 14:55:15 -08:00
chunhtai
28ca7bd789
Allow current leader of layerlink to detach before the previous leade… ( #96810 )
2022-01-24 11:50:11 -08:00
Michael Goderbauer
d290763941
enable more retained rendering opportunities for LeaderLayer ( #96486 )
2022-01-11 18:20:14 -08:00
chunhtai
e17a1858e5
LayerLink can temporary allow multiple leaders ( #95977 )
2022-01-07 17:50:10 -08:00
Michael Goderbauer
065c0feaaf
Do not crash on LeaderLayer.applyTransform after retained rendering ( #96144 )
2022-01-07 16:25:20 -08:00
Dan Field
fa8e3e6877
Reland "Ensure the engineLayer is disposed when an OpacityLayer is disabled"" ( #96295 )
2022-01-07 10:55:05 -08:00
Ren You
a607a60b4a
Revert "Ensure the engineLayer is disposed when an OpacityLayer is disabled ( #94280 )" ( #94743 )
...
This reverts commit c567f8439bcc7728fad5480848b2e2b2ff429df2.
2021-12-06 12:05:50 -08:00
Jason C.H
c567f8439b
Ensure the engineLayer is disposed when an OpacityLayer is disabled ( #94280 )
2021-12-03 16:34:02 -08:00
Michael Goderbauer
ca788d8941
Leader not always dirty ( #92598 )
2021-10-28 10:35:03 -07:00
Michael Goderbauer
210a905f21
Remove unused offset from Layer.addToScene/addChildrenToScene ( #91753 )
2021-10-14 12:48:06 -07:00
Ian Hickson
66dd2add7e
Add some more new lints ( #91659 )
2021-10-12 11:33:04 -07:00
Dan Field
528f77dc99
Opacity fix ( #90017 )
...
* Make sure Opacity widgets/layers do not drop the offset
2021-09-13 19:10:15 -07:00
Darren Austin
225a43d941
Updated skipped tests for rendering directory. ( #87700 )
2021-08-05 11:32:48 -07:00
Jonah Williams
7f26dbe0d4
[flutter] remove elevation checker ( #86837 )
2021-07-21 21:51:06 -07:00
Dan Field
4d9a3753a4
Assert disposed layers are not reused ( #85798 )
2021-07-07 14:26:04 -07:00
Dan Field
025397ae3f
Release retained resources from layers/dispose pictures ( #84740 )
2021-06-25 12:01:03 -07:00
Alexandre Ardhuin
59fc92168a
add missing trailing commas ( #81065 )
2021-04-23 22:47:40 +02:00
Michael Goderbauer
7b251f5f37
Enable use_function_type_syntax_for_parameters lint ( #77163 )
2021-03-04 08:59:17 -08:00
Alexandre Ardhuin
d546e1d311
fix for upcoming lint use_named_constants ( #74788 )
2021-01-27 20:20:44 +01:00
Kate Lovett
019e90f7df
[NNBD] Migrates some rendering tests ( #67449 )
2020-10-07 16:27:06 -07:00
Kate Lovett
ea777fea1b
Skip Audit - Rendering Library ( #58640 )
2020-07-09 13:36:03 -07:00
Jason Simmons
5cf0d73764
In layers_test create a canvas to start recording on the PictureRecorder ( #60660 )
2020-07-07 17:44:02 -07:00
Alexandre Ardhuin
4d7525f05c
Opt out nnbd in packages/flutter ( #59186 )
...
* add language version 2.8 in packages/flutter
* enable non-nullable analyzer flag
2020-06-11 14:11:30 +02:00
liyuqian
2ccf3f877d
Print more layer debug info ( #49679 )
2020-01-30 09:33:01 -08:00
Alexandre Ardhuin
4f9b6cf017
enable lint prefer_final_in_for_each ( #47724 )
2020-01-07 16:32:04 +01:00
Ian Hickson
449f4a6673
License update ( #45373 )
...
* Update project.pbxproj files to say Flutter rather than Chromium
Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.
* Update the copyright notice checker to require a standard notice on all files
* Update copyrights on Dart files. (This was a mechanical commit.)
* Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.
Some were already marked "The Flutter Authors", not clear why. Their
dates have been normalized. Some were missing the blank line after the
license. Some were randomly different in trivial ways for no apparent
reason (e.g. missing the trailing period).
* Clean up the copyrights in non-Dart files. (Manual edits.)
Also, make sure templates don't have copyrights.
* Fix some more ORGANIZATIONNAMEs
2019-11-27 15:04:02 -08:00
liyuqian
264082f34f
Print clipBehavior while debugging ClipXXXLayer ( #45716 )
...
Fixes https://github.com/flutter/flutter/issues/45587
2019-11-27 12:48:03 -08:00
Yegor
21a18fbe16
enable rendering rests on the Web ( #42773 )
2019-10-15 15:25:47 -07:00
Yegor
34c692659e
Teach render objects to reuse engine layers ( #36402 )
...
Teach Layer and its implementations, RenderObject and its implementations, and PaintingContext to reuse engine layers. The idea is that a concrete RenderObject creates a Layer and holds on to it as long as it needs it (i.e. when it is composited, and the layer type does not change). In return, each Layer object holds on to an EngineLayer and reports it to the engine via addRetained and oldLayer. This allows the Web engine to reuse DOM elements across frames. Without it, each frame drops all previously rendered HTML and regenerates it from scratch.
2019-08-16 15:27:12 -07:00
Dan Field
7a20148548
Add colorFilterLayer/Widget ( #35468 )
2019-07-11 15:49:51 -07:00
Alexandre Ardhuin
b5ce06163c
enable lint use_full_hex_values_for_flutter_colors ( #35056 )
2019-06-25 17:58:19 +02:00
Jonah Williams
ca14af6b92
Compatibility pass on flutter/rendering tests for JavaScript compilation. (5) ( #33355 )
2019-06-10 17:29:46 -07:00
Dan Field
fe9512fa72
Re-enable const ( #31600 )
...
* Re-enable const
2019-04-29 16:02:42 -07:00
Dan Field
d2790bd2bb
Check for invalid elevations ( #30215 )
...
* Check for invalid elevation usage in the layer tree
2019-04-10 14:57:46 -07:00
Michael Goderbauer
6d20ff2446
Remove all obsolete "// ignore:" ( #27271 )
2019-01-30 08:56:12 -08:00
liyuqian
744b872f65
Add unit tests to mutate layer fields ( #23599 )
...
So we're sure that:
1. We won't break the API by not allowing to mutate fields
2. We won't forget to markNeedsAddToScene after mutation
2018-11-02 08:02:22 -07:00
liyuqian
883e2dc272
Maintain dirtiness and use retained engine layers ( #23434 )
...
For #21756
2018-10-25 14:17:12 -07:00
Alexandre Ardhuin
d927c93310
Unnecessary new ( #20138 )
...
* enable lint unnecessary_new
* fix tests
* fix tests
* fix tests
2018-09-12 08:29:29 +02:00
Ian Hickson
0252622869
Promote Layer to full AbstractNode status ( #9456 )
2017-04-19 10:04:58 -07:00