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
2017-10-09Merge branch 'master' into blender2.8Campbell Barton
2017-10-08CMake: Re-order PYTHON_VERSION checkCampbell Barton
Missing paths would error first.
2017-10-07[cmake] Add minimum python version check to cmake to prevent later build errors.Ray Molenkamp
2017-10-06Merge branch 'master' into blender28Campbell Barton
2017-10-05CMake: use restrict w/ gcc, not clangCampbell Barton
2017-10-05CMake: add -Wrestrict for GCCCampbell Barton
2017-09-29Merge branch 'master' into blender2.8Campbell Barton
2017-09-28macOS: officially upgrade to 10.9 libraries from lib/darwin.Brecht Van Lommel
This removes a bunch of code that is no longer needed, and running "make update" will now automatically download the new libraries. Differential Revision: https://developer.blender.org/D2861
2017-09-28Merge branch 'master' into blender2.8Sergey Sharybin
2017-09-28CMake: move MSVC warnings to central locationCampbell Barton
2017-09-25Merge branch 'master' into blender2.8Sergey Sharybin
2017-09-22Remove quicktime supportAaron Carlisle
It has been deprecated since at least macOS 10.9 and fully removed in 10.12. I am unsure if we should remove it only in 2.8. But you cannot build blender with it supported when using a modern xcode version anyway so I would tend towards just removing it also for 2.79 if that ever happens. Reviewers: mont29, dfelinto, juicyfruit, brecht Reviewed By: mont29, brecht Subscribers: Blendify, brecht Maniphest Tasks: T52807 Differential Revision: https://developer.blender.org/D2333
2017-09-05Merge branch 'master' into blender2.8Campbell Barton
2017-09-03CMake: use Blender's glew by defaultCampbell Barton
Use since it's always bundled to avoid any issues caused by version mis-match.
2017-08-20CMake version bump: 3.5Jörg Müller
2017-08-19Audaspace: cmake fixes, lowering to 3.0 minimum required.Jörg Müller
2017-08-18CMake: Boost no longer needed for Audaspace references eitherJörg Müller
2017-08-18CMake: Boost no longer needed for AudaspaceCampbell Barton
2017-08-18Audaspace: Moving audaspace 1.3 into extern.Jörg Müller
Deleting the old internal audaspace. Major changes from there are: - The whole library was refactored to use C++11. - Many stability and performance improvements. - Major Python API refactor: - Most requested: Play self generated sounds using numpy arrays. - For games: Sound list, random sounds and dynamic music. - Writing sounds to files. - Sequencing API. - Opening sound devices, eg. Jack. - Ability to choose different OpenAL devices in the user settings.
2017-06-27Merge branch 'master' into blender2.8Campbell Barton
2017-06-27CMake: Only set CMAKE_BUILD_TYPE_INIT when not setCampbell Barton
Convenience makefile now uses CMAKE_BUILD_TYPE_INIT, this means you can change the build type of an existing build and it won't be overwritten when running `make`. Useful if you want to add debug info to a release build for profiling.
2017-06-19Depsgraph: Initial groundwork for copy-on-write supportSergey Sharybin
< Dependency graph Copy-on-Write > -------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || This is an initial commit of Copy-on-write support added to dependency graph. Main priority for now: get playback (Alt-A) and all operators (selection, transform etc) to work with the new concept of clear separation between evaluated data coming from dependency graph and original data coming from .blend file (and stored in bmain). = How does this work? = The idea is to support Copy-on-Write on the ID level. This means, we duplicate the whole ID before we cann it's evaluaiton function. This is currently done in the following way: - At the depsgraph construction time we create "shallow" copy of the ID datablock, just so we know it's pointer in memory and can use for function bindings. - At the evaluaiton time, the copy of ID get's "expanded" (needs a better name internally, so it does not conflict with expanding datablocks during library linking), which means the content of the datablock is being copied over and all IDs are getting remapped to the copied ones. Currently we do the whole copy, in the future we will support some tricks here to prevent duplicating geometry arrays (verts, edges, loops, faces and polys) when we don't need that. - Evaluation functions are operating on copied datablocks and never touching original datablock. - There are some cases when we need to know non-ID pointers for function bindings. This mainly applies to scene collections and armatures. The idea of dealing with this is to "expand" copy-on-write datablock at the dependency graph build time. This might introduce some slowdown to the dependency graph construction time, but allows us to have minimal changes in the code and avoid any hash look-up from evaluation function (one of the ideas to avoid using pointers as function bindings is to pass name of layer or a bone to the evaluation function and look up actual data based on that name). Currently there is a special function in depsgraph which does such a synchronization, in the future we might want to make it more generic. At some point we need to synchronize copy-on-write version of datablock with the original version. This happens, i.e., when we change active object or change selection. We don't want any actual evaluation of update flush happening for such thins, so now we have a special update tag: DEG_id_tag_update((id, DEG_TAG_COPY_ON_WRITE) - For the render engines we now have special call for the dependency graph to give evaluated datablock for the given original one. This isn't fully ideal but allows to have Cycles viewport render. This is definitely a subject for further investigation / improvement. This call will tag copy-on-write component tagged for update without causing updates to be flushed to any other objects, causing chain reaction of updates. This tag is handy when selection in the scene changes. This basically summarizes ideas underneath this commit. The code should be reasonably documented. Here is a demo of dependency graph with all copy-on-write stuff in it: https://developer.blender.org/F635468 = What to expect to (not) work? = - Only meshes are properly-ish aware of copy-on-write currently, Non-mesh geometry will probably crash or will not work at all. - Armatures will need similar depsgraph built-time expansion of the copied datablock. - There are some extra tags / relations added, to keep things demo-able but which are slowing things down for evaluation. - Edit mode works for until click selection is used (due to the selection code using EditDerivedMesh created ad-hoc). - Lots of tools will lack tagging synchronization of copied datablock for sync with original ID. = How to move forward? = There is some tedious work related on going over all the tools, checking whether they need to work with original or final evaluated object and make the required changes. Additionally, there need synchronization tag done in fair amount of tools and operators as well. For example, currently it's not possible to change render engine without re-opening the file or forcing dependency graph for re-build via python console. There is also now some thoughts required about copying evaluated properties between objects or from collection to a new object. Perhaps easiest way would be to move base flag flush to Object ID node and tag new objects for update instead of doing manual copy. here is some WIP patch which moves such evaluaiton / flush: https://developer.blender.org/F635479 Lots of TODOs in the code, with possible optimization. = How to test? = This is a feature under heavy development, so obviously it is disabled by default. The only reason it goes to 2.8 branch is to avoid possible merge hell. In order to enable this feature use WITH_DEPSGRAPH_COPY_ON_WRITE CMake configuration option.
2017-06-19CMake: Remove unused legacy depsgraph optionSergey Sharybin
We don't have legacy depsgraph anymore, no reason to keep the option.
2017-06-16Merge branch 'master' into blender2.8Sergey Sharybin
2017-06-16CMake: print absolute CMakeCache.txtCampbell Barton
Message didn't show the path of the file to remove which could be confusing.
2017-06-06CMake: Update clay engine messageDalai Felinto
2017-05-24Merge branch 'master' into blender2.8Campbell Barton
2017-05-24CMake: document that WITH_FFTW3 is also used for the ocean sim.Sybren A. Stüvel
2017-05-22Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/blenloader/intern/versioning_270.c
2017-05-22Fix/workaround GCC bug about -Wno-implicit-fallthroughSergey Sharybin
For some reason GCC-6 successfully compiles test program with -Wno-implicit-fallthrough passed via command line. It just silently ignores the unknown arguments which are starting with -Wno-. The issue is, if some other waning happens in the code, then GCC will complain about unknown -Wno- argument which is not supported by current GCC version. This makes some misleading warning prints about unknown command line argument when any other warning happens in code from extern/.
2017-05-20Merge branch 'master' into blender2.8Campbell Barton
2017-05-20CMake: Use GCC7's -Wimplicit-fallthrough=5Campbell Barton
Use to avoid accidental missing break statements, use ATTR_FALLTHROUGH to suppress.
2017-05-11Force core profile as main profileDalai Felinto
This removes a few options from CMake: * WITH_LEGACY_OPENGL * WITH_GL_PROFILE_COMPAT * WITH_GL_PROFILE_CORE We still have WITH_GL_PROFILE_ES20. So you can still alternate between ES20 and CORE profile (when es20 is disabled). If you want to explicitly see the stubs errors just define WITH_LEGACY_OPENGL.
2017-05-11Allow building the game engine with core profileDalai Felinto
Note: This is not about functionality, but about using the same stub file we are using in Blender for the game engine.
2017-05-11Fix typo in the CMakeFile messageSergey Sharybin
2017-05-02Merge branch 'master' into blender2.8Sergey Sharybin
2017-04-30fix typo in WITH_SYSTEM_GFLOG in CMakeLists.txtlazydodo
2017-04-27fix Clay compatibility commentMike Erwin
When building WITH_LEGACY_OPENGL, Mac uses GL 2.1, Mesa uses GL 3.0. Has nothing to do with Intel! Clay assumes GL 3.3 is available.
2017-04-27Merge branch 'master' into blender2.8Campbell Barton
2017-04-27Cleanup: spellingCampbell Barton
2017-04-25group WITH_LEGACY_OPENGL with the other GL optionsMike Erwin
Blender subsystems that care about OpenGL use GL_DEFINITIONS, which now includes the newest (temporary) WITH_LEGACY_OPENGL. Also updated Gawain's CMake to use this instead of its own logic.
2017-04-24Merge branch 'master' into blender2.8Campbell Barton
2017-04-23CMake: Fix CMake for non Apple systemsThomas Beck
Follow up to https://developer.blender.org/rB14a4ce6d7fb4dcf3d1aa5b58f9a543549df6d5dc apple_check_quicktime() macro is only defined for apple, so ignore it otherwise.
2017-04-23CMake: move some Apple specific code into platform_apple_xcode.cmake.Brecht Van Lommel
2017-04-22OpenGL: remove use of GLEW MXMike Erwin
MX (Multiple conteXt) support was dropped from the GLEW 2.0 library to make core profile support cleaner. Our WITH_GLEW_MX build option was OFF by default already; this commit removes the inactive code paths. I'm working on a plan for multiple GPUs, contexts, resource sharing, etc. This commit gives us a cleaner starting point for that upcoming work. Tested on Mac, will test on Linux & Windows immediately after pushing.
2017-04-21Merge branch 'master' into blender2.8Sybren A. Stüvel
2017-04-21CMake: Add option to build against system-wide GlogSergey Sharybin
Similar to previous commit for Gflags.
2017-04-21Merge branch 'master' into blender2.8Sybren A. Stüvel
2017-04-21CMake: Add option to link against system-wide Gflags librarySergey Sharybin
It is disabled by default, so should not affect existing configurations. Main benefits of this goes as: - Linux distros can use that to avoid libraries duplication and link blender package against gflags package from the system. - It it easier to test whether Blender works with updated version of Gflags prior to re-bundling the library.
2017-04-14Add fatal error in CMake when trying to build WITH_GAMEENGINE but without ↵Bastien Montagne
WITH_LEGACY_OPENGL This won't work currently.