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
AgeCommit message (Collapse)Author
2015-03-29Optionally use c++11 stuff instead of boost in cycles where possible. We do ↵Martijn Berger
and continue to depend on boost though Reviewers: dingto, sergey Reviewed By: sergey Subscribers: #cycles Differential Revision: https://developer.blender.org/D1185
2014-12-31Cycles: Post-reintegration tweaks to ensure things do compileSergey Sharybin
This commit contains all the tweaks which were missing in initial patch re-integration from the standalone Cycles repository. This commit also contains an utility cmake macro to help linking targets with different libraries for release/debug builds, the name currently is target_link_libraries_decoupled it gets a target and list of libraries and makes sure debug builds are using libraries with "_d" suffix. After all this changes it'll hopefully be easier to interchange patches between blender and standalone repositories, because they're now quite identical.
2014-12-31Cycles: Correction to previous SSE/AVX flags detectionSergey Sharybin
Ensure AVX/AVX2 is not used when Cycles is configured with WITH_CPU_SSE set to OFF.
2014-12-31Cycles: Be ready for gflags namespace auto-detectSergey Sharybin
This way it is now possible to use gflags >= 2.1, where all the functions were moved from google to gflags namespace. This isn't currently used in blender, but for standalone repository this change is essential.
2014-12-31Cycles: Fix compilation error with compilers which doesn't support AVXSergey Sharybin
For SSE checks still could be decoupled to be able to compile SSE2 kernel and not SSE4 depending on the CPU or so.
2014-12-31Cycles: Fully support WITH_CYCLES_LOGGING optionSergey Sharybin
This commit generalizes logging module a little bit in making it possible to use Glog logging in standalone Cycles repository.
2014-12-31Cycles: Fix compilation error when OIIO is compiled with external PugiXML parserSergey Sharybin
Basic idea is to check whether OIIO is compiled with embedded PugiXML parser and if so use PugiXML from OIIO, otherwise find a standalone PugiXML library.
2014-12-31Cycles: Synchronize changes with standalone repositorySergey Sharybin
This changes were done in original commit of the standalone Cycles repository and needed here for easier patch synchronization.
2014-12-02Cycles: Use lock in the memory statisticsSergey Sharybin
CPU rendering is allowed to allocate memory from multiple threads, which means statistics need to be avare of this.
2014-10-15Futher tweaks to WITH_CPU_SSE optionSergey Sharybin
Explicitly disable SSE kernels in Cycles when this option is used.
2014-10-08Cycles: enable double promotion warning /w gccCampbell Barton
2014-10-04Cycles: Add support for debug passesSergey Sharybin
Currently only summed number of traversal steps and intersections used by the camera ray intersection pass is implemented, but in the future we will support more debug passes which would help checking what things makes the scene slow. Example of such extra passes could be number of bounces, time spent on the shader tree evaluation and so. Implementation from the Cycles side is pretty much straightforward, could only mention here that it's a build-time option disabled by default. From the blender side it's implemented as a PASS_DEBUG with several subtypes possible. This way we don't need to create an extra DNA pass type for each of the debug passes, saving us a bits. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D813
2014-09-25Cycles: Add support of Glog loggingSergey Sharybin
This commit makes it possible to use Glog library for the debug logging. For now only possible when using CMake and in order to use the logging the WITH_CYCLES_LOGGING configuration variable is to be enabled. When this option is not enabled or when using Scons there's no difference in Cycles behavior at all, when using logging and no output to the console impact is gonna to be minimal. This is done in order to make it possible to have debug logging persistent in code (without need to add it when troubleshooting some bug and removing it afterwards). For now actual logging is not placed yet, only all the functions needed for the logging are written and so.
2014-06-28Cycles: use SYSTEM for external includesCampbell Barton
2014-06-17Cycles: only use -fno-rtti with OSL (conflicts with -fsanitize=vptr)Campbell Barton
2014-06-14Cycles: Fix compilation error of AVX2 kernel with GCC/ClangSergey Sharybin
2014-06-14Cycles: Add an AVX2 CPU kernel.Thomas Dinges
This kernel is compiled with AVX2, FMA3, and BMI compiler flags. At the moment only Intel Haswell benefits from this, but future AMD CPUs will have these instructions as well. Makes rendering on Haswell CPUs a few percent faster, only benchmarked with clang on OS X though. Part of my GSoC 2014.
2014-05-03Fix '-Werror=float-conversion' error with gcc < 4.9, for CMakeBastien Montagne
Scons is still TODO.
2014-05-03Code cleanup: Add -Werror=float-conversion to CyclesCampbell Barton
2014-03-31Cycles: fix 3-5% performance regression in msvc builds caused by a typo in ↵Sv. Lockal
stackchecking flags.
2014-03-27CMake: disable SSE flags if gcc/clang don't supportCampbell Barton
2014-03-13Code cleanup: cmakeCampbell Barton
2014-02-03Cycles: enable /arch:AVX in msvc 11 and later versions for avx kernelSv. Lockal
This enables VEX-encoding in AVX kernel for windows msvc builds and gives 5-10% speedup for different scenes. Reviewers: juicyfruit, dingto, brecht Reviewed By: brecht CC: brecht Differential Revision: https://developer.blender.org/D284
2014-01-29Scons: refactor cycles kernel code to avoid building the AVX kernel withBrecht Van Lommel
compilers that don't support it. CMake still needs to updated to work the same for consistency, but this should fix the OS X buildbot at least.
2014-01-27Revert recent OpenEXR cmake/linux fix and earlier OS X fix to use GCC for AVX.Brecht Van Lommel
Both need a better solution and break working builds.
2014-01-27Attempt to fix T38373: cmake linux build failure with OpenEXR.Brecht Van Lommel
2014-01-21Cycles Standalone: GUI flag was not passed correctly to the code, own ↵Thomas Dinges
mistake when I added the GUI build option.
2014-01-20Cycles: Add a cmake config to easily compile Cycles Standalone.Thomas Dinges
On Linux/Mac OS X, simply type "make cycles" inside the Blender source directory, to get a standalone build of the engine. Reviewed by: Brecht Differential Revision: https://developer.blender.org/D228
2014-01-16Fix compilation of Cycles AVX kernel with cmake.Thomas Dinges
2014-01-16Cycles: Add an AVX kernel for CPU rendering.Thomas Dinges
* AVX is available on Intel Sandy Bridge and newer and AMD Bulldozer and newer. * We don't use dedicated AVX intrinsics yet, but gcc auto vectorization gives a 3% performance improvement for Caminandes. Tested on an i5-3570, Linux x64. * No change for Windows yet, MSVC 2008 does not support AVX. Reviewed by: brecht Differential Revision: https://developer.blender.org/D216
2014-01-14Cycles: Skip the compilation of the dedicated SSE2 kernel on x86-64, we can ↵Thomas Dinges
assume SSE2 here, so just re-use the regular one. Saves 500kb in the blender binary. Reviewed by: brecht Differential Revision: https://developer.blender.org/D199
2013-11-28Cycles: experimental OpenSubdiv code.Brecht Van Lommel
This code can't actually be enabled for building and is incomplete, but it's here because we know we want to support this at some point and there's not much reason to have it in a separate branch if a simple #ifdef can disable it.
2013-11-28Cycles: experimental OSL ptex reading code.Brecht Van Lommel
This code can't actually be enabled for building and is incomplete, but it's here because we know we want to support this at some point and there's not much reason to have it in a separate branch if a simple #ifdef can disable it.
2013-11-22Cycles: test code for sse 4.1 kernel and alignment for some vector types.Martijn Berger
This is mostly work towards enabling the __KERNEL_SSE__ option to start using SIMD operations for vector math operations. This 4.1 kernel performes about 8% faster with that option but overall is still slower than without the option. WITH_CYCLES_OPTIMIZED_KERNEL_SSE41 is the cmake flag for testing this kernel. Alignment of int3, int4, float3, float4 to 16 bytes seems to give a slight 1-2% speedup on tested systems with the current kernel already, so is enabled now.
2013-08-31Cleanup:Thomas Dinges
* Silence /arch:SSE2 warning on msvc x64.
2013-08-27Cycles / Standalone:Thomas Dinges
* Rename test to standalone. Note: New CMAKE flag is WITH_CYCLES_STANDALONE.
2013-08-05Fix wrong cycles cmake + msvc build flags with relwithdebinfo and minsizerel.Brecht Van Lommel
Patch by Karsten Schwenk.
2013-07-07Arrempt to fix Cycles compilation with ClangSergey Sharybin
Issue is caused by missing sse flags for Clang compilers, this flags only was set for GNU C compilers. Added if branch for Clang now, which contains the same flags apart from -mfpmath=sse, This is because Clang was claiming it's unused argument. Probably OSX would need some further checks since it's also using Clang. I've got no idea why it could have worked for OSX before..
2013-06-19Cycles: optimized SSE BVH traversal now also works with SSE2 CPUs, so all theBrecht Van Lommel
way back to Pentium 4, using a slightly less efficient instruction. Also ensure /Ox is used for Visual Studio for RelWithDebInfo builds.
2013-06-19Fix for Debug build on MSVC2008 and MSVC2012 after Cycles Kernel optimization:Jürgen Herrmann
Compiler optimization was accidentally set to /Ox for debug build too. Changed this to be /Od in Debug and /Ox in Release mode.
2013-06-18Cycles: attempt to fix internal compile error with some visual studio buildsBrecht Van Lommel
2013-06-18Cycles / BVH:Thomas Dinges
* GCC needs -mssse3 compile flag too (4.7.2) to compile.
2013-02-04Fix cycles intersection issue with overlapping faces on windows 32 bit and CPUBrecht Van Lommel
without SSE3 support, due to 80 bit precision float register being used for one bounding box but not the one next to it.
2013-01-31Fix cycles windows link errors when building with OSL master branch.Brecht Van Lommel
2013-01-14Remove usage WITH_CYCLES_CUDA_BINARIES in code, use check forSergey Sharybin
precompiled cubins instead, Logic here is following now: - If there're precompiled cubins, assume CUDA compute is available, otherwise - If cuda toolkit found, assume CUDA compute is available - In all other cases CUDA compute is not available For windows there're still check for only precompiled binaries, no runtime compilation is allowed. Ended up with such decision after discussion with Brecht. The thing is, if we'll support runtime compilation on windows we'll end up having lots of reports about different aspects of something doesn't work (you need particular toolkit version, msvc installed, environment variables set properly and so) and giving feedback on such reports will waste time.
2012-12-21Cycles: merge some changes from a local branch to bring network rendering a bitBrecht Van Lommel
more up to date, still nowhere near working though, but might as well commit this in case someone else is interested in working on it.
2012-11-29Fix compile error with clang.Daniel Genrich
Patch by sambler via irc
2012-11-26-fno-rtti is a gcc option which gives a warning when using MSVCJason Wilkins
2012-11-09Cycles / CMake:Thomas Dinges
* Removed PARTIO building code, partio code was removed already. * Include "app" dir only when building with CYCLES_TEST enabled.
2012-10-20Cycles OSL: some build system tweaks to avoid global includes and definitions,Brecht Van Lommel
which ensures there is no conflict with other libraries, and avoids full rebuild when toggling OSL on/off.