![]() |
Blender V2.61 - r43446
|
#include <device.h>
Public Types | |
| enum | Type { PATH_TRACE, TONEMAP, SHADER } |
Public Member Functions | |
| DeviceTask (Type type=PATH_TRACE) | |
| void | split (list< DeviceTask > &tasks, int num) |
| void | split (ThreadQueue< DeviceTask > &tasks, int num) |
| void | split_max_size (list< DeviceTask > &tasks, int max_size) |
Public Attributes | |
| Type | type |
| int | x |
| int | y |
| int | w |
| int | h |
| device_ptr | rng_state |
| device_ptr | rgba |
| device_ptr | buffer |
| int | sample |
| int | resolution |
| int | offset |
| int | stride |
| device_ptr | shader_input |
| device_ptr | shader_output |
| int | shader_eval_type |
| int | shader_x |
| int | shader_w |
| enum DeviceTask::Type |
| CCL_NAMESPACE_BEGIN DeviceTask::DeviceTask | ( | Type | type = PATH_TRACE | ) |
Definition at line 38 of file device.cpp.
| void DeviceTask::split | ( | list< DeviceTask > & | tasks, |
| int | num | ||
| ) |
Definition at line 70 of file device.cpp.
References h, i, min, SHADER, shader_w, shader_x, type, and y.
Referenced by split(), split_max_size(), and CPUDevice::task_add().
| void DeviceTask::split | ( | ThreadQueue< DeviceTask > & | tasks, |
| int | num | ||
| ) |
Definition at line 61 of file device.cpp.
References ThreadQueue< T >::push(), and split().
| void DeviceTask::split_max_size | ( | list< DeviceTask > & | tasks, |
| int | max_size | ||
| ) |
Definition at line 75 of file device.h.
Referenced by Session::path_trace(), CUDADevice::path_trace(), CPUDevice::thread_path_trace(), CPUDevice::thread_tonemap(), Session::tonemap(), and CUDADevice::tonemap().
| int DeviceTask::h |
Definition at line 72 of file device.h.
Referenced by Session::path_trace(), CUDADevice::path_trace(), split(), split_max_size(), CPUDevice::thread_path_trace(), CPUDevice::thread_tonemap(), Session::tonemap(), and CUDADevice::tonemap().
Definition at line 78 of file device.h.
Referenced by Session::path_trace(), CUDADevice::path_trace(), CPUDevice::thread_path_trace(), CPUDevice::thread_tonemap(), Session::tonemap(), and CUDADevice::tonemap().
Definition at line 77 of file device.h.
Referenced by Session::path_trace(), CPUDevice::thread_tonemap(), Session::tonemap(), and CUDADevice::tonemap().
Definition at line 74 of file device.h.
Referenced by CPUDevice::thread_tonemap(), Session::tonemap(), and CUDADevice::tonemap().
Definition at line 73 of file device.h.
Referenced by Session::path_trace(), CUDADevice::path_trace(), and CPUDevice::thread_path_trace().
Definition at line 76 of file device.h.
Referenced by Session::path_trace(), CUDADevice::path_trace(), CPUDevice::thread_path_trace(), CPUDevice::thread_tonemap(), Session::tonemap(), and CUDADevice::tonemap().
Definition at line 82 of file device.h.
Referenced by MeshManager::displace(), CUDADevice::shader(), and CPUDevice::thread_shader().
Definition at line 80 of file device.h.
Referenced by MeshManager::displace(), CUDADevice::shader(), and CPUDevice::thread_shader().
Definition at line 81 of file device.h.
Referenced by MeshManager::displace(), CUDADevice::shader(), and CPUDevice::thread_shader().
Definition at line 83 of file device.h.
Referenced by MeshManager::displace(), CUDADevice::shader(), split(), split_max_size(), and CPUDevice::thread_shader().
Definition at line 83 of file device.h.
Referenced by MeshManager::displace(), CUDADevice::shader(), split(), and CPUDevice::thread_shader().
Definition at line 78 of file device.h.
Referenced by Session::path_trace(), CUDADevice::path_trace(), CPUDevice::thread_path_trace(), CPUDevice::thread_tonemap(), Session::tonemap(), and CUDADevice::tonemap().
Definition at line 70 of file device.h.
Referenced by split(), split_max_size(), CUDADevice::task_add(), and CPUDevice::thread_run().
| int DeviceTask::w |
Definition at line 72 of file device.h.
Referenced by Session::path_trace(), CUDADevice::path_trace(), split_max_size(), CPUDevice::thread_path_trace(), CPUDevice::thread_tonemap(), Session::tonemap(), and CUDADevice::tonemap().
| int DeviceTask::x |
Definition at line 72 of file device.h.
Referenced by Session::path_trace(), CUDADevice::path_trace(), CPUDevice::thread_path_trace(), CPUDevice::thread_tonemap(), Session::tonemap(), and CUDADevice::tonemap().
| int DeviceTask::y |
Definition at line 72 of file device.h.
Referenced by Session::path_trace(), CUDADevice::path_trace(), split(), CPUDevice::thread_path_trace(), CPUDevice::thread_tonemap(), Session::tonemap(), and CUDADevice::tonemap().