|
Blender
V2.93
|
class representing a CPU device. More...
#include <COM_CPUDevice.h>
Inherits blender::compositor::Device.
Public Member Functions | |
| CPUDevice (int thread_id) | |
| void | execute (WorkPackage *work) override |
| execute a WorkPackage More... | |
| int | thread_id () |
Public Member Functions inherited from blender::compositor::Device | |
| Device ()=default | |
| Device (const Device &other)=delete | |
| Device (Device &&other) noexcept=default | |
| Device & | operator= (const Device &other)=delete |
| Device & | operator= (Device &&other)=delete |
| virtual | ~Device () |
| Declaration of the virtual destructor. More... | |
Protected Attributes | |
| int | m_thread_id |
class representing a CPU device.
Definition at line 30 of file COM_CPUDevice.h.
| CPUDevice::CPUDevice | ( | int | thread_id | ) |
Definition at line 27 of file COM_CPUDevice.cc.
|
overridevirtual |
execute a WorkPackage
| work | the WorkPackage to execute |
Implements blender::compositor::Device.
Definition at line 31 of file COM_CPUDevice.cc.
References blender::compositor::WorkPackage::chunk_number, blender::compositor::NodeOperation::executeRegion(), blender::compositor::WorkPackage::execution_group, blender::compositor::ExecutionGroup::finalizeChunkExecution(), blender::compositor::ExecutionGroup::getOutputOperation(), and blender::compositor::WorkPackage::rect.
Referenced by blender::compositor::threading_model_queue_execute(), and blender::compositor::threading_model_single_thread_execute().
|
inline |
Definition at line 40 of file COM_CPUDevice.h.
References m_thread_id.
Referenced by blender::compositor::WorkScheduler::current_thread_id().
|
protected |
Definition at line 46 of file COM_CPUDevice.h.
Referenced by thread_id().