-
Notifications
You must be signed in to change notification settings - Fork 6k
[Impeller] Do not build scene unless 3d define is true #45028
Changes from 8 commits
2fb18cf
6913bc8
24b7ff1
2589276
02580cf
97065b1
0d1d87a
9ab6107
79fcdbd
a183a3e
36c9dca
6260b35
4a268b1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,7 +13,8 @@ | |
| "debug", | ||
| "--unoptimized", | ||
| "--no-lto", | ||
| "--prebuilt-dart-sdk" | ||
| "--prebuilt-dart-sdk", | ||
| "--impeller-enable-3d" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The command to run tests for
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. as long as impeller_unittests runs it's fine - which it should as part of run_tests.py on this platform |
||
| ], | ||
| "name": "host_debug_unopt", | ||
| "ninja": { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2056,6 +2056,7 @@ TEST_P(AiksTest, SaveLayerFiltersScaleWithTransform) { | |
| ASSERT_TRUE(OpenPlaygroundHere(canvas.EndRecordingAsPicture())); | ||
| } | ||
|
|
||
| #if IMPELLER_ENABLE_3D | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should activate this flag in a CI build as part of this patch, otherwise Scene will just bitrot.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've updated the mac unpt build (which AFAIU runs the impeller unittests) to add |
||
| TEST_P(AiksTest, SceneColorSource) { | ||
| // Load up the scene. | ||
| auto mapping = | ||
|
|
@@ -2096,6 +2097,7 @@ TEST_P(AiksTest, SceneColorSource) { | |
|
|
||
| ASSERT_TRUE(OpenPlaygroundHere(callback)); | ||
| } | ||
| #endif // IMPELLER_ENABLE_3D | ||
|
|
||
| TEST_P(AiksTest, PaintWithFilters) { | ||
| // validate that a paint with a color filter "HasFilters", no other filters | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will this unopt build get collected into artifacts that are shipped to Flutter users in any form? The
--impeller-enable-3dflag also switches on the "experimental" version ofdart:ui, which allows for appending scene nodes that we should continue not exposing to Flutter users.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't ship unopt artifacts