Closed
Bug 1691859
Opened 4 years ago
Closed 4 years ago
Emulate mix-blend-mode without KHR_blend_equation_advanced in WR when possible
Categories
(Core :: Graphics: WebRender, enhancement)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
87 Branch
Tracking | Status | |
---|---|---|
firefox87 | --- | fixed |
People
(Reporter: lsalzman, Assigned: lsalzman)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
Multiply, screen, and exclusion blend modes can be implemented with either basic blending or dual-source blending. It would be nice to at least specifically handle multiply without requiring the KHR_advanced_blend_equation extension or going through the brush_mix_blend shader.
Assignee | ||
Comment 1•4 years ago
|
||
We don't actually need to use brush_mix_blend or KHR_blend_equation_advanced for multiply, screen,
and exclusion modes. Screen and exclusion can be done with simple blending, and multiply can be
done with dual-source blending. Since multiply is the most common mix-blend mode, and dual-source
blending is also common on the desktop with our ANGLE driver, this should be a significant boost
for mix-blend-mode performance for us across.
Pushed by lsalzman@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/378542fd1298
Emulate mix-blend-mode without KHR_blend_equation_advanced in WR when possible. r=gw
Comment 3•4 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox87:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•