diff options
Diffstat (limited to 'source/blender/compositor/intern/COM_CPUDevice.h')
-rw-r--r-- | source/blender/compositor/intern/COM_CPUDevice.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/compositor/intern/COM_CPUDevice.h b/source/blender/compositor/intern/COM_CPUDevice.h index 3dc8fff66a3..d12666593d4 100644 --- a/source/blender/compositor/intern/COM_CPUDevice.h +++ b/source/blender/compositor/intern/COM_CPUDevice.h @@ -31,11 +31,18 @@ */ class CPUDevice : public Device { public: + CPUDevice(int thread_id); + /** * @brief execute a WorkPackage * @param work the WorkPackage to execute */ void execute(WorkPackage *work); + + int thread_id() { return m_thread_id; } + +protected: + int m_thread_id; }; #endif |