Blender Git Loki
Git Commits -> Revision 896fb9f
Revision 896fb9f by Sergey Sharybin (master) July 2, 2012, 16:37 (GMT) |
Color management refactor - Move color management display settings into own structure like it's done for view settings. This is helpful from two sides: * It is planned to support display calibration settings which should be taken into account by color management stuff to add needed transformations to OCIO processor. * File saving should be able to make the same display transformations as it's done by window when displaying the image. Having own DNA and RNA structures for display device settings helps avoiding having duplicated code. - Small refactor of cacheing functions which are now accepts cache-like versions of view and display settings. This structures used for cache are quite the same as DNA structures but they contains indices of view and display which avoids extra lookup for this things. This also helps having reasonable amount of variables passing to cache functions. |
Commit Details:
Full Hash: 896fb9fda7d2b6c9c9f41715f52436507ffd65b2
SVN Revision: 48498
Parent Commit: 11b0e48
Lines Changed: +239, -110
14 Modified Paths:
/release/scripts/startup/bl_ui/properties_color_management.py (+2, -1) (Diff)
/release/scripts/startup/bl_ui/space_info.py (+2, -1) (Diff)
/source/blender/blenkernel/BKE_colortools.h (+5, -0) (Diff)
/source/blender/blenkernel/intern/colortools.c (+18, -1) (Diff)
/source/blender/editors/space_clip/clip_draw.c (+1, -1) (Diff)
/source/blender/editors/space_image/image_draw.c (+1, -1) (Diff)
/source/blender/editors/space_node/drawnode.c (+1, -1) (Diff)
/source/blender/imbuf/IMB_colormanagement.h (+3, -1) (Diff)
/source/blender/imbuf/intern/colormanagement.c (+144, -58) (Diff)
/source/blender/makesdna/DNA_color_types.h (+4, -0) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_color.c (+50, -1) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+4, -41) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+2, -1) (Diff)
/release/scripts/startup/bl_ui/space_info.py (+2, -1) (Diff)
/source/blender/blenkernel/BKE_colortools.h (+5, -0) (Diff)
/source/blender/blenkernel/intern/colortools.c (+18, -1) (Diff)
/source/blender/editors/space_clip/clip_draw.c (+1, -1) (Diff)
/source/blender/editors/space_image/image_draw.c (+1, -1) (Diff)
/source/blender/editors/space_node/drawnode.c (+1, -1) (Diff)
/source/blender/imbuf/IMB_colormanagement.h (+3, -1) (Diff)
/source/blender/imbuf/intern/colormanagement.c (+144, -58) (Diff)
/source/blender/makesdna/DNA_color_types.h (+4, -0) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_color.c (+50, -1) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+4, -41) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+2, -1) (Diff)