Cleanup: Remove using statements.
This commit is contained in:
@@ -374,7 +374,7 @@ void ExecutionGroup::execute(ExecutionSystem *graph)
|
|||||||
MemoryBuffer **ExecutionGroup::getInputBuffersOpenCL(int chunkNumber)
|
MemoryBuffer **ExecutionGroup::getInputBuffersOpenCL(int chunkNumber)
|
||||||
{
|
{
|
||||||
rcti rect;
|
rcti rect;
|
||||||
vector<MemoryProxy *> memoryproxies;
|
std::vector<MemoryProxy *> memoryproxies;
|
||||||
unsigned int index;
|
unsigned int index;
|
||||||
determineChunkRect(&rect, chunkNumber);
|
determineChunkRect(&rect, chunkNumber);
|
||||||
|
|
||||||
@@ -545,7 +545,7 @@ bool ExecutionGroup::scheduleChunkWhenPossible(ExecutionSystem *graph, int xChun
|
|||||||
}
|
}
|
||||||
|
|
||||||
// chunk is nor executed nor scheduled.
|
// chunk is nor executed nor scheduled.
|
||||||
vector<MemoryProxy *> memoryProxies;
|
std::vector<MemoryProxy *> memoryProxies;
|
||||||
this->determineDependingMemoryProxies(&memoryProxies);
|
this->determineDependingMemoryProxies(&memoryProxies);
|
||||||
|
|
||||||
rcti rect;
|
rcti rect;
|
||||||
@@ -586,7 +586,7 @@ void ExecutionGroup::determineDependingAreaOfInterest(rcti *input,
|
|||||||
this->getOutputOperation()->determineDependingAreaOfInterest(input, readOperation, output);
|
this->getOutputOperation()->determineDependingAreaOfInterest(input, readOperation, output);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ExecutionGroup::determineDependingMemoryProxies(vector<MemoryProxy *> *memoryProxies)
|
void ExecutionGroup::determineDependingMemoryProxies(std::vector<MemoryProxy *> *memoryProxies)
|
||||||
{
|
{
|
||||||
unsigned int index;
|
unsigned int index;
|
||||||
for (index = 0; index < this->m_cachedReadOperations.size(); index++) {
|
for (index = 0; index < this->m_cachedReadOperations.size(); index++) {
|
||||||
|
|||||||
@@ -30,8 +30,6 @@
|
|||||||
#include "COM_NodeOperation.h"
|
#include "COM_NodeOperation.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
using std::vector;
|
|
||||||
|
|
||||||
class ExecutionSystem;
|
class ExecutionSystem;
|
||||||
class MemoryProxy;
|
class MemoryProxy;
|
||||||
class ReadBufferOperation;
|
class ReadBufferOperation;
|
||||||
@@ -405,7 +403,7 @@ class ExecutionGroup {
|
|||||||
* \note the area of the MemoryProxy.creator that has to be executed.
|
* \note the area of the MemoryProxy.creator that has to be executed.
|
||||||
* \param memoryProxies: result
|
* \param memoryProxies: result
|
||||||
*/
|
*/
|
||||||
void determineDependingMemoryProxies(vector<MemoryProxy *> *memoryProxies);
|
void determineDependingMemoryProxies(std::vector<MemoryProxy *> *memoryProxies);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Determine the rect (minx, maxx, miny, maxy) of a chunk.
|
* \brief Determine the rect (minx, maxx, miny, maxy) of a chunk.
|
||||||
|
|||||||
@@ -135,7 +135,7 @@ void ExecutionSystem::execute()
|
|||||||
DebugInfo::execute_started(this);
|
DebugInfo::execute_started(this);
|
||||||
|
|
||||||
unsigned int order = 0;
|
unsigned int order = 0;
|
||||||
for (vector<NodeOperation *>::iterator iter = this->m_operations.begin();
|
for (std::vector<NodeOperation *>::iterator iter = this->m_operations.begin();
|
||||||
iter != this->m_operations.end();
|
iter != this->m_operations.end();
|
||||||
++iter) {
|
++iter) {
|
||||||
NodeOperation *operation = *iter;
|
NodeOperation *operation = *iter;
|
||||||
@@ -202,7 +202,7 @@ void ExecutionSystem::execute()
|
|||||||
void ExecutionSystem::executeGroups(CompositorPriority priority)
|
void ExecutionSystem::executeGroups(CompositorPriority priority)
|
||||||
{
|
{
|
||||||
unsigned int index;
|
unsigned int index;
|
||||||
vector<ExecutionGroup *> executionGroups;
|
std::vector<ExecutionGroup *> executionGroups;
|
||||||
this->findOutputExecutionGroup(&executionGroups, priority);
|
this->findOutputExecutionGroup(&executionGroups, priority);
|
||||||
|
|
||||||
for (index = 0; index < executionGroups.size(); index++) {
|
for (index = 0; index < executionGroups.size(); index++) {
|
||||||
@@ -211,7 +211,7 @@ void ExecutionSystem::executeGroups(CompositorPriority priority)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void ExecutionSystem::findOutputExecutionGroup(vector<ExecutionGroup *> *result,
|
void ExecutionSystem::findOutputExecutionGroup(std::vector<ExecutionGroup *> *result,
|
||||||
CompositorPriority priority) const
|
CompositorPriority priority) const
|
||||||
{
|
{
|
||||||
unsigned int index;
|
unsigned int index;
|
||||||
@@ -223,7 +223,7 @@ void ExecutionSystem::findOutputExecutionGroup(vector<ExecutionGroup *> *result,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void ExecutionSystem::findOutputExecutionGroup(vector<ExecutionGroup *> *result) const
|
void ExecutionSystem::findOutputExecutionGroup(std::vector<ExecutionGroup *> *result) const
|
||||||
{
|
{
|
||||||
unsigned int index;
|
unsigned int index;
|
||||||
for (index = 0; index < this->m_groups.size(); index++) {
|
for (index = 0; index < this->m_groups.size(); index++) {
|
||||||
|
|||||||
@@ -137,13 +137,13 @@ class ExecutionSystem {
|
|||||||
/**
|
/**
|
||||||
* find all execution group with output nodes
|
* find all execution group with output nodes
|
||||||
*/
|
*/
|
||||||
void findOutputExecutionGroup(vector<ExecutionGroup *> *result,
|
void findOutputExecutionGroup(std::vector<ExecutionGroup *> *result,
|
||||||
CompositorPriority priority) const;
|
CompositorPriority priority) const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* find all execution group with output nodes
|
* find all execution group with output nodes
|
||||||
*/
|
*/
|
||||||
void findOutputExecutionGroup(vector<ExecutionGroup *> *result) const;
|
void findOutputExecutionGroup(std::vector<ExecutionGroup *> *result) const;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -24,8 +24,6 @@
|
|||||||
|
|
||||||
#include "COM_NodeGraph.h"
|
#include "COM_NodeGraph.h"
|
||||||
|
|
||||||
using std::vector;
|
|
||||||
|
|
||||||
class CompositorContext;
|
class CompositorContext;
|
||||||
|
|
||||||
class Node;
|
class Node;
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ static ThreadLocal(CPUDevice *) g_thread_device;
|
|||||||
static struct {
|
static struct {
|
||||||
/** \brief list of all CPUDevices. for every hardware thread an instance of CPUDevice is created
|
/** \brief list of all CPUDevices. for every hardware thread an instance of CPUDevice is created
|
||||||
*/
|
*/
|
||||||
vector<CPUDevice *> cpu_devices;
|
std::vector<CPUDevice *> cpu_devices;
|
||||||
|
|
||||||
#if COM_CURRENT_THREADING_MODEL == COM_TM_QUEUE
|
#if COM_CURRENT_THREADING_MODEL == COM_TM_QUEUE
|
||||||
/** \brief list of all thread for every CPUDevice in cpudevices a thread exists. */
|
/** \brief list of all thread for every CPUDevice in cpudevices a thread exists. */
|
||||||
@@ -62,7 +62,7 @@ static struct {
|
|||||||
cl_program opencl_program;
|
cl_program opencl_program;
|
||||||
/** \brief list of all OpenCLDevices. for every OpenCL GPU device an instance of OpenCLDevice is
|
/** \brief list of all OpenCLDevices. for every OpenCL GPU device an instance of OpenCLDevice is
|
||||||
* created. */
|
* created. */
|
||||||
vector<OpenCLDevice *> gpu_devices;
|
std::vector<OpenCLDevice *> gpu_devices;
|
||||||
/** \brief list of all thread for every GPUDevice in cpudevices a thread exists. */
|
/** \brief list of all thread for every GPUDevice in cpudevices a thread exists. */
|
||||||
ListBase gpu_threads;
|
ListBase gpu_threads;
|
||||||
/** \brief all scheduled work for the GPU. */
|
/** \brief all scheduled work for the GPU. */
|
||||||
|
|||||||
Reference in New Issue
Block a user