Open Bug 1365730 Opened 7 years ago Updated 17 days ago

Port the blur SSE2 code to work on RGBA images

Categories

(Core :: Graphics, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: jrmuizel, Unassigned)

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
No longer blocks: 1362823
You need to log in before you can comment on or make changes to this bug.