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

Conversation

@ds84182
Copy link
Contributor

@ds84182 ds84182 commented Jun 16, 2022

Re-Enable External Texture Tests.

These broke because on Android Q+, the behavior of ImageReader and ImageWriter have changed. Previously I think they did copies internally (somewhere), but now they are zero copy. This PR uses the "private" image format and hints to the Surface's producer that the images will be sampled by the GPU.

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt. See testing the engine for instructions on
    writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@skia-gold
Copy link

Gold has detected about 6 new digest(s) on patchset 8.
View them at https://flutter-engine-gold.skia.org/cl/github/34118

@skia-gold
Copy link

Gold has detected about 7 new digest(s) on patchset 9.
View them at https://flutter-engine-gold.skia.org/cl/github/34118

@skia-gold
Copy link

Gold has detected about 8 new digest(s) on patchset 10.
View them at https://flutter-engine-gold.skia.org/cl/github/34118

@skia-gold
Copy link

Gold has detected about 8 new digest(s) on patchset 12.
View them at https://flutter-engine-gold.skia.org/cl/github/34118

@ds84182 ds84182 marked this pull request as ready for review June 18, 2022 00:02
@ds84182 ds84182 requested a review from blasten June 18, 2022 00:02
@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 #34118 at sha bff0925

Copy link

@blasten blasten left a comment

Choose a reason for hiding this comment

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

Nice. LGTM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants