Closed Bug 1577337 Opened 5 years ago Closed 2 years ago

wizard of oz easter egg still not quite optimal even with webrender

Categories

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

defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: mstange, Unassigned)

References

(Depends on 1 open bug)

Details

From bug 1576404:

STR:

  1. Visit www.google.com
  2. Search "wizard of oz"
  3. click the red shoes on the right of the page. This will do a spinning animation that is janky
  4. Click the tornado where the shoes were and the animation will reverse

WebRender does a lot better than non-WebRender Firefox on this page, but it's still a bit janky. It also seems to allocate tons of render targets. WebRender can do better still.

Flags: needinfo?(ktaeleman)
Flags: needinfo?(ktaeleman)

The page is fairly expensive to render, mostly because the majority of the pixels are blurred and because having a non-axis-aligned transform on all elements moves a lot of work to the alpha pass. In general though we are not running into any pathological case.

We could improve this significantly by caching the transformed picture untransformed and then apply the transform when compositing it each frame (This is what layers-based browsers tend to do in this type of situation).
If we could also cache the blur we'd save a ton of GPU work as well (it would require us to reorder the transform and the blur which would work here but may not be trivial to generalize correctly).

Depends on: 1548396
No longer blocks: wr-perf

Easter egg no longer appears to exist.

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