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
path: root/intern
AgeCommit message (Collapse)Author
2019-11-18GHOST: Only spam about X11 errors when using --debug-ghostSergey Sharybin
This commit adds a new command line argument --debug-ghost and makes it so X11 errors happening during context initialization are only printed when this new flag is sued. There is no need to flood users with errors when their GPU is not supporting latest OpenGL version. Or, at a very minimum, the error must be more meaning full. Differential Revision: https://developer.blender.org/D6057
2019-11-16Fix a bug in the T34039 hack in case when a modifier key is not mapped.Alexander Gavrilov
In order to recover from a transient Focus Out - Focus In disruption in the middle of a shortcut, which can be caused by certain window managers, Blender has code that checks which modifier keys are pressed after Focus In and restores the modifier state based on that. If one of the Ctrl, Shift, Alt, Super keys is not mapped anywhere in the active keyboard layout, XKeysymToKeycode returns the invalid zero keycode, and reading the key state produces garbage, which can cause an invalid modifier state. Check the return value to avoid this.
2019-11-15Merge branch 'blender-v2.81-release'Julian Eisel
2019-11-15Fix T70991: Maximized file browser hides file name bar on WindowsJulian Eisel
`WS_CHILD` is a different kind of child window that what we define as child window. See http://forums.codeguru.com/showthread.php?491604. Setting this style flag seems to mess things up a bit in our configuration. The name bar is actually being overlapped by the Windows task bar then. Not totally sure why this happens, but I think it's because windows with the `WS_CHILD` style are positioned relative to the parent, not the desktop (screen without taskbar). So it uses the full space available when maximized, which isn't clipped by the taskbar anymore.
2019-11-13Merge branch 'blender-v2.81-release'Campbell Barton
2019-11-13Cycles: OpenCL PerformanceJeroen Bakker
When using OpenCL with Cycles the rendering time increased substantial. After doing some tests the bottleneck was found in 4d voronoi and 2d and 3d smooth voronoi. This change will hide these behind a specific compile directive so the speed will improve. AMD RX480 + BMW scene 2.80 (3:10) 2.81 (5:48) 2.81 excluding 4d voronoi+2d/3d smooth (3:50) Reviewed By: sergey Differential Revision: https://developer.blender.org/D6231
2019-11-08Windows: Switch to the dynamic C runtimeRay Molenkamp
This change switches windows to the dynamic C runtime avoiding issues coming from mixing the static and dynamic runtime like the ones outlined in [1] [1] https://developer.blender.org/D5387#122165 Differential Revision: https://developer.blender.org/D6175 Reviewed by: @Sergey
2019-11-08Cleanup: clang-formatCampbell Barton
2019-11-07Merge branch 'blender-v2.81-release'Sergey Sharybin
2019-11-07Cycles: Fix strict compiler warningSergey Sharybin
Pointer used for math arithmetics in assert(). CUDA device pointer is actually an integer type, not a pointer.
2019-11-06Merge remote-tracking branch 'origin/blender-v2.81-release'Dalai Felinto
2019-11-06Fix T69845: OSL wrong texture node output for fixed vector valueBrecht Van Lommel
2019-11-06Merge branch 'blender-v2.81-release'Brecht Van Lommel
2019-11-06Fix T70952: EXR files bigger than 2GB don't open on WindowsBrecht Van Lommel
2019-11-05Merge branch 'blender-v2.81-release'Brecht Van Lommel
2019-11-05Fix T71071: errors when using multiple CUDA/Optix GPUs and host mapped memoryHa Hyung-jin
The multi device code did not correctly handle cases where some GPUs store a resource in device memory and others store it in host mapped memory. Differential Revision: https://developer.blender.org/D6126
2019-11-05Merge branch 'blender-v2.81-release'Brecht Van Lommel
2019-11-05Fix build errors in GHOST SDLBrecht Van Lommel
2019-11-05Merge branch 'blender-v2.81-release'Patrick Mours
2019-11-05Fix Cycles failing to compile when "WITH_CYCLES_LOGGING" is offPatrick Mours
2019-11-04Merge branch 'blender-v2.81-release'Patrick Mours
2019-11-04Fix T71123: OptiX error in Cycles viewport when adding HDRIPatrick Mours
Cycles did not update the "is_enabled" flag on lights when they were synchronized again, which caused all lights disabled by "LightManager::disable_ineffective_light" to be disabled indefinitely. As a result the OptiX kernels were not reloaded with correct features when a change to a light was made. This fixes that by updating the "is_enabled" flag during synchronization. Differential Revision: https://developer.blender.org/D6141
2019-11-04Correct naming of cryptomatte output sockets on the render layers nodeRobert Guetzkow
The cryptomatte sockets were incorrectly numbered using a step size of two. While the increment by two is necessary to get the correct number of render passes, they should be numbered consecutively matching the socket names of the cryptomatte node. Reviewed By: lukasstockner97 Differential Revision: https://developer.blender.org/D6185
2019-11-01Windows: Replace deprecated SHGetFolderPathWmano-wii
No functional change. Differential Revision: https://developer.blender.org/D6172
2019-10-31Merge branch 'blender-v2.81-release'Brecht Van Lommel
2019-10-31Fix T71172: Cycles preferences.get_devices() not refreshing Optix devicesBrecht Van Lommel
2019-10-30OpenSubdiv: Initial implementation of batched evaluationSergey Sharybin
The idea is to give multiple coordinates to evaluator and evaluate them all at once, avoiding any possible overhead.
2019-10-30OpenSubdiv: Make internal evaluator aware of batched evaluationSergey Sharybin
Allows to pass multiple patch coordinates for evaluation.
2019-10-30OpenSubdiv: Use more generic access to patch coordinatesSergey Sharybin
Saves another unnecessary temporary data copy during evaluation.
2019-10-30OpenSubdiv: Cleanup, remove old compatibility codeSergey Sharybin
Consider that all builders have face-varying evaluation now.
2019-10-30OpenSubdiv: Cleanup, remove unused classSergey Sharybin
2019-10-30OpenSubdiv: Avoid unnecessary memory copiesSergey Sharybin
Make evaluator itself to write directly to the output buffer. Brings unmeasurable speedup and makes it possible to simplify some buffer class logic.
2019-10-30OpenSubdiv: Use smaller buffer sizes and stridesSergey Sharybin
We currently don't support interleaved varying data, so can make some buffer smaller.
2019-10-30OpenSubdiv: Cleanup, remove unused PatchBuffer classSergey Sharybin
2019-10-30OpenSubdiv: Cleanup, remove unused evaluator memberSergey Sharybin
2019-10-30OpenSubdiv: Cleanup, remove unused static methodsSergey Sharybin
2019-10-30Merge branch 'blender-v2.81-release'Philipp Oeser
2019-10-30Toggle 'PLAY' <> 'PAUSE' icons for pausing preview renderingPhilipp Oeser
mentioned in T70974 Maniphest Tasks: T70974 Differential Revision: https://developer.blender.org/D6119
2019-10-29macOS: Allow NSView subclasses to accept first mouse event.Stefan Werner
This brings the behavior in line with Windows and Linux. Going between multiple windows now doesn't use the first click only to change focus but also allows Blender to process those events.
2019-10-28Merge branch 'blender-v2.81-release'Campbell Barton
2019-10-28CMake: add missing headers, use space before commentsCampbell Barton
2019-10-22Cleanup: clang-format, trailing spaceCampbell Barton
2019-10-21Merge branch 'blender-v2.81-release'Patrick Mours
2019-10-21Fix T70937: Cycles fails in viewport when rendering with OptiXPatrick Mours
Was caused by D6068, which did not handle "MEM_PIXELS" memory when not in background mode. Before that it always fell back to using generic device memory, so restoring that behavior. In future this should be changes to use OpenGL interop for optimal performance.
2019-10-21Merge branch 'blender-v2.81-release'Campbell Barton
2019-10-21Cleanup: styleCampbell Barton
2019-10-18Merge branch 'blender-v2.81-release'Philipp Oeser
2019-10-18Cycles: Fix out of memory when rendering some scenes with OptiX that work ↵Patrick Mours
with CUDA The OptiX implementation wasn't trying to allocate memory on the host if device allocation failed, while the CUDA implementation did. This copies the implementation over to OptiX to remedy that. Differential Revision: https://developer.blender.org/D6068
2019-10-17Cleanup: spellingCampbell Barton
Also remove historic bftgl reference.
2019-10-16Cycles: Allow PTX targets for CUDA kernel build.Stefan Werner
This is intended for developers on Windows primarily: Now, CUDA architectures of type compute_xx are supported. This allows for quicker builds, at the expense of the CUDA driver running ptxas the first time a kernel is loaded. Differential Revision: https://developer.blender.org/D5953