Cleanup: Use snake case for method names.
This commit is contained in:
@@ -59,7 +59,7 @@ ExecutionSystem::ExecutionSystem(RenderData *rd,
|
||||
this->m_context.setQuality((CompositorQuality)editingtree->edit_quality);
|
||||
}
|
||||
this->m_context.setRendering(rendering);
|
||||
this->m_context.setHasActiveOpenCLDevices(WorkScheduler::hasGPUDevices() &&
|
||||
this->m_context.setHasActiveOpenCLDevices(WorkScheduler::has_gpu_devices() &&
|
||||
(editingtree->flag & NTREE_COM_OPENCL));
|
||||
|
||||
this->m_context.setRenderData(rd);
|
||||
|
||||
@@ -178,7 +178,7 @@ void WorkScheduler::stop()
|
||||
#endif
|
||||
}
|
||||
|
||||
bool WorkScheduler::hasGPUDevices()
|
||||
bool WorkScheduler::has_gpu_devices()
|
||||
{
|
||||
#if COM_CURRENT_THREADING_MODEL == COM_TM_QUEUE
|
||||
# ifdef COM_OPENCL_ENABLED
|
||||
|
||||
@@ -102,7 +102,7 @@ class WorkScheduler {
|
||||
* A node can generate a different operation tree when OpenCLDevices exists.
|
||||
* \see CompositorContext.getHasActiveOpenCLDevices
|
||||
*/
|
||||
static bool hasGPUDevices();
|
||||
static bool has_gpu_devices();
|
||||
|
||||
static int current_thread_id();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user