Closed
Bug 1672597
Opened 4 years ago
Closed 4 years ago
Migrate image decodepool to use TaskController thread pool
Categories
(Core :: Graphics: ImageLib, task)
Core
Graphics: ImageLib
Tracking
()
RESOLVED
FIXED
84 Branch
Tracking | Status | |
---|---|---|
firefox84 | --- | fixed |
People
(Reporter: bas.schouten, Assigned: bas.schouten)
References
(Regressed 2 open bugs)
Details
Attachments
(2 files)
The image decode pool is a good first candidate for migration to the new TaskController thread pool.
This will demonstrate both the process of conversion, remove some code (and threads) from ImageLib and ensure that the TaskController thread pool receives usage and does not regress.
Assignee | ||
Comment 1•4 years ago
|
||
This provides a cleaner API than using static_casts in code that begins directly using tasks.
Assignee | ||
Comment 2•4 years ago
|
||
Depends on D94409
Pushed by bschouten@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c86e703df3e7 Part 1: Make EventQueuePriority the primary method of accessing task. r=smaug https://hg.mozilla.org/integration/autoland/rev/9cbcab210057 Part 2: Use TaskController's thread pool for image decoding. r=aosmond
Comment 4•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/c86e703df3e7
https://hg.mozilla.org/mozilla-central/rev/9cbcab210057
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox84:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•