Open Bug 1690401 Opened 4 years ago Updated 3 years ago

brush_mix_blend shader could use premultiplied blend math instead of doing expensive un-premultiplies

Categories

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

enhancement

Tracking

()

People

(Reporter: lsalzman, Unassigned)

References

(Blocks 2 open bugs)

Details

Like we did in bug 1674524, we could make the brush_mix_blend shader not have to unpremultiply for many common blend modes. This would save us some expensive divisions and branching in that shader.

See Also: → sw-wr-perf-mix-blend
Severity: -- → S4
Priority: -- → P3

I'll try to make progress on this.

Assignee: nobody → bwerth
Blocks: 1684354
Blocks: wr-gpu-time
No longer blocks: wr-perf

This moved really far down my list of things to work on, so I'm taking myself off it entirely in case somebody else wants to pick it up.

Assignee: bwerth → nobody
You need to log in before you can comment on or make changes to this bug.