babl: progressively increase search depth from 2 to 4
authorØyvind Kolås <pippin@gimp.org>
Sun, 24 May 2020 01:15:07 +0000 (03:15 +0200)
committerØyvind Kolås <pippin@gimp.org>
Sun, 24 May 2020 02:04:38 +0000 (04:04 +0200)
commit6b9b2024db85dfefd965482b60771705c2c7593b
treefe1ca228e996b6f648b184d257f87b91bd9e0494
parent9ebe30e43559d24865f6ba5c32c6b2d07a9ef3b1
babl: progressively increase search depth from 2 to 4

Follow-on from previous commit, the specific paths looked for
that are longer than 2 involving formats with spaces are 3
steps long. Doing a 4 step deep search in these common cases
still introduces noticable "warm-up" jankiness in GIMP.

To additionally ensure we're not missing used valid and faster
than reference conversions in GIMP-2.10 we do an additional
search at depth 5 when no converison had been found *and* the
destination format has a space differing from sRGB.

asdf
babl/babl-fish-path.c