Open Bug 1597324 Opened 5 years ago Updated 2 years ago

Detect opaque split planes in WebRender

Categories

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

enhancement

Tracking

()

People

(Reporter: kvark, Unassigned)

References

(Blocks 2 open bugs)

Details

When we detect a preserve3D stacking context, we always render the 3D pictures into separate surfaces and then draw them in proper order in the alpha bucket. There could be an opportunity in some cases to recognize some of these pieces to be opaque (and axis-aligned), so that we could draw them earlier and without blending.

I would expect this to be a minor optimization with medium effort. We discussed this previously, and bug 1584794 is what triggered me to file this one.

Blocks: wr-perf
Priority: P4 → P3
Blocks: wr-overdraw
No longer blocks: wr-perf
Blocks: 1707845
Severity: normal normal → S3 S3
You need to log in before you can comment on or make changes to this bug.