On Thursday, 5 Apr 2001, Georg Acher wrote:
I just looked into bumpmap.c and tried to figure out if it can profit from
blocking and played a bit with the code. It seems that there is some major
(performance) problem with the gimp_pixel_rgn_get/set_row-calls in Gimp
1.2.1.
The original
The speedup that you see is probably mainly caused by better caching.
There is a bug in the tile cache size for the plugin.
The cache is under most circumstances too small and this means that
every requested tile is not in the cache and must be transmitted from
the main gimp process (SLOW).
Kelly Martin wrote:
If the algorithm is pixel-by-pixel (each output pixel depends only on
exactly one input pixel from each region being iterated over, and
those regions are all the same size) there is absolutely no excuse not
to use the pixel region iterator, which will automagically