Closed Bug 1672597 Opened 4 years ago Closed 4 years ago

Migrate image decodepool to use TaskController thread pool

Categories

(Core :: Graphics: ImageLib, task)

task

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.

This provides a cleaner API than using static_casts in code that begins directly using tasks.

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
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
Regressions: 1675073
Regressions: 1674867
Regressions: 1700446
Regressions: 1815649
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: