mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 752254 - qcms - Prefer precache output curves even if a A2B/B2A CLUT is present. r=jmuizelaar
--HG-- extra : rebase_source : fb5135434d7c7c80656a54e21b6e3b6216210b71
This commit is contained in:
parent
4d73f1dfec
commit
328a35caa4
@ -994,13 +994,15 @@ void qcms_profile_precache_output_transform(qcms_profile *profile)
|
||||
if (profile->color_space != RGB_SIGNATURE)
|
||||
return;
|
||||
|
||||
/* don't precache since we will use the B2A LUT */
|
||||
if (profile->B2A0)
|
||||
return;
|
||||
if (qcms_supports_iccv4) {
|
||||
/* don't precache since we will use the B2A LUT */
|
||||
if (profile->B2A0)
|
||||
return;
|
||||
|
||||
/* don't precache since we will use the mBA LUT */
|
||||
if (profile->mBA)
|
||||
return;
|
||||
/* don't precache since we will use the mBA LUT */
|
||||
if (profile->mBA)
|
||||
return;
|
||||
}
|
||||
|
||||
/* don't precache if we do not have the TRC curves */
|
||||
if (!profile->redTRC || !profile->greenTRC || !profile->blueTRC)
|
||||
|
Loading…
Reference in New Issue
Block a user