If autoscanline is off, to load a 64x64 tile that has been purged you need to 
read in again the whole 4096x64 scanlines. 

With it on, auto-tiles are set, for example, to 4096x64. This forces the cache 
to work with batches of 64 scanlines.

This corresponds better with the loading costs of untiled images and
improves cache performance, specially when more threads are accessing the same 
image.


You can merge this Pull Request by running:

  git pull https://github.com/rmv/oiio autoscanline

Or you can view, comment on it, or merge it online at:

  https://github.com/OpenImageIO/oiio/pull/190

-- Commit Summary --

* Added autoscanline option to make autotiles as wide as the whole image.

-- File Changes --

M src/include/imagecache.h (1)
M src/include/texture.h (1)
M src/libtexture/imagecache.cpp (21)
M src/libtexture/imagecache_pvt.h (2)

-- Patch Links --

  https://github.com/OpenImageIO/oiio/pull/190.patch
  https://github.com/OpenImageIO/oiio/pull/190.diff

--- 
Reply to this email directly or view it on GitHub:
https://github.com/OpenImageIO/oiio/pull/190
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to