Skip to content

Conversation

@dnfield
Copy link
Contributor

@dnfield dnfield commented Oct 1, 2020

This broke CanvasKit for web.

I have to fix that in dart:ui. The HTML backend doesn't care about dispose, but CanvasKit does, and I'm not doing it right at all for that.

Reverts "docs for image disposal (#67066)"
Reverts "Dispose of images after using them (#66688)"

@Hixie @goderbauer @yjbanov

I don't know why this didn't break CI.

@flutter-dashboard flutter-dashboard bot added a: tests "flutter test", flutter_test, or one of our tests framework flutter/packages/flutter repository. See also f: labels. labels Oct 1, 2020
Copy link
Member

@goderbauer goderbauer left a comment

Choose a reason for hiding this comment

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

LGTM

@dnfield dnfield merged commit 473358d into flutter:master Oct 1, 2020
@dnfield dnfield deleted the revert branch October 1, 2020 23:57
@yjbanov
Copy link
Contributor

yjbanov commented Oct 2, 2020

We currently lack a test running in CanvasKit mode and exercising images. It would have been the new gallery test but that's being removed unfortunately, so we'll need to write new one.

dnfield added a commit to dnfield/flutter that referenced this pull request Oct 2, 2020
Changes since last time:

- Test for CanvasKit image rendering
  (flutter#67176)
- Fix CanvasKit dispose impl
  (flutter/engine#21555)
- Update internal google3 customer with a problematic ImageStream
  Listener impl (cl/335091311)

This reverts commit 473358d.
dnfield added a commit that referenced this pull request Oct 5, 2020
* Reland dispose images when done (#67100)

Changes since last time:

- Test for CanvasKit image rendering
  (#67176)
- Fix CanvasKit dispose impl
  (flutter/engine#21555)
- Update internal google3 customer with a problematic ImageStream
  Listener impl (cl/335091311, cl/335459002)

This reverts commit 473358d.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: tests "flutter test", flutter_test, or one of our tests framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants