blender/intern/cycles/device
Sergey Sharybin 28604c46a1 Cycles: Make Blender importer more forward compatible
Basically the idea is to make code robust against extending
enum options in the future by falling back to a known safe
default setting when RNA is set to something unknown.

While this approach solves the issues similar to T47377,
but it wouldn't really help when/if any of the RNA values
gets ever deprecated and removed. There'll be no simple
solution to that apart from defining explicit mapping from
RNA value to Cycles one.

Another part which isn't so great actually is that we now
have to have some enum guards and give some explicit values
to the enum items, but we can live with that perhaps.

Reviewers: dingto, juicyfruit, lukasstockner97, brecht

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D1785
2016-02-12 15:27:33 +01:00
..
CMakeLists.txt Cleanup: style 2016-01-24 12:13:37 +11:00
device_cpu.cpp Cycles: Re-implement some utilities to avoid use of boost 2016-02-06 19:19:20 +01:00
device_cuda.cpp Cycles: Make Blender importer more forward compatible 2016-02-12 15:27:33 +01:00
device_intern.h Cycles: Repot CPU and CUDA capabilities to system info operator 2015-01-06 14:13:21 +05:00
device_memory.h Cycles: Gracefully handle out-of-memory happening in device vector 2015-10-11 19:41:59 +05:00
device_multi.cpp Cycles: Optionally output luminance from the shader evaluation kernel 2015-12-30 19:04:04 +05:00
device_network.cpp Cycles: Fix typo in network device 2016-02-11 13:05:55 +01:00
device_network.h Cycles: Optionally output luminance from the shader evaluation kernel 2015-12-30 19:04:04 +05:00
device_opencl.cpp Cycles: Cleanup, indentation and braces 2016-02-03 15:00:55 +01:00
device_task.cpp Cycles-Bake: Custom Baking passes 2016-01-15 13:00:56 -02:00
device_task.h Cycles-Bake: Custom Baking passes 2016-01-15 13:00:56 -02:00
device.cpp Cycles: Fix typo in flags check 2016-01-24 17:05:02 +05:00
device.h Cycles: Use special debug panel to fine-tune debug flags 2016-01-12 16:21:30 +05:00