Port the blur SSE2 code to work on RGBA images

NEW
Unassigned

Status

()

Core
Graphics
P3
normal
5 months ago
3 months ago

People

(Reporter: jrmuizel, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [gfx-noted])

(Reporter)

Description

5 months ago
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.
(Reporter)

Updated

5 months ago
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.
(Reporter)

Comment 2

5 months ago
I have a patch somewhere that does this. Let me dig it up.
Whiteboard: [gfx-noted]
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.