Commit 64bf77ae authored by Ell's avatar Ell

app: render layer-group preview in chunks

In gimp_drawable_get_sub_preview_async(), when the drawable buffer
has a validate handler (i.e., when it's a group layer), use a chunk
iterator to validate the buffer in chunks, where each chunk is
validated in a separate invocation of the async function.  This
prevents validation from blocking the main thread for too long when
the buffer is not already fully validated.
parent 919ddce7
Pipeline #160842 failed with stages
in 25 minutes and 15 seconds