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
2019-06-19Cleanup: style, indentationCampbell Barton
2019-06-15Cmake: Add `WINDOWS_USE_VISUAL_STUDIO_SOURCE_FOLDERS` optionmano-wii
This allows grouping files in a filter corresponding to the source files name. Differential Revision: https://developer.blender.org/D5077
2019-06-15Cmake: rename `WINDOWS_USE_VISUAL_STUDIO_FOLDERS` option to ↵mano-wii
`WINDOWS_USE_VISUAL_STUDIO_PROJECT_FOLDERS`. Suggested by @LazyDodo
2019-05-27cmake/msvc: Repress MSVC template warning C4661Ray Molenkamp
Draco emits about 60 of these, consulted with brecht before repressing them.
2019-05-08CMake: Add support of Ninja's pools to ease building on limited amount of RAM.Bastien Montagne
Many modern computers support a lot of threads (parrallel building jobs), but are somewhat restricted in memory, when some building jobs can require several GB each. Ninja builder has pools, which extend the usual `-j X` make parallelizing option, by allowing to specify different numbers of parallel jobs for different targets. This commit defines three pools, one for linking, one for usual compile, and one for compiling some 'heavy' cpp libs, when a single file can require GB of RAM in full debug builds. Simply enabling WITH_NINJA_POOL_JOBS will try to set default sensible values for those three pools based on your machine specifications, you can then tweak further the values of NINJA_MAX_NUM_PARALLEL_ settings, if you like. On my system (8 cores, 16GB RAM), it allows to build a full debug with all ASAN options build with roughly 7GB of RAM used at most, pretty much as quickly as without that option (which would require up to 11GB of available RAM at some points). Review task: D4780.
2019-04-23Fix building with asan option and OSL.Bastien Montagne
When OSL is enabled, Cycles disables RTTI in some of its modules, which then breaks vptr sanitizer (part of the 'undefined' sanitizer). thanks to @brecht for helping tracking down the issue.
2019-04-18Cleanup: remove last bits of WITH_LEGACY_DEPSGRAPH CMake option.Bastien Montagne
Legacy depsgraph has been removed from Blender since several months already...
2019-04-17Cleanup: use 2 space indentation for CMakeCampbell Barton
2019-04-12Build system: disable Draco when not installing python.Bastien Montagne
Draco py binding needs to be installed somewhere, when not installing Python itself it's breaking the installation (since it creates a fake empty py install, which will crash when trying to start Blender). We could fix that in some smarter way maybe, but for now it's simpler to just not care about Draco when we are not installing Python.
2019-04-11glTF: add Draco shared library for mesh compression.Benjamin Schmithüsen
Draco is added as a library under extern/ and builds a shared library that is installed into the Python site-packages. This is then loaded by the glTF add-on to do mesh compression. Differential Revision: https://developer.blender.org/D4501
2019-04-11Cleanup: suppress some warnings in external libraries.Brecht Van Lommel
2019-03-22Merge branch 'blender2.7'mano-wii
Conflicts: CMakeLists.txt
2019-03-22MSVC: add C4115 and C4189 warnings.mano-wii
This matches the warnings of the other compilers commonly used in Blender.
2019-02-05Cleanup: remove contributors for CMake filesCampbell Barton
Following removal from C source code. See: 8c68ed6df16d8893
2019-02-04Python: bump minimum version to 3.7Campbell Barton
All platforms use 3.7 now, supporting both increases chance some scripts will fail on older versions.
2019-01-26Merge branch 'blender2.7'Brecht Van Lommel
2019-01-26macOS: add support for OpenMP, making smoke/fluid/cloth simulations faster.Arto Kitula
This bring macOS on par with Windows and Linux. It uses the OpenMP library added to our precompiled libraries. Custom flags are set because FindOpenMP from CMake below 3.12 does not support AppleClang, and more recent versions do not work with our custom directory location either. Differential Revision: https://developer.blender.org/D4257
2019-01-18Merge branch 'blender2.7'Brecht Van Lommel
2019-01-18Cleanup: remove unnecessary CUDA architecture sm_72, it's for Tegra chips.Brecht Van Lommel
2019-01-06Fix T60187: Latest couple of builds fail to run, need libGLX.so.0Sergey Sharybin
2019-01-03Don't link against GLU librarySergey Sharybin
We are core profile now, no need to link against GLU. This change makes it so Blender binary is not dependent on liGLU.so. That was a weird thing that Blender was dependent on it, but was not using any functions from it.
2018-12-14Merge branch 'master' into blender2.8Sergey Sharybin
2018-12-14CMake: Fixes for OpenGL library preferencesSergey Sharybin
Prefer legacy OpenGL library, for the compatibility and portability reasons. Also use proper OpenGL libraries to be linked against, so we can change preference to GLVND.
2018-12-04Merge branch 'master' into blender2.8Brecht Van Lommel
2018-12-04Cycles: add initial CUDA 10.0 support, but only recommend use for Turing cards.Brecht Van Lommel
There may still be rendering errors when used for older graphics cards.
2018-11-30Merge branch 'master' into blender2.8Brecht Van Lommel
2018-11-30Fix T58275: WITH_OPENSUBDIV not enabled by default with some CMake versions.Brecht Van Lommel
Solution provided by Ulysse Martin.
2018-11-29add: visual studio Compiler warning (order of attribute init in c++ ↵Gaia Clary
constructors)
2018-11-29add: visual studio Compiler warning (order of attribute init in c++ ↵Gaia Clary
constructors)
2018-11-27Fix T58088: OpenSubdiv not enabled by default in macOS builds.Brecht Van Lommel
2018-11-26Enable OpenSubdiv modifier by defaultSergey Sharybin
This commit makes it so that subsurf/multires modifiers will respect the WITH_OPENSUBDIV option. The WITH_OPENSUBDIV_MODIFIER option is now gone. For artists it mean that subsurf modifier will behave same as it is planned for 2.80. Multires will now support sculpting, but it has some known limitations. Those will be worked on before the final release. If OpenSubdiv is disabled, no subsurf/multires functionality will present. For the details see: https://wiki.blender.org/wiki/Reference/Release_Notes/2.80/Modeling#Subsurf.2FMultires
2018-11-26Merge branch 'master' into blender2.8Sergey Sharybin
2018-11-26CMake: Remove Cycles specific OpenSubdiv optionsSergey Sharybin
Just use one flag which enables OpenSubdiv globally for all the areas of Blender.
2018-11-07Merge branch 'master' into blender2.8Stefan Werner
2018-11-07Cycles: Added Embree as BVH option for CPU renders.Stefan Werner
Note that this is turned off by default and must be enabled at build time with the CMake WITH_CYCLES_EMBREE flag. Embree must be built as a static library with ray masking turned on, the `make deps` scripts have been updated accordingly. There, Embree is off by default too and must be enabled with the WITH_EMBREE flag. Using Embree allows for much faster rendering of deformation motion blur while reducing the memory footprint. TODO: GPU implementation, deduplication of data, leveraging more of Embrees features (e.g. tessellation cache). Differential Revision: https://developer.blender.org/D3682
2018-10-22Merge remote-tracking branch 'origin/master' into blender2.8Ray Molenkamp
2018-10-22Windows: Enable python debugging in Visual Studio.Ray Molenkamp
see D3817 for technical details, and https://wiki.blender.org/wiki/Tools/Debugging/Python_Visual_Studio for a end user quick-start guide. Differential Revision: https://developer.blender.org/D3817
2018-09-28CMake: Default to C11 for Clang and GCCSergey Sharybin
The option WITH_C11 is gone, and C++ is defaulting to C++11 now, so guess it's fine to assume we need C11 now. This is technically what we use anyway, with all the re-definitions of structs (like when we typedef anonymous struct in a header file first, and them define it to a proper structure in implementation file).
2018-09-26Merge branch 'master' into blender2.8Campbell Barton
2018-09-25CMake: Repress deprecation warnings with MSVC.Ray Molenkamp
2018-09-18CMake: remove PYTHON_NUMPY_INCLUDE_DIRS as a cache variable on macOS/Windows.Brecht Van Lommel
It's in a fixed location on those platforms, and having it as a cache variable just means things break when we upgrade to a new Python version.
2018-09-12Merge branch 'master' into blender2.8Campbell Barton
2018-09-11Build: require OpenJPEG 2.x minimum, remove bundled version.Brecht Van Lommel
* WITH_SYSTEM_OPENJPEG is removed and is now always on, this was already the case for macOS and Windows. * This should not break existing Linx builds. If there is no new enough OpenJPEG installed, CMake will no find libopenjp2 and WITH_IMAGE_OPENJPEG will be disabled. * install_deps.sh was updated with new package names, since distributions put this version in a new package. Differential Revision: https://developer.blender.org/D3663
2018-09-03Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/blenkernel/intern/collision.c
2018-09-03Spelling fixes in comments and descriptions, patch by luzpaz.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3668
2018-08-29MSVC: Set the warning C4189 from level 4 to level 3mano-wii
This is a useful warning and there is an equivalent used in `GNUC` and `clang` compilers. Reviewed on IRC by @brecht and @LazyDodo
2018-08-28Merge branch 'master' into blender2.8Brecht Van Lommel
2018-08-28cmake: adjustments required for lib-upgrade on windows.Ray Molenkamp
2018-08-23Merge branch 'master' into blender2.8Bastien Montagne
2018-08-23Cycles: Add option for building CUDA kernels sequentiallyLukas Stockner
Building the CUDA kernels takes quite a bit of memory, and when building all of them the combined usage can be too much on some systems (especially VMs). Therefore, this patch adds an option to force the build system to build them sequentially by making each build step depend on the previous kernel. Reviewers: brecht, sergey Differential Revision: https://developer.blender.org/D3623