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
2022-08-23Fix testsClément Foucault
2022-08-23Fix compilation errorClément Foucault
2022-08-23Rework pass class to reduce code duplicationClément Foucault
2022-08-23Make all draw command inside indirect buffersClément Foucault
This make sure the resource pipeline is the same for both multidraw and non multidraw calls.
2022-08-23GPUBatch: Implement multidrawindirect and indirect offsetClément Foucault
2022-08-22Add View support with visibility cullingClément Foucault
2022-08-22Test: Update EEVEE to use part of the new draw managerClément Foucault
2022-08-22Add View classClément Foucault
Contain culling data and View uniforms.
2022-08-22Add resource fillingClément Foucault
2022-08-21Merge branch 'master' into drw-manager-nextClément Foucault
2022-08-21BLI: float4x4: Fix bug / typo in << operatorClément Foucault
2022-08-21Add debug group, sub goup test, fix a few bug/typoClément Foucault
2022-08-21Fix a few typo error and add test for float4x4Clément Foucault
2022-08-21Fix T100430: Restore larger node socket snap hitboxLeon Schittek
Restore old hitbox for connecting links to sockets. Commit rBd9d97db018d2 improved the node socket snapping when nodes are close together by decreasing the tolerance around the cursor when checking for nodes in front, that might occlude the socket. In doing so it also reduced the hitbox of the node socket itself that extended outside of the node. This commit restores the old node socket hitbox while keeping the improved behavior when nodes are close together with the following changes: 1) When looking for the socket under the cursor, iterate through the nodes front to back, which prioritizes node sockets in the foreground. 2) Instead of checking for another node underneath the cursor it checks if the socket is actually occluded by another node. The way the occlusion test for sockets is tweaked you can now connect to sockets that are only partially occluded, which is a bit more forgiving than previously. Reviewed By: Hans Goudey Differential Revision: http://developer.blender.org/D15731
2022-08-20Fix system support checkClément Foucault
2022-08-20Refactor Pass classClément Foucault
Now there is a still a base class but no virtual functions. The different implementation of draw are declared as method shadowing the base class method. Sub pass is limited to 1 depth. Cannot have nested subpass. Test is now passing
2022-08-20Refactor to reduce complexityClément Foucault
Remove different pass type and abstract base class.
2022-08-20DRW: Manager: New modern implementationClément Foucault
This is a rewrite of the whole DRW manager in C++ and using more GPU driven rendering.
2022-08-20BLF: Fix FT_Get_Advance Wrong Value Without SizeHarley Acheson
Fix possibility of getting invalid fixed-pitch advance size. See D15735 for more details. Differential Revision: https://developer.blender.org/D15735 Own Code.
2022-08-19Outliner: Workaround for big performance issue in Library Overrides modeJulian Eisel
When displaying the Hierarchies view of the Library Overrides display mode in a specific Heist production file, Blender would become unresponsive for about 30 seconds and every redraw in the Outliner would lag noticably. Issue is that the sum of hierarchy elements is multiple thousands, and that really brings the Outliner to its knees. I've looked into some improvents and committed a few minor ones already, but it seems it's really the big sum of elements causing the issue. There doesn't appear to be a single bottle-neck. To work around this, "lazy build" children, so that children of collapsed elements are not actually created. This brings the tree building down to some tens of miliseconds, and redrawing becomes rather lag-free again, even with big parts of the tree un-collapsed. Problem: Searching still needs to build the entire tree, so it's essentially unusable right now. Should we disallow searching altogether?
2022-08-19Outliner: Refactor how lazy-building of children is doneJulian Eisel
Makes the lazy-building (where children are only built when the parent isn't collapsed) more generic, so more display modes can use it. So far this was hardcoded for the "Data API" display mode. This will be used to work around a big performance issue with the Library Overrides Hierachies view in a complex production file, see following commit.
2022-08-19Outliner: (Refactor) Use C++ map instead of GHashJulian Eisel
This container is type safe and contains a few nice optimizations, although they shouldn't make a big difference here in practice. The hashing now uses our default hashing method which reduces code complexity and seems to perform slightly better in my tests. For a Heist shot with a highly complex library overrides hierarchy in the Outliner this reduces the tree building time from around 25 to 23.6 seconds here. However the main design change for performance is yet to come, all this is just general code refactoring (which at least shouldn't make performance worse).
2022-08-19Merge branch 'blender-v3.3-release'Brecht Van Lommel
2022-08-19Fix T96133: Cycles viewport render crash with NVIDIA GPUs on macOSBrecht Van Lommel
2022-08-19Cleanup: replace CHECK_TYPE macro with static_assertBrecht Van Lommel
To avoid conflicts with BLI headers and simplify code.
2022-08-19Merge branch 'blender-v3.3-release'Antonio Vazquez
2022-08-19Fix T100502: GPencil Primitive apply offset when using `Stroke` modeAntonio Vazquez
The offset was applied in stroke mode and this was wrong.
2022-08-19Merge branch 'blender-v3.3-release'Brecht Van Lommel
2022-08-19Fix build error on i386 due to wrong use of float_tBrecht Van Lommel
Was supposed to be float, likely copy paste error from int32_t.
2022-08-19Fix build error on mips64el architectureBrecht Van Lommel
Same as D12194, name "mips" conflicts on such systems.
2022-08-19Fix ubsan warnings about indexing into null pointersLoren Osborn
Ref T99382 Differential Revision: https://developer.blender.org/D15390
2022-08-19Cycles: add Sobol-Burley sampling patternNathan Vegdahl
Based on the paper "Practical Hash-based Owen Scrambling" by Brent Burley, 2020, Journal of Computer Graphics Techniques. It is distinct from the existing Sobol sampler in two important ways: * It is Owen scrambled, which gives it a much better convergence rate in many situations. * It uses padding for higher dimensions, rather than using higher Sobol dimensions directly. In practice this is advantagous because high-dimensional Sobol sequences have holes in their sampling patterns that don't resolve until an unreasonable number of samples are taken. (See Burley's paper for details.) The pattern reduces noise in some benchmark scenes, however it is also slower, particularly on the CPU. So for now Progressive Multi-Jittered sampling remains the default. Differential Revision: https://developer.blender.org/D15679
2022-08-19Merge branch 'blender-v3.3-release'Jacques Lucke
2022-08-19Fix: nurbs basis cache not computed before it is usedJacques Lucke
2022-08-19Fix T89399: Mouse wrapping causes erratic movementGermano Cavalcante
As mentioned in T89399, "the source of this bug is that cursor wrap moves the cursor, but when it later checks the mouse position it hasn't yet been updated, so it re-wraps". As far as I could see, this happens for two reasons: 1. During the first warp, there are already other mousemove events in the queue with an outdated position. 2. Sometimes Windows occasionally and inexplicably ignores `SetCursorPos()` or `SendInput()` events. (See [1]) The solution consists in checking if the cursor is inside the bounds right after wrapping. If it's not inside, it indicates that the wrapping either didn't work or the event is out of date. In these cases do not change the "accum" values. 1. https://github.com/libsdl-org/SDL/blob/f317d619ccd22e60cebf1b09d716d3985359c981/src/video/windows/SDL_windowsmouse.c#L255) Maniphest Tasks: T89399 Differential Revision: https://developer.blender.org/D15707
2022-08-19Fix: Crash when realtime compositor node is unlinkedOmar Emara
The realtime compositor crashes when some nodes are unlinked. This happens for GPU material nodes if it was compiled into its own shader operation. Since it is unlinked, the shader operation will have no inputs, a case that the current code didn't consider. This patch fixes this by skipping code generation for inputs if no inputs exist for the shader operation.
2022-08-19Cleanup: update comment about undo & smooth-viewCampbell Barton
2022-08-19Fix T100323: Outliner: Do not allow to delete objects from an override ↵Bastien Montagne
collection.
2022-08-19Merge branch 'blender-v3.3-release'Campbell Barton
2022-08-19Fix crash accessing PyEval_GetFrame from Python's crash handlerCampbell Barton
Check the thread-state before accessing PyEval_GetFrame, since this is a crash handler, the state of the Python interpreter isn't known.
2022-08-19UI: increase range of font size for text editor & consoleCampbell Barton
Useful when using different DPI & UI scales.
2022-08-19Cleanup: minor changes to BLF APICampbell Barton
- Use upper-case for defines. - Use u-prefix for unsigned types. - Use snake case for struct members. - Use const struct for unicode_blocks & arguments. - Use doxy style comments for struct members. - Add doxy sections for recently added code. - Correct code-comments (outdated references). - Remove 'e' prefix from struct UnicodeBlock/FaceDetails (normally used for enums).
2022-08-19Cleanup: spelling in commentsCampbell Barton
2022-08-19Merge branch 'blender-v3.3-release'Campbell Barton
2022-08-19Cleanup: unused argument warningCampbell Barton
2022-08-19Cleanup: Remove data duplication from BLI_any.hh support variablesJesse Yurkovich
Use `inline constexpr` instead of `static constexpr` to prevent these variables from being duplicated in each translation unit that includes the BLI_any.hh header. Differential Revision: https://developer.blender.org/D15698
2022-08-19Cleanup: replace uint cd_loop_uv_offset with intChris Blackbourn
See https://wiki.blender.org/wiki/Style_Guide/C_Cpp#Integer_Types
2022-08-19Cleanup: lint, unused_varsChris Blackbourn
2022-08-19UV: respect uv selection for smart uv, cube, sphere and cylinder projectionChris Blackbourn
Differential Revision: https://developer.blender.org/D15711
2022-08-19Cleanup: spelling in commentsCampbell Barton