Cycles: Expose image image extension mapping to the image manager
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 21 Jul 2015 19:58:19 +0000 (21:58 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 21 Jul 2015 19:58:19 +0000 (21:58 +0200)
commitf2c54df625d65c40f6070294a5f66de3f2d18c10
tree1f5b12ba40e6e9b563d84c9df5ebe47b24ead20e
parentdc3563ff4801907ec8cd21a1589f0cb56d021a8f
Cycles: Expose image image extension mapping to the image manager

Currently only two mappings are supported by API, which is Repeat (old behavior)
and new Clip behavior. Internally this extension is being converted to periodic
flag which was already supported but wasn't exposed.

There's no support for OpenCL yet because of the way how we pack images into a
single texture.

Those settings are not exposed to UI or anywhere else and there should be no
functional changes so far.
12 files changed:
intern/cycles/blender/blender_mesh.cpp
intern/cycles/blender/blender_shader.cpp
intern/cycles/device/device_cpu.cpp
intern/cycles/kernel/kernel.h
intern/cycles/kernel/kernel_compat_cpu.h
intern/cycles/kernel/kernels/cpu/kernel.cpp
intern/cycles/kernel/shaders/node_image_texture.osl
intern/cycles/render/image.cpp
intern/cycles/render/image.h
intern/cycles/render/nodes.cpp
intern/cycles/render/nodes.h
intern/cycles/util/util_types.h