Open Bug 1365730 Opened 8 years ago Updated 2 years ago

Port the blur SSE2 code to work on RGBA images

Categories

(Core :: Graphics, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: jrmuizel, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [gfx-noted])

Currently we separate the image into 4 separate one channel images, blur each of them, and then join them back together again. I suspect we can do better if we blurred the whole thing at once.
Blocks: 1362823
A good experiment to try here would be to rig up SkBlurImageFilter from Skia and see how we compare on performance. They have some SSE optimizations in their code, and it operates on each pixel at once. It would at least tell us if we're really slower without investing too much effort.
I have a patch somewhere that does this. Let me dig it up.
Whiteboard: [gfx-noted]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.