Blender
V4.3
source
blender
compositor
intern
COM_CPUDevice.h
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2011 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
5
#pragma once
6
7
#include "
COM_Device.h
"
8
9
namespace
blender::compositor
{
10
16
class
CPUDevice
:
public
Device
{
17
public
:
18
CPUDevice
(
int
thread_id
);
19
24
void
execute
(
WorkPackage
*work)
override
;
25
26
int
thread_id
()
27
{
28
return
thread_id_
;
29
}
30
31
protected
:
32
int
thread_id_
;
33
};
34
35
}
// namespace blender::compositor
COM_Device.h
blender::compositor::CPUDevice
class representing a CPU device.
Definition
COM_CPUDevice.h:16
blender::compositor::CPUDevice::CPUDevice
CPUDevice(int thread_id)
Definition
COM_CPUDevice.cc:11
blender::compositor::CPUDevice::thread_id_
int thread_id_
Definition
COM_CPUDevice.h:32
blender::compositor::CPUDevice::thread_id
int thread_id()
Definition
COM_CPUDevice.h:26
blender::compositor::CPUDevice::execute
void execute(WorkPackage *work) override
execute a WorkPackage
Definition
COM_CPUDevice.cc:13
blender::compositor::Device
Abstract class for device implementations to be used by the Compositor. devices are queried,...
Definition
COM_Device.h:20
blender::compositor
Definition
COM_JumpFloodingAlgorithm.cc:20
blender::compositor::WorkPackage
contains data about work that can be scheduled
Definition
COM_WorkPackage.h:19
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0