Precache input gamma tables for sRGB to display profile transforms
Categories
(Core :: Graphics: Color Management, defect, P3)
Tracking
()
People
(Reporter: aosmond, Unassigned)
Details
Attachments
(1 obsolete file)
The image decoders can access gfxPlatform::GetCMSRGBATransform/etc on any of the decoder threads, and this is a race condition. It is fairly beign in that the only consequence should be a memory leak, but we should fix this.
Reporter | ||
Comment 1•5 years ago
|
||
The image decoder threads and the main thread all may attempt to create
these transforms, but there was no mutex protecting it. As a result, it
may have caused a small memory leak when decoding the first images. Now
we just create them at startup since we will almost always require them.
This also adds precaching support for RGB profiles in order to share the
gamma tables between the RGB, RGBA and BGRA variants of the sRGB to
display profile transform.
Reporter | ||
Comment 2•5 years ago
|
||
I'm repurposing this bug to just do the precaching work and landing the race condition fix with bug 455077 so we can get this in tree sooner.
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Comment 3•5 years ago
|
||
Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3
(Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3
(normal.)
Updated•4 years ago
|
Description
•