Open Bug 1694570 Opened 4 years ago Updated 7 months ago

Janky scrolling on web pages with large images due to repeated texture upload, instant standalone texture eviction

Categories

(Core :: Graphics: WebRender, defect)

All
macOS
defect

Tracking

()

People

(Reporter: mstange, Unassigned)

References

(Blocks 1 open bug)

Details

Steps to reproduce:

  1. Load https://blog.eyas.sh/2021/02/unity-for-engineers-pt11-development-process/
  2. Fling back and forth between the two large images.

Expected results:
The scroll animation should be smooth.
The texture for the image should be retained as long as the image is on the screen.

Actual results:
Scrolling janks every time we paint a tile that intersects with one of the large images.

Looking at the texture-cache debugging overlay, it looks like we only keep the large image in the texture cache for a single frame, when it's needed to paint to the tile. Afterwards we immediately evict it, even though it is still displayed on the screen.

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