Blender Git Loki
Git Commits -> Revision 8c113a9
Revision 8c113a9 by Sergey Sharybin (master) March 3, 2016, 11:02 (GMT) |
Make texture node threaded Quite trivial idea -- just pass tread ID to the texture sampling function. Implemented as a TLS to avoid passing huge amount of extra contexts around. Should be working on all platforms, but compilation test is required. Reviewers: juicyfruit, campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D1831 |
Commit Details:
Full Hash: 8c113a95e3536dfa0be37c9e2e924ea8172bb613
Parent Commit: ba7eb0c
Lines Changed: +81, -28
10 Modified Paths:
/source/blender/blenkernel/intern/effect.c (+4, -4) (Diff)
/source/blender/compositor/intern/COM_CPUDevice.cpp (+6, -0) (Diff)
/source/blender/compositor/intern/COM_CPUDevice.h (+7, -0) (Diff)
/source/blender/compositor/intern/COM_WorkScheduler.cpp (+15, -7) (Diff)
/source/blender/compositor/intern/COM_WorkScheduler.h (+2, -0) (Diff)
/source/blender/compositor/operations/COM_TextureOperation.cpp (+14, -11) (Diff)
/source/blender/compositor/operations/COM_TextureOperation.h (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_texture_api.c (+1, -1) (Diff)
/source/blender/render/extern/include/RE_shader_ext.h (+9, -1) (Diff)
/source/blender/render/intern/source/render_texture.c (+21, -2) (Diff)
/source/blender/compositor/intern/COM_CPUDevice.cpp (+6, -0) (Diff)
/source/blender/compositor/intern/COM_CPUDevice.h (+7, -0) (Diff)
/source/blender/compositor/intern/COM_WorkScheduler.cpp (+15, -7) (Diff)
/source/blender/compositor/intern/COM_WorkScheduler.h (+2, -0) (Diff)
/source/blender/compositor/operations/COM_TextureOperation.cpp (+14, -11) (Diff)
/source/blender/compositor/operations/COM_TextureOperation.h (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_texture_api.c (+1, -1) (Diff)
/source/blender/render/extern/include/RE_shader_ext.h (+9, -1) (Diff)
/source/blender/render/intern/source/render_texture.c (+21, -2) (Diff)