-
Notifications
You must be signed in to change notification settings - Fork 6k
[Impeller] implemented golden image tests for opengles #50146
Conversation
80d6caa to
e4f825b
Compare
e4f825b to
639691e
Compare
|
This fails now currently when shaders are attempted to be compiled because they are being compiled for OpenGL, not opengles. They have |
Fixed with impellerc flags. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
|
@jonahwilliams I added the flip in on the CPU side that respects |
This comment was marked as outdated.
This comment was marked as outdated.
|
Thanks! it looks like there is a remaining color format issue BGRA vs RGBA? |
Yep, looks like it. Is there something in Texture I can used to decide that? Maybe the |
|
The conventional wisdom has been that BGRA is faster on some hardware. We should look to make sure we are taking advantage of that in our renderers. |
Yep, the texture descriptor
OpenGLES is the one using RGBA, we should fix that. |
Done. |
I've looked into this a bit. For Android RGBA may be better. It's not clear there is a need to change this considering who is using OpenGLES. |
|
Golden file changes are available for triage from new commit, Click here to view. |
jonahwilliams
left a comment
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.
LGTM
It looks like there are a number of goldens on page 3-4 that aren't showing up at all, you should file a tracking issue to investigate if that is specific to the golden harness.
|
Here are the ones that rendered nothing. I suspect the blur ones are probably covered under flutter/flutter#142355. I'll double check these against Metal since drawing nothing may be the correct behavior in some cases. Note: I'm going to land the update of the |
|
SGTM |
…142656) flutter/engine@5b89189...c83617e 2024-01-31 [email protected] Roll Dart SDK from 1f136c7b962d to 82936dcdaf4f (1 revision) (flutter/engine#50212) 2024-01-31 [email protected] [Impeller] implemented golden image tests for opengles (flutter/engine#50146) 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://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
followup from #50146 [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
fixes flutter/flutter#142354
This sets up impeller_golden_tests to run with ANGLE.
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.