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
2020-09-06Cleanup: GPU: Rename GPU_element to GPU_index_bufferClément Foucault
Makes it follow the functions names.
2020-09-06Viewport: support dropping object-data to create instancesCampbell Barton
This allows orphan object data for example (meshes, curves, etc) to be dropped into the 3D View from the outliner, creating a new object instance. Previously the only way to do this was to add the same type of object then swap it's data through the ID selector drop-down.
2020-09-05Fix T75827, boolean of non-manifold objects leaves stray edges.Howard Trickey
Well, this only fixes the example if one uses the new Exact mode, but since that is available, seems fair to call this fixed. Since these were not closed-volume operands, the Exact mode needed some adjustment to the threshold used for "inside-outside" tests for the case of deciding if the cutter is inside the other shape for a Difference.
2020-09-05GLState: Use unsigned long long instead of unsigned long for shiftsClément Foucault
This fix a compilation warning on msvc.
2020-09-05Cleanup: clang-formatCampbell Barton
2020-09-05Cleanup: spellingCampbell Barton
2020-09-05Fix T67265: Status bar is overlapped by workspace layoutJulian Eisel
The issue was that the screen geometry calculations scaled down the areas, but the header would become too small. So it would be upscaled again towards the lower screen edge (where the status-bar is at). Now we do another pass over the geometry calculations, until all areas fit into the screen, or until some rather arbitrary maximum is reached. This fixes the issue for common cases. Extreme cases, with many vertically stashed editors and a too small window to show all, are still not too well supported. Blender keeps working but the status-bar is still overlapped. We could deal with this better but what's there now should be good enough.
2020-09-05Cleanup: Add const to BKE screen functionJulian Eisel
2020-09-05GLState: Fix compilation warning on MSVCClément Foucault
2020-09-05GLTexture: Fix undefined behavior when binding textures the first timeClément Foucault
2020-09-05GLDebug: Trim NVidia debug outputClément Foucault
These buffer detailed infos are not needed unless going deep into perf. profiling, in which case you can still disable this compile option. This makes user report log much more readable.
2020-09-05GLTexture: Add Feedback loop checkClément Foucault
The check is better than before as we take into consideration the attached mip level.
2020-09-05Cleanup: GPUFramebuffer: Remove unused variableClément Foucault
2020-09-05GLTexture: Add direct state access supportClément Foucault
2020-09-05GLState: Add texture multibind and remove redundant bindsClément Foucault
2020-09-05Math Utils: Add bitscan 64bit versionClément Foucault
2020-09-05GPUDebug: Only enable resource checking in debug modeClément Foucault
2020-09-05Cleanup: GPUTexture: Move debug messages outside of creation functionClément Foucault
# Conflicts: # source/blender/gpu/intern/gpu_framebuffer.cc
2020-09-05GPUTexture: Change texture creation APIClément Foucault
This is to modernize the API: - Add meaningful name to all textures (except DRW textures). - Remove unused err_out argument: only used for offscreen python. - Add mipmap count to creation functions for future changes. - Clarify the data usage in creation functions. This is a cleanup commit, there is no functional change. # Conflicts: # source/blender/gpu/GPU_texture.h
2020-09-05Cleanup: GPUTexture: Remove use of GPU_texture_create_nDClément Foucault
Use creation + update function instead.
2020-09-05GLTexture: Add validation for empty slots before drawingClément Foucault
This is to have better error detection in debug builds. This is not a replacement for a full check like in renderdoc but it might catch some issues early on.
2020-09-05GPUTexture: Implement back 3D texture resizeClément Foucault
But this time implement it outside the texture module. This makes more sense as only the volume textures need this feature.
2020-09-05BLI: Math: Add equals_v3v3_intClément Foucault
2020-09-05Cleanup: GPUTexture: Clean framebuffer attachmentClément Foucault
2020-09-05Cleanup: GPUFrameBuffer: Use Texture class instead of gl callsClément Foucault
2020-09-05GLTexture: Add back texture proxy checkClément Foucault
Cleanup the feature itself: - Check 3D textures size against the correct limit. - Add check for compressed textures.
2020-09-05GPUTexture: Add support for samplersClément Foucault
This just add back the support. This commit also includes a bit of cleanup. # Conflicts: # source/blender/gpu/GPU_texture.h
2020-09-05GPUTexture: GL Backend IsolationClément Foucault
This is a massive cleanup needed for vulkan support T68990. It provides: - More meaningful enums with conversion functions. - Less hacky supports of arrays and cubemaps (all considered layered). - More inline with the stateless design of vulkan and modern GL. - Methods Fallbacks are using framebuffer functions that are wrapped instead of implementing inside the texture module. What is not in there: - API change. - Samplers support (breaks a few effects). # Conflicts: # source/blender/gpu/GPU_texture.h
2020-09-05GPUFramebuffer: Encapsulate single attachement clearClément Foucault
This is in preparation of using it to clear single texture. Also includes minor cleanups about not using tex target in assert and adding enum operators.
2020-09-05Cleanup: EEVEE: Use correct array size and use equals_v2v2_intClément Foucault
2020-09-05GPUTexture: Add skeleton of the new GLTexture classClément Foucault
2020-09-05GPUTexture: Remove bind to edit callsClément Foucault
This is going to be unecessary after the GPU opengl texture backend refactor. For now add a save/restore mechanism to leave the state untouched. Also remove some calls where the caller would bind to particular binding point and set the shader uniform.
2020-09-05New boolean: Fix second example in T79404.Howard Trickey
The code to detect non-trivial coplanar intersection sometimes falsely said there wasn't one. This caused some coplanar intersections to be missed. Also added a test for this case.
2020-09-04UI Code Quality: Use derived struct for number buttonsJulian Eisel
For the man rationale behind this design, see 49f088e2d093. Further, this removes users of uiBut.a1/uiBut.a2, which is a very ugly design choice (hard to reason about). Note that I had to do rather ugly, specific exceptions for the number buttons in `ui_def_but_rna()`. But once all users of a1/a2 are removed, this special handling shouldn't be needed anymore. I also had to move a sanity check out of the button definition. It's now moved into a new debug only sanity checking function executed when finishing the layout definition (block end).
2020-09-04UI Code Quality: Store curve-button gradient type in derived structJulian Eisel
We want to move away from using `uiBut.a1`/`a2`, which is a hard to reason about design. Part of T74432. Also correct comment.
2020-09-04Fix building on windows after cleanup changes in tiff.cSebastian Parborg
2020-09-04Cleanup: Remove redundant redeclaration in colladaSebastian Parborg
No functional changes.
2020-09-04Cleanup: Clang-Tidy readability-inconsistent-declaration-parameter-name fixSebastian Parborg
No functional changes
2020-09-04Fix T80426: Crash when deleting custom orientationGermano Cavalcante
Indices referencing other orientations were not being updated,
2020-09-04Cleanup: fix compiler warnings for MSVCBrecht Van Lommel
2020-09-04Curve Profile: Miscellaneous cleanupHans Goudey
- Declare variables where they are initialized - Use consistent variable and static function names - Use helper functions more for common operations - Remove use of BezTriple struct, use CurveProfilePoint instead - Apply small simplifications to code in some situations
2020-09-04Cleanup: Clang-Tidy bugprone-copy-constructor-init fixSybren A. Stüvel
No expected functional changes.
2020-09-04Cleanup: Use function pointers in sculpt gesturesPablo Dobarro
This replaces the switch case and operation types with a SculptGestureOperation struct with callbacks. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8798
2020-09-04Cleanup: Use function pointers in geometry extractPablo Dobarro
This replaces the switch case with function pointers to extract masks or face sets. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8796
2020-09-04Cleanup: Clang-Tidy bugprone-incorrect-roundings fixesSybren A. Stüvel
Should cause no noticeable difference.
2020-09-04GPencil: New option to set steps in Interpolate SequenceAntonio Vazquez
Sometimes interpolate all frames is not convenient and it's better, for example, interpolate in twos. The new parameter allows to define the number of frame for each step, by default is set to 1 as before. {F8812621} This is a request of animators to improve interpolate tools. Reviewed By: mendio Maniphest Tasks: T80190 Differential Revision: https://developer.blender.org/D8723 239b0b
2020-09-04Cleanup: more Clang-Tidy readability-const-return-type fixesSybren A. Stüvel
Building with `WITH_GMP=ON` revealed more const-return-type issues. No functional changes.
2020-09-04Cleanup: typo fix in a commentSybren A. Stüvel
No functional changes.
2020-09-04Cleanup: Clang-Tidy readability-redundant-declaration fixSybren A. Stüvel
No functional changes.
2020-09-04Cleanup: Clang-Tidy readability-static-accessed-through-instance fixesSybren A. Stüvel
No functional changes.