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

Use new SurfaceProducer external texture class for rendering platform views #49201

Merged

Conversation

johnmccutchan
Copy link
Contributor

  • Fix lots of bugs in the implementation of ImageReaderSurfaceProducer
  • Add test that we drop frames produced from the wrong size
  • Hookup platform views to use new external texture class

Related: #139230
Related: #139702

@johnmccutchan johnmccutchan force-pushed the surface_producer_platform_views branch 3 times, most recently from 43278ba to e90c27c Compare December 18, 2023 22:53
@johnmccutchan johnmccutchan added the autosubmit Merge PR when tree becomes green via auto submit App label Dec 19, 2023
@flutter-dashboard
Copy link

Golden file changes have been found for this pull request. Click here to view and triage (e.g. because this is an intentional change).

If you are still iterating on this change and are not ready to resolve the images on the Flutter Gold dashboard, consider marking this PR as a draft pull request above. You will still be able to view image results on the dashboard, commenting will be silenced, and the check will not try to resolve itself until marked ready for review.

Changes reported for pull request #49201 at sha 8b212a8

@johnmccutchan
Copy link
Contributor Author

Golden file changes have been found for this pull request. Click here to view and triage (e.g. because this is an intentional change).

If you are still iterating on this change and are not ready to resolve the images on the Flutter Gold dashboard, consider marking this PR as a draft pull request above. You will still be able to view image results on the dashboard, commenting will be silenced, and the check will not try to resolve itself until marked ready for review.

Changes reported for pull request #49201 at sha 8b212a8

This is incorrectly attributed to my PR. I've filed a bug

Copy link
Contributor

@dnfield dnfield left a comment

Choose a reason for hiding this comment

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

Change overall lgtm, modulo some nits about documentation around new private class and logs.

… views

- Fix lots of bugs in the implementation of ImageReaderSurfaceProducer
- Add test that we drop frames produced from the wrong size
- Hookup platform views to use new external texture class
@johnmccutchan johnmccutchan force-pushed the surface_producer_platform_views branch from 8b212a8 to c468624 Compare December 19, 2023 17:33
@johnmccutchan johnmccutchan merged commit e70d1ad into flutter:main Dec 19, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Dec 19, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Dec 19, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
…g platform views (flutter/engine#49201)
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Dec 19, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
…140412)

flutter/engine@187334c...3f45f9d

2023-12-19 [email protected] Roll Skia from 541f16af8b3e to df1a7ccbdc97 (3 revisions) (flutter/engine#49250)
2023-12-19 [email protected] Roll Skia from 0d39fb28b32d to 541f16af8b3e (1 revision) (flutter/engine#49246)
2023-12-19 [email protected] Use new SurfaceProducer external texture class for rendering platform views (flutter/engine#49201)

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
CoderDake pushed a commit to CoderDake/flutter that referenced this pull request Dec 28, 2023
…lutter#140412)

flutter/engine@187334c...3f45f9d

2023-12-19 [email protected] Roll Skia from 541f16af8b3e to df1a7ccbdc97 (3 revisions) (flutter/engine#49250)
2023-12-19 [email protected] Roll Skia from 0d39fb28b32d to 541f16af8b3e (1 revision) (flutter/engine#49246)
2023-12-19 [email protected] Use new SurfaceProducer external texture class for rendering platform views (flutter/engine#49201)

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
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 platform-android will affect goldens
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants