Closed Bug 1480221 Opened 6 years ago Closed 3 years ago

Tiled multi-OMTP replay of filters wastes CPU

Categories

(Core :: Graphics: Layers, enhancement, P3)

enhancement

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox63 --- affected

People

(Reporter: mstange, Unassigned)

References

Details

(Whiteboard: [gfx-noted])

If you have a large filter across many tiles, and we paint those tiles, every tile will compute the entire filter for all tiles. The result of that is cached on the FilterNode. Any other tiles that are drawn after this initial computation will benefit from the cache. But the first set of tiles is in a race, each tile doing the exact same computations.

It would be good to avoid wasting CPU and memory bandwidth here.

https://searchfox.org/mozilla-central/rev/196560b95f191b48ff7cba7c2ba9237bba6b5b6a/gfx/2d/FilterNodeSoftware.cpp#640
Blocks: omtp
Priority: -- → P3
Whiteboard: [gfx-noted]
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.