Avoid passing similar source and destination color profiles to skcms_Transform |
|
Issue descriptionskcms_Transform does not go through the fast code path if the source and destination skcms_ICCProfile* are similar profiles but point to different objects. 3x performance regression was observed in crbug.com/886670. To avoid this, we should always use skcms_ApproximatelyEqualProfiles() to find out if the source and destination color profiles are the same, and if so, replace them with nullptr. |
|
►
Sign in to add a comment |
|
Comment 1 by zakerinasab@chromium.org
, Sep 25