Skip to content
Permalink
Browse files

[GDAL provider] Improve UI responsiveness affected by 3b2b98b

The consequence of sharing the same GDAL object and protecting them under mutex is that
instanciating a new pipeline for job preview background can actually be blocked for
a long time, and thus causing the UI to be totally non-responsive

So change the strategy to use a global cache of GDAL datasets that can be reused by
cloned GDAL providers, while still maintaining the number of opened datasets to
a reasonable amount.
  • Loading branch information
rouault committed Nov 15, 2017
1 parent 3b2b98b commit 670764d14c11a4683c6fa34478f9e8cc10629b13
Showing with 363 additions and 67 deletions.
  1. +313 −63 src/providers/gdal/qgsgdalprovider.cpp
  2. +50 −4 src/providers/gdal/qgsgdalprovider.h

0 comments on commit 670764d

Please sign in to comment.
You can’t perform that action at this time.