blender/intern/cycles/device
Lukas Stockner dd921238d9 Cycles: Refactor Device selection to allow individual GPU compute device selection
Previously, it was only possible to choose a single GPU or all of that type (CUDA or OpenCL).
Now, a toggle button is displayed for every device.
These settings are tied to the PCI Bus ID of the devices, so they're consistent across hardware addition and removal (but not when swapping/moving cards).

From the code perspective, the more important change is that now, the compute device properties are stored in the Addon preferences of the Cycles addon, instead of directly in the User Preferences.
This allows for a cleaner implementation, removing the Cycles C API functions that were called by the RNA code to specify the enum items.

Note that this change is neither backwards- nor forwards-compatible, but since it's only a User Preference no existing files are broken.

Reviewers: #cycles, brecht

Reviewed By: #cycles, brecht

Subscribers: brecht, juicyfruit, mib2berlin, Blendify

Differential Revision: https://developer.blender.org/D2338
2016-11-07 03:19:29 +01:00
..
opencl Cycles: Refactor Device selection to allow individual GPU compute device selection 2016-11-07 03:19:29 +01:00
CMakeLists.txt Cycles: Split device_opencl.cpp into multiple files for easier maintenance 2016-10-09 15:49:50 +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: Refactor Device selection to allow individual GPU compute device selection 2016-11-07 03:19:29 +01:00
device_intern.h Cycles: Refactor Device selection to allow individual GPU compute device selection 2016-11-07 03:19:29 +01:00
device_memory.h Fix Cycles assert after recent half changes. 2016-06-19 20:17:25 +02:00
device_multi.cpp Cycles: Refactor Device selection to allow individual GPU compute device selection 2016-11-07 03:19:29 +01: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: Refactor Device selection to allow individual GPU compute device selection 2016-11-07 03:19:29 +01: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: Refactor Device selection to allow individual GPU compute device selection 2016-11-07 03:19:29 +01:00
device.h Cycles: Refactor Device selection to allow individual GPU compute device selection 2016-11-07 03:19:29 +01:00