Open Bug 1800177 Opened 3 years ago Updated 2 years ago

Twisting CSS Cube is slow in Firefox

Categories

(Core :: Graphics: WebRender, defect)

Firefox 109
x86_64
Linux
defect

Tracking

()

People

(Reporter: gregp, Unassigned)

References

(Blocks 1 open bug, )

Details

Steps to reproduce:

  1. Navigate to https://codepen.io/davidkpiano/full/QjremP

Actual results:
Jank

Expected results:
Less jank

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

This is 3d transforms related

Flags: needinfo?(nical.bugzilla)
Flags: needinfo?(nical.bugzilla)

Looks like the biggest issue is the same as in bug 1768984, there are thousands of draw calls.

It looks like there are 32 slices. Why do we have more than 32 * 8 = 256 draw calls?

Flags: needinfo?(nical.bugzilla)

I don't know. Without digging into it, my guess is that plane splitting is generating a large number of planes and at certain angles the ordering of the parts has us ping-ponging between lots of small parts of the original slices.

Flags: needinfo?(nical.bugzilla)

I wouldn't expect there to be any splits. It doesn't look like any of the surfaces should be intersecting.

Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.