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
2016-07-18[MSVC/LNK4199/Cleanup] Delay loading is causing linker warnings.Ray Molenkamp
We recently added delay-loading of the openmp dll's so we no longer had to use the stub loader, we however put these linker flags on the global linker flags causing any sub projects not using openmp to spit linker warning 4199 while building, ``` Warning LNK4199 /DELAYLOAD:vcomp140.dll ignored; no imports found from vcomp140.dll datatoc k:\BlenderGit\build_windows_2015a\source\blender\datatoc\LINK 1 ``` This patch makes the delay-load only apply to the blender project. Reviewers: sergey Subscribers: sergey Tags: #bf_blender Differential Revision: https://developer.blender.org/D2092
2016-07-14CMake: per-target CFLAG & CXXFLAG supportCampbell Barton
Applying cflags globally can be problematic especially with extern, intern libs. Now flags from target named will be used when defined, allowing for developers to define flags for modules they maintain. Convention is CMAKE_CFLAGS_${UPPERCASE_TARGET_NAME}, (CXXFLAGS for C++). eg: CMAKE_CFLAGS_BF_BLENDER, CMAKE_CFLAGS_MAKESDNA, CMAKE_CXXFLAGS_CYCLES_KERNEL On Linux run `make help` for full list of names, MSVC shows these in the solution.
2016-07-12Revert "OpenJPEG: update to 2.1 from 1.5"Sergey Sharybin
This reverts commit f12204196fb1ee985ab9745cf9c70877601145f9. Campbell, sorry. have to revert this for the time being. We've missed some very important bits, such as: - FFmpeg is usually linked against OpenJPEG - OIIO needs OpenJPEG as well. For FFmpeg issues we can either disable OpenJPEG there (since we don't really use it), or bump FFmpeg to version 3.1.1 which can use either of OpenJPEG 1.5 or 2.1. For OIIO we do need OpenJPEG support (otherwise Cycles will not be able to use j2k/j2c textures) and currently there is NO solution to make OIIO working with OpenJPEG 2.1. According to Matthias Fauconneau (aka mfv) Larry is working on the patch to get OIIO work with OpenJPEG 2.1, but it'll take some time still. I've tried to look into support of some sort of build system flag and do ifdefs, but it all becomes quite nasty, especially with bundled OpenJPEG bumped to 2.1. Surely such an update is something we'll have to apply to but at this exact moment it causes quite some pain for all developers. Suggest to wait for until OIIO supports OpenJPEG 2.1 and then go with the updates for real.
2016-07-12OpenJPEG: update to 2.1 from 1.5Campbell Barton
Stream handling has changed so this required changes to how files & memory are accessed.
2016-07-03Update pacman pkgbuildCampbell Barton
2016-07-02Install Deps: Use OSL 1.7.3, latest bugfix release.Thomas Dinges
2016-06-11BGE: DeckLink card support for video capture and streaming.Benoit Bolsee
You can capture and stream video in the BGE using the DeckLink video cards from Black Magic Design. You need a card and Desktop Video software version 10.4 or above to use these features in the BGE. Many thanks to Nuno Estanquiero who tested the patch extensively on a variety of Decklink products, it wouldn't have been possible without his help. You can find a brief summary of the decklink features here: https://wiki.blender.org/index.php/Dev:Source/GameEngine/Decklink The full API details and samples are in the Python API documentation. bge.texture.VideoDeckLink(format, capture=0): Use this object to capture a video stream. the format argument describes the video and pixel formats and the capture argument the card number. This object can be used as a source for bge.texture.Texture so that the frame is sent to the GPU, or by itself using the new refresh method to get the video frame in a buffer. The frames are usually not in RGB but in YUV format (8bit or 10bit); they require a shader to extract the RGB components in the GPU. Details and sample shaders in the documentation. 3D video capture is supported: the frames are double height with left and right eyes in top-bottom order. The 'eye' uniform (see setUniformEyef) can be used to sample the 3D frame when the BGE is also in stereo mode. This allows to composite a 3D video stream with a 3D scene and render it in stereo. In Windows, and if you have a nVidia Quadro GPU, you can benefit of an additional performance boost by using 'GPUDirect': a method to send a video frame to the GPU without going through the OGL driver. The 'pinned memory' OGL extension is also supported (only on high-end AMD GPU) with the same effect. bge.texture.DeckLink(cardIdx=0, format=""): Use this object to send video frame to a DeckLink card. Only the immediate mode is supported, the scheduled mode is not implemented. This object is similar to bge.texture.Texture: you need to attach a image source and call refresh() to compute and send the frame to the card. This object is best suited for video keying: a video stream (not captured) flows through the card and the frame you send to the card are displayed above it (the card does the compositing automatically based on the alpha channel). At the time of this commit, 3D video keying is supported in the BGE but not in the DeckLink card due to a color space issue.
2016-06-10Install_deps: add '--no-build' option to prevent compiling anything.Bastien Montagne
2016-06-08Buildobt: Update master configSergey Sharybin
2016-06-08Buildbot: Give 2015 builds different nameSergey Sharybin
2016-06-08Buildbot: Trickery for MSVC2015 and NVCCSergey Sharybin
2016-06-07Cuda 7.5 cannot be made to work with a supported cl.exe version in the same ↵Martijn Berger
way as cuda 6.0 does allow, disabling cuda kernels on buildbot for now
2016-06-07Cuda 7.5 cannot be made to work with a supported cl.exe version in the same ↵Martijn Berger
way as cuda 6.0 does allow, disabling cuda kernels on buildbot for now
2016-06-07readfile: optimization for undoCampbell Barton
Was using O(n^2) lookup on ID's with undo. This caused undo to hang with 1000's of data-blocks (especially with heavy scenes & outliner-space, which doesn't even need to be visible to cause a slow-down). Internally this uses a ghash per id-type, which is lazy-initialized. Each key uses the name and library since there may be name collisions between libraries. Developer Notes: - Adds small `BKE_main_idmap_*` API. - Needed to change linking order for this to build.
2016-06-04buildbot work around cuda / msvc compatibility issues attempt 2/ passing a ↵Martijn Berger
string from python to cmake to nvcc is harder then it looks
2016-06-04buildbot work around cuda / msvc compatibility issuesMartijn Berger
2016-05-31Buildbot: Attempt to fix buildbot after recent changeSergey Sharybin
2016-05-31Buildbot: Use proper list management functionSergey Sharybin
Spotted by Campbell, thanks!
2016-05-31Buildbot: Pass proper generator for MSVC 2015 builderSergey Sharybin
2016-05-30CMake: Workaround to get Libmv compiled with latest GccSergey Sharybin
2016-05-24ndof: build system cleanupMike Erwin
Only Linux needs a lib linked in (libspnav). ghostndof3dconnexion refers to an obsolete Mac driver shim.
2016-05-22Code refactor: add generic Cycles node infrastructure.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D2016
2016-05-22CMake: Solve compilation error with pre-compiled libraries and new GCC-6Sergey Sharybin
Since version 6 G++ switched to C++11 by default, which breaks some logic around WITH_CXX11 checks in out CMake files, leading to compilation errors. This is easy to solve by explicitly enabling older C++ standard when C++11 was not explicitly enabled by CMake options. However, G++-6 will also use new ABI by default even if older standard was specified in the compiler options. This is being addressed by a special define flag. This tricks made it possible to use new G++-6 without need to recompile any of pre-compiled libraries. However, this might break compilation with existing system libraries, which might already be using new ABI. We can't address this automatically, so now we simply default WITH_C11 and WITH_CXX11 options to whatever defaults of the current compiler are. This means, for G++-6 we'll set WITH_CXX11 to truth. This should make linking with system libraries working just fine, but to make pre-compiled libraries we still might need to disable CXX11. This should work fine work for a new environments with G++-6 and install_deps script run from scratch there, because C++ standard will be the same for both Blender dependencies and Blender itself.
2016-05-19CMake: use signed char for recastnavigationCampbell Barton
External libraries may need char to be signed.
2016-05-13install_deps: Avoid conflicts on Arch-based systems when gcc-multilib is ↵Mai Lavelle
installed install_deps can fail due to conflict between gcc (referenced by base-devel) and gcc-multilib if the latter is installed. This avoids the conflict by filtering the contents of base-devel when needed. Reviewers: mont29 Differential Revision: https://developer.blender.org/D1944
2016-05-10CMake: optional date/time overrides for reproducible buildsCampbell Barton
2016-05-09Buildbot: Attempt to make sure install folder is always clean for Win and OSXSergey Sharybin
2016-04-29Cleanup: warnings. spellingCampbell Barton
2016-04-29install_deps: add support for OpenVDB.Ejner Fergo
Note that recent DEB-based distro have packages for this, even simpler! Differential Revision: https://developer.blender.org/D1933
2016-04-29install_deps: add check for glew version, too old ones are not compatible ↵Ejner Fergo
with OSD. In case too old system glew is detected, use the one shipped with blender. Part of D1933.
2016-04-29install_deps: bunch of cleanups, tweaks and micro-fixes.Ejner Fergo
This commit mostly: * removes some (very) old messages or hacks (like those for ubuntu 10.4...). * Moves lib-specific dependencies installations to upper level (simpler to manage, and those are small enough packages). * Uses new dnf package manager for fedora (sigh, we now have tree different commands for fed/suse/rehl). * fixes or enhances some options for commandline tools. * Force anew building of oiio package, due to insane dependencies of this one in recent distro. Part of D1933.
2016-04-25Refactor BKE_blender into separate headersCampbell Barton
- BKE_blender_version.h (only version defines & versionstr). - BKE_blender_copybuffer.h (currently only used for view3d copy/paste). - BKE_blender_undo.h (global undo functions). - BKE_blendfile.h (high level blend file read/write API).
2016-04-23Cleanup: cmakeCampbell Barton
2016-04-22Silence some annoying warnings when doing full build with strict flagsSergey Sharybin
This mainly touches extern libraries and few debug-only places in intern. Some summary: - External libraries are not strict at all about missing declarations, so we can rather safely remove such warning together with other strict flags. - Bullet has some static functions which are not used. Those were commented out. - Carve now has some unused debug-only functions commented out as well. While we're on the way of getting rid of Carve, it makes sense to make things a bit cleaner for the time being. - In LZMA we have some parts disabled which gives some set but unused variables which is rather correct. - Elbeem had quite some variables set and never used because their usage is inside of debug-only code which is commented out. Note about patching upstream libraries: surely one might say that we have to make local patchset against this, but own experience says it only gives extra work trying to merge such tweaks to a new upstream version and usually it's just faster to re-apply such fixes again after bundling new upstream library.
2016-04-21Update install_deps.sh for ArchLinux.Ejner Fergo
The script is updated for ArchLinux, since all dependencies are included in Arch's official repositories. I've made a few changes, such as enabling OCIO and OSD without requiring locally installed lib-path, and a fix to ''get_package_version_ARCH()' so it ignores package epoch (as in the case of ffmpeg). I intend to look at OpenVDB next. Reviewers: mont29 Differential Revision: https://developer.blender.org/D1901
2016-04-15Add lib for n-dimensional cubic curve fittingCampbell Barton
This will be used for calculating bezier curves from freehand drawing, may be used for other areas too. Original code from GraphicsGems, 1990 (FitCurve.c), with updates from OpenToonz, under 3 clause BSD license. with own minor modifications for integration with Blender: - support adding extra custom-data. - improved handle clamping.
2016-04-12CMake: consistency check now reports stale ignoresCampbell Barton
Also update ignore list.
2016-04-12Remove exception for file which no longer existsSergey Sharybin
2016-04-12CMake: ignore headerCampbell Barton
2016-04-01Buildbot: Explicitly disable tests on all platformsSergey Sharybin
They were never running anyway since there's no checkout of tests folder. We should either make tweaks to buildbot master to make it to send cloning commands for tests folder and keep tests working (currently some of them are broken).
2016-04-01Cleanup: style/spellingCampbell Barton
2016-03-30CMake cleanup target_link_libraries_decoupledMartijn Berger
2016-03-29Buildbot: Attempt to work-around unsupported clang on OSX machineSergey Sharybin
Ideally this would need to be fixed by nvcc itself. but they didn't do that for a long time.
2016-03-26Fix T47939, take II: Check clang package version, not llvm-devel one.Bastien Montagne
Looks like some distro still provide llvm-3.4-devel, while no more clang-3.4. Since clang depends on llvm of same version, check clang only should ensure us we also have matvhing llvm... *sigh*
2016-03-26Fix T47939: Install Deps OSL 1.7.1 and clang-3.5Bastien Montagne
Until we officially support llvm3.5 or more, only allow for 3.4 llvm packages, and build own stuff otherwise...
2016-03-25CMake: Disable Cycles OSL for the light configurationSergey Sharybin
While it was indirectly disabled already, it's handy to use the config as template and enable certain features. In case of Cycles enabling it would also enable OSL which is not very expected.
2016-03-15CMake: remove unused libpath'sCampbell Barton
Also add note that these should be deprecated in favor of absolute libs.
2016-03-11CMake: Avoid call of find_package(Git) for every compile with buildinfo enabledSergey Sharybin
This is a bit tricky, find_package(Git) was only used to check if git is installed and actual git command was assumed to be in the PATH (while ideally it should have been GIT_COMMAND variable). This commit makes re-compile output cleaner, especially when using Ninja. Adding proper GIT_COMMAND to buildinfo.cmake is also possible via argument. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D1847
2016-03-10Install-Deps: Build Boost with iostreams.Jeffrey Hoover
This patch enables libboost_iostreams and bumps the magic number to match. Reviewers: dingto Reviewed By: dingto Subscribers: dingto Projects: #bf_blender, #platform:_linux Differential Revision: https://developer.blender.org/D1840
2016-03-03CMake: Remove redundant print of Git Found messageSergey Sharybin
find_package(Git) will already print this.