Blender Git Loki
Git Commits -> Revision 6b2386f
June 8, 2015, 10:07 (GMT) |
Imbuf types refactor. ImBuf types were getting stored as bitflags in a 32bit integer which had already run out of space. Solved the problem by separating file type to an ftype enum, and file specific options to foptions. Now we have 2^32 image formats to support, hopefully won't run out any time soon. Patch is committed to branch for inclusion after release due to increased volatility, which could result explosions, spikes, acid, lava and signs with "bad" on them if included now. |
Commit Details:
Full Hash: 6b2386fa2b0c34e90edc893b7046b1c2a5543cc6
Parent Commit: e708042
Lines Changed: +217, -188
21 Modified Paths:
/source/blender/blenkernel/BKE_image.h (+3, -3) (Diff)
/source/blender/blenkernel/intern/dynamicpaint.c (+5, -2) (Diff)
/source/blender/blenkernel/intern/image.c (+72, -60) (Diff)
/source/blender/blenkernel/intern/movieclip.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/sequencer.c (+2, -1) (Diff)
/source/blender/editors/space_image/image_buttons.c (+1, -1) (Diff)
/source/blender/editors/space_image/image_ops.c (+3, -2) (Diff)
/source/blender/gpu/intern/gpu_draw.c (+1, -1) (Diff)
/source/blender/imbuf/IMB_imbuf_types.h (+74, -68) (Diff)
/source/blender/imbuf/intern/allocimbuf.c (+2, -1) (Diff)
/source/blender/imbuf/intern/cineon/cineon_dpx.c (+4, -4) (Diff)
/source/blender/imbuf/intern/colormanagement.c (+1, -1) (Diff)
/source/blender/imbuf/intern/filetype.c (+1, -1) (Diff)
/source/blender/imbuf/intern/jp2.c (+10, -10) (Diff)
/source/blender/imbuf/intern/jpeg.c (+18, -16) (Diff)
/source/blender/imbuf/intern/openexr/openexr_api.cpp (+4, -4) (Diff)
/source/blender/imbuf/intern/png.c (+3, -3) (Diff)
/source/blender/imbuf/intern/targa.c (+5, -3) (Diff)
/source/blender/imbuf/intern/tiff.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_image.c (+4, -3) (Diff)
/source/gameengine/Ketsji/BL_Texture.cpp (+1, -1) (Diff)
/source/blender/blenkernel/intern/dynamicpaint.c (+5, -2) (Diff)
/source/blender/blenkernel/intern/image.c (+72, -60) (Diff)
/source/blender/blenkernel/intern/movieclip.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/sequencer.c (+2, -1) (Diff)
/source/blender/editors/space_image/image_buttons.c (+1, -1) (Diff)
/source/blender/editors/space_image/image_ops.c (+3, -2) (Diff)
/source/blender/gpu/intern/gpu_draw.c (+1, -1) (Diff)
/source/blender/imbuf/IMB_imbuf_types.h (+74, -68) (Diff)
/source/blender/imbuf/intern/allocimbuf.c (+2, -1) (Diff)
/source/blender/imbuf/intern/cineon/cineon_dpx.c (+4, -4) (Diff)
/source/blender/imbuf/intern/colormanagement.c (+1, -1) (Diff)
/source/blender/imbuf/intern/filetype.c (+1, -1) (Diff)
/source/blender/imbuf/intern/jp2.c (+10, -10) (Diff)
/source/blender/imbuf/intern/jpeg.c (+18, -16) (Diff)
/source/blender/imbuf/intern/openexr/openexr_api.cpp (+4, -4) (Diff)
/source/blender/imbuf/intern/png.c (+3, -3) (Diff)
/source/blender/imbuf/intern/targa.c (+5, -3) (Diff)
/source/blender/imbuf/intern/tiff.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_image.c (+4, -3) (Diff)
/source/gameengine/Ketsji/BL_Texture.cpp (+1, -1) (Diff)