Closed Bug 1704687 Opened 3 years ago Closed 3 years ago

Refactor visibility flags and how pass-through picture visibility is handled

Categories

(Core :: Graphics: WebRender, task)

task

Tracking

()

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: gw, Assigned: gw)

References

Details

Attachments

(1 file)

No description provided.

Move PrimitiveVisibility flags inside the Coarse / Detailed enums
which will be important once these enum fields also include info
about the z-slice that a primitive exists on in a picture cache.

Add a PassThrough variant of the enum for pictures that are
containers without a surface. These pictures don't have a z-slice
since they don't have bounds, so it's simpler to handle them this
way for now (although we aim to remove them completely in future).

This meant moving how we currently handle the 3d render context
container picture during batching. This part is still quite untidy
but we aim to refactor it further in future.

Assignee: nobody → gwatson
Status: NEW → ASSIGNED
Pushed by gwatson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/189fb8d86267
Refactor visibility flags and how pass-through picture visibility is handled. r=gfx-reviewers,lsalzman
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: