Closed Bug 1578986 Opened 2 years ago Closed 2 years ago

Refactor tile comparisons to enable dirty rect checking.

Categories

(Core :: Graphics: WebRender, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: gw, Assigned: gw)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

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

Previously, primitive sub-dependencies (such as transforms, opacity
bindings etc) were invalidated by comparing the dependency array
only. This means that it's not possible to correlate an area of
a tile that is affected by those sub-dependencies.

Now, comparisons on sub-dependencies are handled as part of the
dependency check for each primitive. This means we have the
affected rectangle of the tile available, which will allow
dirty regions within a tile to be built correctly.

This patch is only preparation work - the actual dirty rect
calculation will be done as a follow up patch.

Pushed by gwatson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7a46b2139423
Refactor tile comparisons to enable dirty rect checking. r=nical
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.