Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-04-17 07:17:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-17 07:21:24 +0300
commite12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch)
tree8cf3453d12edb177a218ef8009357518ec6cab6a /intern/opensubdiv/stub
parentb3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff)
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
Diffstat (limited to 'intern/opensubdiv/stub')
-rw-r--r--intern/opensubdiv/stub/opensubdiv_evaluator_stub.cc8
-rw-r--r--intern/opensubdiv/stub/opensubdiv_gl_mesh_stub.cc13
-rw-r--r--intern/opensubdiv/stub/opensubdiv_stub.cc12
-rw-r--r--intern/opensubdiv/stub/opensubdiv_topology_refiner_stub.cc15
4 files changed, 29 insertions, 19 deletions
diff --git a/intern/opensubdiv/stub/opensubdiv_evaluator_stub.cc b/intern/opensubdiv/stub/opensubdiv_evaluator_stub.cc
index 86c80fe8a54..b7c19bf4f9b 100644
--- a/intern/opensubdiv/stub/opensubdiv_evaluator_stub.cc
+++ b/intern/opensubdiv/stub/opensubdiv_evaluator_stub.cc
@@ -20,10 +20,12 @@
#include <cstddef>
-OpenSubdiv_Evaluator* openSubdiv_createEvaluatorFromTopologyRefiner(
- struct OpenSubdiv_TopologyRefiner* /*topology_refiner*/) {
+OpenSubdiv_Evaluator *openSubdiv_createEvaluatorFromTopologyRefiner(
+ struct OpenSubdiv_TopologyRefiner * /*topology_refiner*/)
+{
return NULL;
}
-void openSubdiv_deleteEvaluator(OpenSubdiv_Evaluator* /*evaluator*/) {
+void openSubdiv_deleteEvaluator(OpenSubdiv_Evaluator * /*evaluator*/)
+{
}
diff --git a/intern/opensubdiv/stub/opensubdiv_gl_mesh_stub.cc b/intern/opensubdiv/stub/opensubdiv_gl_mesh_stub.cc
index 8f14a2326dd..91ac0676dbd 100644
--- a/intern/opensubdiv/stub/opensubdiv_gl_mesh_stub.cc
+++ b/intern/opensubdiv/stub/opensubdiv_gl_mesh_stub.cc
@@ -21,17 +21,20 @@
#include <cstddef>
struct OpenSubdiv_GLMesh *openSubdiv_createOsdGLMeshFromTopologyRefiner(
- OpenSubdiv_TopologyRefiner* /*topology_refiner*/,
- eOpenSubdivEvaluator /*evaluator_type*/) {
+ OpenSubdiv_TopologyRefiner * /*topology_refiner*/, eOpenSubdivEvaluator /*evaluator_type*/)
+{
return NULL;
}
-void openSubdiv_deleteOsdGLMesh(OpenSubdiv_GLMesh* /*gl_mesh*/) {
+void openSubdiv_deleteOsdGLMesh(OpenSubdiv_GLMesh * /*gl_mesh*/)
+{
}
-bool openSubdiv_initGLMeshDrawingResources(void) {
+bool openSubdiv_initGLMeshDrawingResources(void)
+{
return false;
}
-void openSubdiv_deinitGLMeshDrawingResources(void) {
+void openSubdiv_deinitGLMeshDrawingResources(void)
+{
}
diff --git a/intern/opensubdiv/stub/opensubdiv_stub.cc b/intern/opensubdiv/stub/opensubdiv_stub.cc
index f03f0a0ef94..8c0b204d41a 100644
--- a/intern/opensubdiv/stub/opensubdiv_stub.cc
+++ b/intern/opensubdiv/stub/opensubdiv_stub.cc
@@ -20,16 +20,20 @@
#include <cstddef>
-void openSubdiv_init(void) {
+void openSubdiv_init(void)
+{
}
-void openSubdiv_cleanup(void) {
+void openSubdiv_cleanup(void)
+{
}
-int openSubdiv_getAvailableEvaluators(void) {
+int openSubdiv_getAvailableEvaluators(void)
+{
return 0;
}
-int openSubdiv_getVersionHex(void) {
+int openSubdiv_getVersionHex(void)
+{
return 0;
}
diff --git a/intern/opensubdiv/stub/opensubdiv_topology_refiner_stub.cc b/intern/opensubdiv/stub/opensubdiv_topology_refiner_stub.cc
index 01d58837b2b..a20f6df6a22 100644
--- a/intern/opensubdiv/stub/opensubdiv_topology_refiner_stub.cc
+++ b/intern/opensubdiv/stub/opensubdiv_topology_refiner_stub.cc
@@ -20,18 +20,19 @@
#include <cstddef>
-OpenSubdiv_TopologyRefiner* openSubdiv_createTopologyRefinerFromConverter(
- OpenSubdiv_Converter* /*converter*/,
- const OpenSubdiv_TopologyRefinerSettings* /*settings*/) {
+OpenSubdiv_TopologyRefiner *openSubdiv_createTopologyRefinerFromConverter(
+ OpenSubdiv_Converter * /*converter*/, const OpenSubdiv_TopologyRefinerSettings * /*settings*/)
+{
return NULL;
}
-void openSubdiv_deleteTopologyRefiner(
- OpenSubdiv_TopologyRefiner* /*topology_refiner*/) {
+void openSubdiv_deleteTopologyRefiner(OpenSubdiv_TopologyRefiner * /*topology_refiner*/)
+{
}
bool openSubdiv_topologyRefinerCompareWithConverter(
- const OpenSubdiv_TopologyRefiner* /*topology_refiner*/,
- const OpenSubdiv_Converter* /*converter*/) {
+ const OpenSubdiv_TopologyRefiner * /*topology_refiner*/,
+ const OpenSubdiv_Converter * /*converter*/)
+{
return false;
}