Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@dnfield
Copy link
Contributor

@dnfield dnfield commented Aug 23, 2023

@dnfield dnfield requested review from bdero and jonahwilliams August 23, 2023 21:36
@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

Copy link
Contributor

@jonahwilliams jonahwilliams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dnfield dnfield added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 23, 2023
@auto-submit
Copy link
Contributor

auto-submit bot commented Aug 23, 2023

auto label is removed for flutter/engine/45028, due to - The status or check suite Linux Framework Smoke Tests has failed. Please fix the issues identified (or deflake) before re-applying this label.

@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Aug 23, 2023
ASSERT_TRUE(OpenPlaygroundHere(canvas.EndRecordingAsPicture()));
}

#if IMPELLER_ENABLE_3D
Copy link
Member

Choose a reason for hiding this comment

The 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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The 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 --impeller-enable-3d.

"--no-lto",
"--prebuilt-dart-sdk"
"--prebuilt-dart-sdk",
"--impeller-enable-3d"
Copy link
Member

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-3d flag also switches on the "experimental" version of dart:ui, which allows for appending scene nodes that we should continue not exposing to Flutter users.

Copy link
Contributor

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

"--no-lto",
"--prebuilt-dart-sdk"
"--prebuilt-dart-sdk",
"--impeller-enable-3d"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The command to run tests for host_debug_unopt is defined down on line 167. Are there any additional tests to add there?

Copy link
Contributor Author

Choose a reason for hiding this comment

The 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

@dnfield
Copy link
Contributor Author

dnfield commented Aug 24, 2023

I'ms eeing a vulkan validation failure on mac with this patch and don't know why - I'm trying to update to ToT and see if that fixes things.

@dnfield
Copy link
Contributor Author

dnfield commented Aug 24, 2023

Coincidentally this is the same fraembuffer issue as we're seeing on the A02...

@dnfield
Copy link
Contributor Author

dnfield commented Aug 24, 2023

@dnfield
Copy link
Contributor Author

dnfield commented Aug 24, 2023

Ok, I backed out an unintentional file.

@dnfield dnfield added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 24, 2023
@dnfield
Copy link
Contributor Author

dnfield commented Aug 24, 2023

@auto-submit
Copy link
Contributor

auto-submit bot commented Aug 24, 2023

auto label is removed for flutter/engine/45028, due to - The status or check suite Linux Web Framework tests has failed. Please fix the issues identified (or deflake) before re-applying this label.

@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Aug 24, 2023
@chinmaygarde
Copy link
Member

The web framework test failure seemed like a flake. Retrying.

@chinmaygarde chinmaygarde added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 24, 2023
@auto-submit
Copy link
Contributor

auto-submit bot commented Aug 24, 2023

auto label is removed for flutter/engine/45028, due to - The status or check suite Linux Web Framework tests has failed. Please fix the issues identified (or deflake) before re-applying this label.

@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Aug 24, 2023
@dnfield dnfield added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 24, 2023
@auto-submit auto-submit bot merged commit 415bb28 into flutter:main Aug 24, 2023
@dnfield dnfield deleted the 3d branch August 24, 2023 21:52
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 24, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 24, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 24, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Aug 25, 2023
…133296)

flutter/engine@965501a...b8ec4da

2023-08-24 [email protected] Roll Skia from 99a76ea8e1b2 to 1428f16fc0de (1 revision) (flutter/engine#45086)
2023-08-24 [email protected] Roll Skia from 25fafff5b32c to 99a76ea8e1b2 (2 revisions) (flutter/engine#45083)
2023-08-24 [email protected] Revert "Turn on the `skia_enable_optimize_size` flag to save a bit of binary size" (flutter/engine#45082)
2023-08-24 [email protected] Roll Skia from d7d56885a49b to 25fafff5b32c (1 revision) (flutter/engine#45081)
2023-08-24 [email protected] [Impeller] Do not build scene unless 3d define is true (flutter/engine#45028)
2023-08-24 [email protected] Roll Skia from 177e8477faf9 to d7d56885a49b (1 revision) (flutter/engine#45078)
2023-08-24 [email protected] Reland: [Rasterizer] Make resubmit information temporary (flutter/engine#45037)
2023-08-24 [email protected] Add case checking to android sdk cipd upload script (flutter/engine#45063)
2023-08-24 [email protected] Roll Skia from 007386294889 to 177e8477faf9 (1 revision) (flutter/engine#45076)
2023-08-24 [email protected] Turn on the `skia_enable_optimize_size` flag to save a bit of binary size (flutter/engine#45029)
2023-08-24 [email protected] Roll Skia from b17ee34f3378 to 007386294889 (1 revision) (flutter/engine#45075)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

autosubmit Merge PR when tree becomes green via auto submit App e: impeller platform-android

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

[Impeller] Scene is getting compiled into binary even if IMPELLER_ENABLE_3D is false.

5 participants