Open Bug 1413276 Opened 7 years ago Updated 1 day ago

Use a strong type for compositor animation ids

Categories

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

Other Branch
enhancement

Tracking

()

Tracking Status
firefox57 --- unaffected
firefox58 --- unaffected

People

(Reporter: kats, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [gfx-noted])

Right now we're passing compositor animation ids willy-nilly as uint64_t. It would be better if we added a "typedef uint64_t CompositorAnimationsId" somewhere and used the more strong type instead of uint64_t. Both for readability and to avoid accidentally turning the compositor animation id into some unrelated uint64_t.
Whiteboard: [gfx-noted][wr-mvp][triage] → [gfx-noted][wr-mvp][triage][wr-reserve-candidate]
Whiteboard: [gfx-noted][wr-mvp][triage][wr-reserve-candidate] → [gfx-noted]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.