Blender
V3.3
|
class representing a CPU device. More...
#include <COM_CPUDevice.h>
Public Member Functions | |
CPUDevice (int thread_id) | |
void | execute (WorkPackage *work) override |
execute a WorkPackage More... | |
int | thread_id () |
![]() | |
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 | thread_id_ |
class representing a CPU device.
Definition at line 15 of file COM_CPUDevice.h.
CPUDevice::CPUDevice | ( | int | thread_id | ) |
Definition at line 11 of file COM_CPUDevice.cc.
|
overridevirtual |
execute a WorkPackage
work | the WorkPackage to execute |
Implements blender::compositor::Device.
Definition at line 15 of file COM_CPUDevice.cc.
References blender::compositor::WorkPackage::chunk_number, blender::compositor::CustomFunction, blender::compositor::WorkPackage::execute_fn, blender::compositor::NodeOperation::execute_region(), blender::compositor::WorkPackage::executed_fn, blender::compositor::WorkPackage::execution_group, blender::compositor::ExecutionGroup::finalize_chunk_execution(), blender::compositor::ExecutionGroup::get_output_operation(), blender::compositor::WorkPackage::rect, blender::compositor::Tile, and blender::compositor::WorkPackage::type.
Referenced by blender::compositor::threading_model_queue_execute(), and blender::compositor::threading_model_single_thread_execute().
|
inline |
Definition at line 25 of file COM_CPUDevice.h.
References thread_id_.
Referenced by blender::compositor::WorkScheduler::current_thread_id().
|
protected |
Definition at line 31 of file COM_CPUDevice.h.
Referenced by thread_id().