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

Conversation

@dkwingsmt
Copy link
Contributor

@dkwingsmt dkwingsmt commented Dec 15, 2021

This PR clarifies the documentation of ImageDescriptor.raw and decodeImageFromPixels on how their pixels are ordered. It also adds a test for a migration guide.

This is to follow the discussion in flutter/flutter#93615 about the impact of the breakage introduced by #29593.

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.

@flutter-dashboard flutter-dashboard bot added the platform-web Code specifically for the web engine label Dec 15, 2021
@dkwingsmt dkwingsmt requested a review from dnfield December 16, 2021 02:31
@dkwingsmt
Copy link
Contributor Author

@dnfield Can you take a look, since you reviewed the PR #29593?

// current Web engine decodes pixel data.
//
// The HTML renderer uses the BMP format to display pixel data, but it used to
// uses a wrong implementation. The bug has been fixed, but the fix breaks apps
Copy link
Contributor

Choose a reason for hiding this comment

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

s/uses/use

@flutter-dashboard
Copy link

This pull request executed golden file tests, but it has not been updated in a while (20+ days). Test results from Gold expire after as many days, so this pull request will need to be updated with a fresh commit in order to get results from Gold.

@dkwingsmt dkwingsmt force-pushed the clarify-raw-image branch from 25dee62 to 19fb921 Compare March 4, 2022 22:49
@dkwingsmt dkwingsmt force-pushed the clarify-raw-image branch from 19fb921 to 9e9bed1 Compare May 19, 2022 23:38
@skia-gold
Copy link

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

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

Labels

affects: tests platform-web Code specifically for the web engine waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants