ClangFormat: apply to source, most of intern

Apply clang format as proposed in T53211.

For details on usage and instructions for migrating branches
without conflicts, see:

https://wiki.blender.org/wiki/Tools/ClangFormat
This commit is contained in:
2019-04-17 06:17:24 +02:00
parent b3dabc200a
commit e12c08e8d1
4481 changed files with 1230080 additions and 1155401 deletions

View File

@@ -20,20 +20,23 @@
SetSamplerOperation::SetSamplerOperation() : NodeOperation()
{
this->addInputSocket(COM_DT_COLOR);
this->addOutputSocket(COM_DT_COLOR);
this->addInputSocket(COM_DT_COLOR);
this->addOutputSocket(COM_DT_COLOR);
}
void SetSamplerOperation::initExecution()
{
this->m_reader = this->getInputSocketReader(0);
this->m_reader = this->getInputSocketReader(0);
}
void SetSamplerOperation::deinitExecution()
{
this->m_reader = NULL;
this->m_reader = NULL;
}
void SetSamplerOperation::executePixelSampled(float output[4], float x, float y, PixelSampler /*sampler*/)
void SetSamplerOperation::executePixelSampled(float output[4],
float x,
float y,
PixelSampler /*sampler*/)
{
this->m_reader->readSampled(output, x, y, this->m_sampler);
this->m_reader->readSampled(output, x, y, this->m_sampler);
}