Closed Bug 1244234 Opened 4 years ago Closed 4 years ago

Some sugar to simplify joining jobs with the gfx JobScheduler

Categories

(Core :: Graphics, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla47
Tracking Status
firefox47 --- fixed

People

(Reporter: nical, Assigned: nical)

Details

(Whiteboard: [gfx-noted])

Attachments

(1 file)

There's a recurring pattern of creating an EventObject, then a SetEventTask using that object and a SyncPoint, firing the EventTask and waiting on the EventObject. In most cases nothing else ever uses the references to the EventObject so we can add a simple JobScheduler::Join(SyncObject* completion) helper to do all of that.
Whiteboard: [gfx-noted]
Assignee: nobody → nical.bugzilla
Attachment #8713739 - Flags: review?(jmuizelaar)
Attachment #8713739 - Flags: review?(jmuizelaar) → review+
https://hg.mozilla.org/mozilla-central/rev/8e0043dea275
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in before you can comment on or make changes to this bug.