• Ell's avatar
    app: add gimp_drawable_get_sub_preview_async() · d79e3fbd
    Ell authored
    ... which is an asynchronous version of
    gimp_drawable_get_sub_preview().
    
    We currently support async preview generation for drawables whose
    buffer isn't backed by a GimpTileHandlerValidate tile handler
    (i.e., anything other than group layers), since preview generation
    fir such drawables may involve processing the corresponding graph,
    which isn't thread-safe.
    
    When the GIMP_NO_ASYNC_DRAWABLE_PREVIEWS environment variable is
    defined, all drawable previews are synchronously generated.
    d79e3fbd
gimpdrawable-preview.c 13.4 KB