Closed Bug 1692070 Opened 5 years ago Closed 4 years ago

sw-wr: MetaHuman page has slow gradient section

Categories

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

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jrmuizel, Assigned: bradwerth)

References

(Blocks 1 open bug)

Details

Slowness on https://www.unrealengine.com/en-US/blog/a-sneak-peek-at-metahuman-creator-high-fidelity-digital-humans-made-easy around the "Highest-quality digital humans made easy" section on a linear gradient.

https://share.firefox.dev/3aagvFc

Blocks: sw-wr-perf
Depends on: wr-async
Severity: -- → S3
Priority: -- → P3

This seems to have the same linear gradient bottleneck as bug 1686244 although not quite as bad and should be improved by any work we do to address that bug.

Brad, aside from the gradient overhead, it looks like it is using an opacity = 0.5 here with the gradient, and that we spend a lot of time rendering the gradient into an intermediate surface and then blending that out. Is there any way to flatten that in this case? It looks like the gradient also has alpha in its stops.

Flags: needinfo?(bwerth)

I'll figure this out.

Assignee: nobody → bwerth
Flags: needinfo?(bwerth)

It looks like most of the addressable overheads here have been resolved by various gradient and opacity perf bugs that have been resolved, and nothing really sticks out as falling off fast-paths anymore. I am going to close this out since there are probably better test-cases to use with more obvious problems.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.