Blender Git Loki
Git Commits -> Revision 12f21a9
Revision 12f21a9 by Brecht Van Lommel (render25) April 23, 2010, 18:04 (GMT) |
Render Branch: Image Tile Cache * Loading of tiles from .tx files, so that large images which are only partially in view consume less memory. * Caching of tiles with a memory limit. This is currently disabled by default, the memory limit can be set in the user preferences. More detailed notes here: http://wiki.blender.org/index.php/Dev:2.5/Source/Imaging/ImageTileCache This should basically be functional now for rendering durian, though some things should be added still for ease of use: * Auto-generating .tx files. * Automatic memory limit, how can you find a reasonable value? * Included non-tiled images in cache (or perhaps just autogen)? * Image thumbnails don't use this system yet. |
Commit Details:
Full Hash: 12f21a96717d648ab4ecebbb8aa96d359224dd54
SVN Revision: 28390
Parent Commit: a260e48
Lines Changed: +1073, -549
1 Added Path:
/source/blender/imbuf/intern/cache.c (+432, -0) (View)
34 Modified Paths:
/release/scripts/ui/space_userpref.py (+2, -0) (Diff)
/source/blender/blenkernel/intern/image.c (+22, -10) (Diff)
/source/blender/blenkernel/intern/texture.c (+1, -1) (Diff)
/source/blender/blenlib/BLI_storage.h (+2, -2) (Diff)
/source/blender/blenlib/intern/storage.c (+2, -2) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -1) (Diff)
/source/blender/blenloader/intern/writefile.c (+2, -0) (Diff)
/source/blender/editors/interface/interface_draw.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_icons.c (+1, -1) (Diff)
/source/blender/editors/space_file/filelist.c (+1, -1) (Diff)
/source/blender/imbuf/IMB_imbuf.h (+43, -34) (Diff)
/source/blender/imbuf/IMB_imbuf_types.h (+45, -28) (Diff)
/source/blender/imbuf/intern/allocimbuf.c (+166, -131) (Diff)
/source/blender/imbuf/intern/anim.c (+1, -1) (Diff)
/source/blender/imbuf/intern/dynlibtiff.c (+13, -0) (Diff)
/source/blender/imbuf/intern/dynlibtiff.h (+4, -2) (Diff)
/source/blender/imbuf/intern/filetype.c (+3, -3) (Diff)
/source/blender/imbuf/intern/filter.c (+63, -102) (Diff)
/source/blender/imbuf/intern/IMB_filetype.h (+11, -4) (Diff)
/source/blender/imbuf/intern/IMB_filter.h (+3, -0) (Diff)
/source/blender/imbuf/intern/module.c (+4, -2) (Diff)
/source/blender/imbuf/intern/readimage.c (+34, -33) (Diff)
/source/blender/imbuf/intern/tiff.c (+82, -54) (Diff)
/source/blender/makesdna/DNA_image_types.h (+3, -1) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+4, -9) (Diff)
/source/blender/render/intern/include/envmap.h (+1, -1) (Diff)
/source/blender/render/intern/include/part.h (+1, -1) (Diff)
/source/blender/render/intern/include/texture.h (+2, -4) (Diff)
/source/blender/render/intern/source/pipeline.c (+6, -0) (Diff)
/source/blender/render/intern/source/texture.c (+14, -5) (Diff)
/source/blender/render/intern/source/texture_envmap.c (+5, -5) (Diff)
/source/blender/render/intern/source/texture_image.c (+94, -107) (Diff)
/source/blender/render/intern/source/texture_stack.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/image.c (+22, -10) (Diff)
/source/blender/blenkernel/intern/texture.c (+1, -1) (Diff)
/source/blender/blenlib/BLI_storage.h (+2, -2) (Diff)
/source/blender/blenlib/intern/storage.c (+2, -2) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -1) (Diff)
/source/blender/blenloader/intern/writefile.c (+2, -0) (Diff)
/source/blender/editors/interface/interface_draw.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_icons.c (+1, -1) (Diff)
/source/blender/editors/space_file/filelist.c (+1, -1) (Diff)
/source/blender/imbuf/IMB_imbuf.h (+43, -34) (Diff)
/source/blender/imbuf/IMB_imbuf_types.h (+45, -28) (Diff)
/source/blender/imbuf/intern/allocimbuf.c (+166, -131) (Diff)
/source/blender/imbuf/intern/anim.c (+1, -1) (Diff)
/source/blender/imbuf/intern/dynlibtiff.c (+13, -0) (Diff)
/source/blender/imbuf/intern/dynlibtiff.h (+4, -2) (Diff)
/source/blender/imbuf/intern/filetype.c (+3, -3) (Diff)
/source/blender/imbuf/intern/filter.c (+63, -102) (Diff)
/source/blender/imbuf/intern/IMB_filetype.h (+11, -4) (Diff)
/source/blender/imbuf/intern/IMB_filter.h (+3, -0) (Diff)
/source/blender/imbuf/intern/module.c (+4, -2) (Diff)
/source/blender/imbuf/intern/readimage.c (+34, -33) (Diff)
/source/blender/imbuf/intern/tiff.c (+82, -54) (Diff)
/source/blender/makesdna/DNA_image_types.h (+3, -1) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+4, -9) (Diff)
/source/blender/render/intern/include/envmap.h (+1, -1) (Diff)
/source/blender/render/intern/include/part.h (+1, -1) (Diff)
/source/blender/render/intern/include/texture.h (+2, -4) (Diff)
/source/blender/render/intern/source/pipeline.c (+6, -0) (Diff)
/source/blender/render/intern/source/texture.c (+14, -5) (Diff)
/source/blender/render/intern/source/texture_envmap.c (+5, -5) (Diff)
/source/blender/render/intern/source/texture_image.c (+94, -107) (Diff)
/source/blender/render/intern/source/texture_stack.c (+2, -2) (Diff)