Cycles: Remove unneeded include statements
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 19 Jan 2018 13:55:53 +0000 (14:55 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 19 Jan 2018 14:19:45 +0000 (15:19 +0100)
Also try to move them from headers to implementation files as much as possible.

28 files changed:
intern/cycles/app/cycles_xml.cpp
intern/cycles/blender/blender_python.cpp
intern/cycles/bvh/bvh_build.cpp
intern/cycles/bvh/bvh_node.cpp
intern/cycles/bvh/bvh_sort.cpp
intern/cycles/bvh/bvh_unaligned.cpp
intern/cycles/device/device.cpp
intern/cycles/device/device_memory.h
intern/cycles/device/opencl/opencl_base.cpp
intern/cycles/device/opencl/opencl_split.cpp
intern/cycles/device/opencl/opencl_util.cpp
intern/cycles/kernel/osl/osl_closures.cpp
intern/cycles/render/attribute.cpp
intern/cycles/render/buffers.cpp
intern/cycles/render/film.cpp
intern/cycles/render/graph.cpp
intern/cycles/render/sobol.cpp
intern/cycles/render/svm.cpp
intern/cycles/render/tables.cpp
intern/cycles/subd/subd_dice.cpp
intern/cycles/subd/subd_split.cpp
intern/cycles/util/util_debug.h
intern/cycles/util/util_guarded_allocator.h
intern/cycles/util/util_image_impl.h
intern/cycles/util/util_path.cpp
intern/cycles/util/util_simd.h
intern/cycles/util/util_stack_allocator.h
intern/cycles/util/util_task.cpp

index f2db9271a8912bc19e2ddcfc3dcf375b200ad349..2d6e63468af132fc534a88d0c455aefab65c4863 100644 (file)
@@ -38,7 +38,6 @@
 #include "subd/subd_patch.h"
 #include "subd/subd_split.h"
 
-#include "util/util_debug.h"
 #include "util/util_foreach.h"
 #include "util/util_path.h"
 #include "util/util_transform.h"
index e268c9a0d35b4295389fa8ee1c2a93d96a49cbcf..687ddd9e7c3230b3b425577a1714d8cfce264012 100644 (file)
@@ -21,6 +21,7 @@
 #include "blender/blender_sync.h"
 #include "blender/blender_session.h"
 
+#include "util/util_debug.h"
 #include "util/util_foreach.h"
 #include "util/util_logging.h"
 #include "util/util_md5.h"
index 39e14dba3ee0eae6d40215acd50bbf8f13d3e8be..c0b3d683e37c47e72ddeb522795539c2f85a1dc2 100644 (file)
@@ -28,7 +28,6 @@
 #include "render/curves.h"
 
 #include "util/util_algorithm.h"
-#include "util/util_debug.h"
 #include "util/util_foreach.h"
 #include "util/util_logging.h"
 #include "util/util_progress.h"
index ab6df4d265d6074944571f80bc2aede939c06333..24af919ff467cdad0655c2980d950393416acca0 100644 (file)
@@ -20,7 +20,6 @@
 #include "bvh/bvh.h"
 #include "bvh/bvh_build.h"
 
-#include "util/util_debug.h"
 #include "util/util_vector.h"
 
 CCL_NAMESPACE_BEGIN
index 3a01061b28534558cba75ea97467497903901882..b40bf5bb21bac0893b976e324f385584c4dd72c5 100644 (file)
@@ -20,7 +20,6 @@
 #include "bvh/bvh_build.h"
 
 #include "util/util_algorithm.h"
-#include "util/util_debug.h"
 #include "util/util_task.h"
 
 CCL_NAMESPACE_BEGIN
index b522a8f3e1061140c96823ade2d667aa4f5ce7fe..910f82137c5cc1f068b4b125d63752d6fa03485f 100644 (file)
@@ -23,7 +23,6 @@
 #include "bvh_params.h"
 
 #include "util/util_boundbox.h"
-#include "util/util_debug.h"
 #include "util/util_transform.h"
 
 CCL_NAMESPACE_BEGIN
index a3ff5481cefb39253b878f622601e5fe20dfb9b5..d55a999c454e2f187b2ccc3a42b96b4e8b75118f 100644 (file)
@@ -20,7 +20,6 @@
 #include "device/device.h"
 #include "device/device_intern.h"
 
-#include "util/util_debug.h"
 #include "util/util_foreach.h"
 #include "util/util_half.h"
 #include "util/util_logging.h"
index 2a0279170669768b5a55ffc17ceff6c317abf7c9..796c898bc8d8a1e468f7a8866d9d9d941b076594 100644 (file)
@@ -21,7 +21,6 @@
  *
  * Data types for allocating, copying and freeing device memory. */
 
-#include "util/util_debug.h"
 #include "util/util_half.h"
 #include "util/util_texture.h"
 #include "util/util_types.h"
index fe084edc90ec46140e3ec308549c9b9a846ec9d6..7de78d413ed8b6c865f440f19661a5f3636c7571 100644 (file)
@@ -21,6 +21,7 @@
 #include "kernel/kernel_types.h"
 
 #include "util/util_algorithm.h"
+#include "util/util_debug.h"
 #include "util/util_foreach.h"
 #include "util/util_logging.h"
 #include "util/util_md5.h"
index 2d819080674c8d08306bbef0964b2eae6f5b4ee1..51d3c7bb10f5b1a3233ec2b978cf48fff907992a 100644 (file)
@@ -26,6 +26,7 @@
 #include "device/device_split_kernel.h"
 
 #include "util/util_algorithm.h"
+#include "util/util_debug.h"
 #include "util/util_logging.h"
 #include "util/util_md5.h"
 #include "util/util_path.h"
index 47d099a1f949771d90a32e383f3cba0d32f6f093..7db6fa0c4168c8de285f91c977f732d6c35098da 100644 (file)
@@ -18,6 +18,7 @@
 
 #include "device/opencl/opencl.h"
 
+#include "util/util_debug.h"
 #include "util/util_logging.h"
 #include "util/util_md5.h"
 #include "util/util_path.h"
index 597d25e9f300a6e8a0fb9062de7f4cbaf4269777..608e856e019d9544195a7ab28cf92d9d64a0aecb 100644 (file)
@@ -36,7 +36,6 @@
 #include "kernel/osl/osl_closures.h"
 #include "kernel/osl/osl_shader.h"
 
-#include "util/util_debug.h"
 #include "util/util_math.h"
 #include "util/util_param.h"
 
index 9dff18691cd8b2aea228b6bb2df9ab70642cc194..95e69df68856a6e273e055d714ebe0ff0953c0ee 100644 (file)
@@ -18,7 +18,6 @@
 #include "render/mesh.h"
 #include "render/attribute.h"
 
-#include "util/util_debug.h"
 #include "util/util_foreach.h"
 #include "util/util_transform.h"
 
index 9899fa1c39c736a7131580c6d043195b30e8af17..84d10cc477ee4ff23a7b8e54df3fa29fc0608b9a 100644 (file)
@@ -19,7 +19,6 @@
 #include "render/buffers.h"
 #include "device/device.h"
 
-#include "util/util_debug.h"
 #include "util/util_foreach.h"
 #include "util/util_hash.h"
 #include "util/util_image.h"
index 6c8c929c2f991610344aef7f8b60bd8cf73660a6..97937ac5f814f3b3cc736efe8bde079d2cb76813 100644 (file)
@@ -23,7 +23,6 @@
 #include "render/tables.h"
 
 #include "util/util_algorithm.h"
-#include "util/util_debug.h"
 #include "util/util_foreach.h"
 #include "util/util_math.h"
 #include "util/util_math_cdf.h"
index 08203163d1af6c4c1f4090cfe3bce399f78e57f1..56434b39da5d88af67818f5cdc3aced942cdc0b9 100644 (file)
@@ -22,7 +22,6 @@
 #include "render/constant_fold.h"
 
 #include "util/util_algorithm.h"
-#include "util/util_debug.h"
 #include "util/util_foreach.h"
 #include "util/util_queue.h"
 #include "util/util_logging.h"
index ce93dc8c5d580081edc6a449cee92f75c92323a9..6906667ac1943b0c6a4b3099ab195035a8938b99 100644 (file)
@@ -46,7 +46,6 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "util/util_debug.h"
 #include "util/util_types.h"
 
 #include "render/sobol.h"
index db53e366d1ecbe2c986b10ef95eb47bd2f629631..b678277433b160db5c4f2fa92f76e3bf90bbf742 100644 (file)
@@ -23,7 +23,6 @@
 #include "render/shader.h"
 #include "render/svm.h"
 
-#include "util/util_debug.h"
 #include "util/util_logging.h"
 #include "util/util_foreach.h"
 #include "util/util_progress.h"
index 651ae4e21a053ade0ee5b22a1089b4af0bf55cca..536fdd0775e80e62e5b3f72d405547eefb28978d 100644 (file)
@@ -18,7 +18,6 @@
 #include "render/scene.h"
 #include "render/tables.h"
 
-#include "util/util_debug.h"
 #include "util/util_logging.h"
 
 CCL_NAMESPACE_BEGIN
index fae815901ee06fdb2c1f65aa200a173e4997e752..8c426da4acff9a91d766ebb5fe5d0eb96e4c3337 100644 (file)
@@ -20,8 +20,6 @@
 #include "subd/subd_dice.h"
 #include "subd/subd_patch.h"
 
-#include "util/util_debug.h"
-
 CCL_NAMESPACE_BEGIN
 
 /* EdgeDice Base */
index 9dbfc1c4e2fb22a053bca2b5af103fb239ce503b..d3bed6a5c53e2dd0782f4836aed45a235944726d 100644 (file)
@@ -21,7 +21,6 @@
 #include "subd/subd_patch.h"
 #include "subd/subd_split.h"
 
-#include "util/util_debug.h"
 #include "util/util_math.h"
 #include "util/util_types.h"
 
index 9255279c5abfcd42d34dc38b5abd10cf043a2ca0..632c6ae35e7637e88efd6dd3d434ba7b753b6f8a 100644 (file)
@@ -20,8 +20,6 @@
 #include <cassert>
 #include <iostream>
 
-#include "util/util_static_assert.h"
-
 CCL_NAMESPACE_BEGIN
 
 /* Global storage for all sort of flags used to fine-tune behavior of particular
index 1abcabd5294831aad4889ebf78e7ea81cba509d0..87c1526dee4f5e3685350964f51e772e85148a87 100644 (file)
@@ -20,9 +20,6 @@
 #include <cstddef>
 #include <memory>
 
-#include "util/util_debug.h"
-#include "util/util_types.h"
-
 #ifdef WITH_BLENDER_GUARDEDALLOC
 #  include "../../guardedalloc/MEM_guardedalloc.h"
 #endif
index a0f9c66f979b7b9c0dd2d592367a9d9b0b6be4a2..751f52aaa8676fd17328c6f574c6925777831cb7 100644 (file)
@@ -18,7 +18,6 @@
 #define __UTIL_IMAGE_IMPL_H__
 
 #include "util/util_algorithm.h"
-#include "util/util_debug.h"
 #include "util/util_half.h"
 #include "util/util_image.h"
 
index bae5d5bd6d1944181e89ef686272c9595a87be66..0e0371928ab8954d0c7c433ea15824451ff5f6a4 100644 (file)
@@ -14,7 +14,6 @@
  * limitations under the License.
  */
 
-#include "util/util_debug.h"
 #include "util/util_md5.h"
 #include "util/util_path.h"
 #include "util/util_string.h"
index 58b3d267266aba2bca288593a61491363a76567c..f432fd7957a33807f28529f3d9c0aa0ea7685d52 100644 (file)
@@ -22,7 +22,6 @@
 
 #include <limits>
 
-#include "util/util_debug.h"
 #include "util/util_defines.h"
 
 /* SSE Intrinsics includes
index 2f1799a739e5207f4a3ce1bf19065bfb40233574..79a535bd1708a324d44fbb922746c0cce6007c07 100644 (file)
@@ -20,9 +20,6 @@
 #include <cstddef>
 #include <memory>
 
-#include "util/util_debug.h"
-#include "util/util_types.h"
-
 CCL_NAMESPACE_BEGIN
 
 /* Stack allocator for the use with STL. */
index 6ed97b0e0a63f27f40ea9c4bf72dcef02ef98744..9df1096de8a840ee92b70ff29b06957872e76510 100644 (file)
@@ -14,7 +14,6 @@
  * limitations under the License.
  */
 
-#include "util/util_debug.h"
 #include "util/util_foreach.h"
 #include "util/util_logging.h"
 #include "util/util_system.h"