Open Bug 1650378 Opened 5 years ago Updated 3 years ago

Skip frame building if the only changes in the frame are external images.

Categories

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

enhancement

Tracking

()

People

(Reporter: nical, Unassigned)

References

(Blocks 1 open bug)

Details

The obvious use case is video playback. We should be able to detech that a transaction doesn't change anything other than external images which are resolved at the Renderer level, and skip frame building to save multiple ms of CPU work each frame.

Actually, now that frame building doesn't necessarily build the full representation of the frame each time and build things incrementally, we can't simply re-play the previous frame with a different texture ID.
Yet it would be great if we could take advantage of the knowledge that nothing has moved to skip parts of frame building like the visibility pass for example.

I imagine this would also help with animated images.

You need to log in before you can comment on or make changes to this bug.