Open Bug 1743136 Opened 3 years ago Updated 3 years ago

Delay layerization of transforms caused by active children

Categories

(Core :: Graphics: WebRender, enhancement)

enhancement

Tracking

()

People

(Reporter: jrmuizel, Unassigned)

References

(Blocks 1 open bug)

Details

Given the following:

<svg>
  <rect></rect>
  <g transform>
    <rect></rect>
    <rect will-change: transform></rect>
  </g>
</svg>

We currently end up with 3 layers. The inner will-change:transform forces the outer transform to be active. However, we don't need to actually do this, we can flatten second rect into the first layer and not add the active transform until we get to the actual child that's active.

Severity: -- → S3
Blocks: wr-blob-perf
No longer blocks: wr-displaylist-perf
You need to log in before you can comment on or make changes to this bug.