Closed Bug 1574838 Opened 5 years ago Closed 5 years ago

Allow generating dirty regions from picture caching dependency lists.

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: gw, Assigned: gw)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

No description provided.
Assignee: nobody → gwatson
Blocks: 1536360

Previously, additional dependencies (such as opacity bindings and
transforms) were stored in a simple hash set, which meant they
could not be correlated with primitive bounding rects (and thus
could not be used to derive dirty rects of a tile).

Now, by scanning the primitive list which contains the bounding
rect, we can also find additional dependencies for that primitive.
This will be used in future to create exact dirty rects (for
debugging / regression testing) and allow us to generate a
dependency descriptor for a split or merged tile from an existing
descriptor.

This patch also fixes a case where opacity bindings could result
in unnecessary invalidations, by retaining the opacity bindings
state across display lists.

Priority: -- → P3
Pushed by gwatson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f518ccb470c8 Allow generating dirty regions from picture caching dependency lists. r=kvark
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
Regressions: 1580927
Blocks: 1580927
No longer regressions: 1580927
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: