Open Bug 1008575 Opened 11 years ago Updated 2 years ago

Provide a way to get a measure of the memory used by a DrawTarget and SourceSurface

Categories

(Core :: Graphics, defect)

defect

Tracking

()

People

(Reporter: jwatt, Unassigned)

References

Details

(Whiteboard: [MemShrink:P2])

To fix bug 1007438 we need a way to get a measure of the memory used by the DrawTarget that is stored in VectorImages' SurfaceCache entries. I'm not sure why we're storing a DrawTarget rather than a SourceSurface, so probably we should have a way to get a measure of the memory used by by a SourceSurface too. If fact we'll probably want different methods to get the usage of the different types of memory that can be involved (something along the lines of what mozilla::image::Image provides with OutOfProcessSizeOfDecoded et. al.).
Whiteboard: [MemShrink]
Whiteboard: [MemShrink] → [MemShrink:P2]
Blocks: 923302
No longer blocks: 923302
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.