Skip to content

ImageShader should have a dispose method, and it should be called by the framework. #82832

@dnfield

Description

@dnfield

Image Shaders, particularly those that end up creating an SkImageShader, can hold substantial amounts of memory.

As we wire up methods to make sure we dispose of Layer objects and related memory, we should make sure we dispose of these as well.

see also #81514, #57746

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work lista: imagesLoading, displaying, rendering imagesc: performanceRelates to speed or footprint issues (see "perf:" labels)engineflutter/engine related. See also e: labels.perf: memoryPerformance issues related to memory

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions