Open Bug 1664478 Opened 4 years ago Updated 2 years ago

Blend modes and other effects on a single image force an extra intermediate target

Categories

(Core :: Graphics: WebRender, defect, P2)

defect

Tracking

()

People

(Reporter: nical, Unassigned)

References

(Depends on 1 open bug, Blocks 3 open bugs)

Details

For example on the humble bundle home page https://www.humblebundle.com/ each game's image has a brightness filter applied to it which causes webrender to first render the image into an intermediate target and then use that as the source of the blend shader.

We should run the blend shader directly off of the texture cache instead of adding a costly intermediate target.

in addition it appears that the blend shader is done in the alpha pass even though the image is known to be entirely opaque (jpg).

Depends on: 1666429
See Also: → 1623093
See Also: → 1678265
Blocks: wr-perf-p1
Blocks: 1556166
See Also: → 1683440
You need to log in before you can comment on or make changes to this bug.