Open Bug 1595175 Opened 5 years ago Updated 2 years ago

Consider leveraging transparency to speed up color management

Categories

(Core :: Graphics: Color Management, task, P3)

task

Tracking

()

People

(Reporter: aosmond, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: perf)

It is a common case for transparent images that many of the pixels will be fully transparent, and thus don't require color management. It may be possible to split off RGBA and RGBX in color management, treat RGBX case as we do today, and treat RGBA as something where we pull down entire blocks of pixels and avoid the floating point complexity and such if there are no opaque or partially transparent pixels in the block. The effectiveness will no doubt depend on the cost of branches and how many / the distribution of fully transparent pixels relative to partially transparent and opaque pixels.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.