Re: [Gimp-developer] [patch] unbelievable speedup for bumpmap...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>When the output pixel depends on neighboring pixels (e.g. I strongly
>suspect that bumpmap uses a 3 x 3 neighborhood) the region iterator
>does not work very well.

Not on its own.  However, if you iterate the output region with the
pixel region iterator, and use a pixel fetcher like the one in
whirlpinch for the input sourcing, and there is at least some weak
relationship between input and output locality, the standard tile
cache should be enough to obtain decent efficiency.

Obviously, the more you know about your data access patterns, the more
efficient an access strategy you can develop.  

Kelly


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux