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 Apr 14, 2023

Does two things:

  • Exposes a string about the GPU model on impeller::Context
  • passes that string on to Skia gold when we add a test image.

This should help reduce noise/flakiness in golden images.

Copy link
Member

@gaaclarke gaaclarke left a comment

Choose a reason for hiding this comment

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

Code lgtm. I don't know how this will manifest in skia gold, but sounds like it should work.

'--work-dir', _tempPath,
'--test-name', cleanTestName(testName),
'--png-file', goldenFile.path,
'--add-test-key', 'gpu_string:$gpuString',
Copy link
Member

Choose a reason for hiding this comment

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

This is enough to make skia gold segregate the golden results?

Copy link
Contributor

Choose a reason for hiding this comment

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

Is this the same as adding to the list of keys provided as initialization for the test? Those are collected in _getKeys

Copy link
Contributor

Choose a reason for hiding this comment

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

Good point, @Piinks. This should be added to dimensions, which later gets used in _getKeys().

Copy link
Member

Choose a reason for hiding this comment

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

Is this the same as adding to the list of keys provided as initialization for the test? Those are collected in _getKeys

Done

'--work-dir', _tempPath,
'--test-name', cleanTestName(testName),
'--png-file', goldenFile.path,
'--add-test-key', 'gpu_string:$gpuString',
Copy link
Contributor

Choose a reason for hiding this comment

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

Good point, @Piinks. This should be added to dimensions, which later gets used in _getKeys().

@gaaclarke
Copy link
Member

In local testing the gpu_string is "Apple M1 Max", so that sounds good.

I'm going to rebase to clear up the validation problem.

Copy link
Contributor

@mdebbar mdebbar left a comment

Choose a reason for hiding this comment

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

The dimensions change looks good to me!

@gaaclarke gaaclarke added the autosubmit Merge PR when tree becomes green via auto submit App label Apr 18, 2023
@auto-submit auto-submit bot merged commit 5fcc7b7 into flutter:main Apr 18, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 18, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Apr 18, 2023
…125069)

flutter/engine@6d263ea...5fcc7b7

2023-04-18 [email protected] [Impeller] Gpu model information to Skia gold (flutter/engine#41216)
2023-04-18 [email protected] [Impeller] faster glyph atlas generation by removing data copies (flutter/engine#41290)
2023-04-18 [email protected] Migrate android AOT to engine_v2. (flutter/engine#41229)
2023-04-18 [email protected] Roll Skia from 5bd4bdc0d8e2 to f80ee1088861 (8 revisions) (flutter/engine#41302)

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
@dnfield dnfield deleted the gpu_model branch April 22, 2023 06:14
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

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants