Closed Bug 1519609 Opened 10 months ago Closed 9 months ago

Simplify how world clip rects are handled by picture caching

Categories

(Core :: Graphics: WebRender, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: gw, Assigned: gw)

References

Details

Attachments

(1 file)

Instead of maintaining the current / needed rects list, it should be possible to:

  • Maintain a single valid rect.
  • Invalidate tiles for world clip rects by transform dependencies.
  • Discard irrelevant world clips by comparing to the cache bounding rect.

This is a CPU optimization, but also unblocks some other optimizations for picture caching.

Assignee: nobody → gwatson
Pushed by jmuizelaar@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d7e16ec538fe
Optimize how picture caching handles world clips. r=kvark
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.