blender/intern/cycles/device
Sergey Sharybin 91e0a16f2f Cycles: Use XDG's .cache folder for cached kernels
Basically just moves cached kernels from ~/.config/blender/BLENDER_VERSION to
~/.cache/cycles/kernels. This has following benefits:

- Follows XDG specification more closely,
  not as if it's totally crucial or measurable by users, but still nice.

- Prevents unexpected sizes of config folder, makes disk space used in more
  predictable for users way.

- Allows to share kernels across multiple Blender versions,
  which makes it easier debugging at the times close to release.

- "Copy Previous Settings" operator will no longer be copying possibly
  gigabytes of cached kernels, which used to lead to really nast disk usage
  and annoying delays of copying settings.

- In the future we can have some smart logic to clear old unused cached
  kernels.

Currently only done for Linux and OSX. Windows still follows old "cache"
folder logic, but it's not really important for now because we don't
support kernel compilation on this platform yet.

Reviewers: dingto, juicyfruit, brecht

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D2197
2016-09-12 09:39:05 +02:00
..
CMakeLists.txt Code refactor: add generic Cycles node infrastructure. 2016-05-22 17:29:24 +02:00
device_cpu.cpp Cycles: Add human readable sizes to debug output 2016-05-31 06:13:54 -04:00
device_cuda.cpp Cycles: Use XDG's .cache folder for cached kernels 2016-09-12 09:39:05 +02: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 Fix Cycles assert after recent half changes. 2016-06-19 20:17:25 +02:00
device_multi.cpp Cycles: Add human readable sizes to debug output 2016-05-31 06:13:54 -04:00
device_network.cpp Cycles: Add human readable sizes to debug output 2016-05-31 06:13:54 -04:00
device_network.h Cycles: Use explicit qualifier for single-argument constructors 2016-05-11 16:51:14 +02:00
device_opencl.cpp Cycles: Use XDG's .cache folder for cached kernels 2016-09-12 09:39:05 +02:00
device_task.cpp Cycles-Bake: Custom Baking passes 2016-01-15 13:00:56 -02:00
device_task.h Cycles: Use explicit qualifier for single-argument constructors 2016-05-11 16:51:14 +02:00
device.cpp Cycles microdisplacement: Allow kernels to be built without patch evaluation 2016-08-15 11:13:18 -04:00
device.h Cycles microdisplacement: Allow kernels to be built without patch evaluation 2016-08-15 11:13:18 -04:00