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/source
AgeCommit message (Collapse)Author
2020-08-31Cleanup: GPU: Remove unused attr_binding and primitive codeClément Foucault
2020-08-31GPUImmediate: GL backend isolationClément Foucault
This is part of the Vulkan backend task T68990. This is mostly a cleanup, however, there is a small change: We don't use a special Vertex Array binding function for Immediate anymore and just reuse the one for batches. This might create a bit more state changes but this could be fixed easily if it causes perf regression. # Conflicts: # source/blender/gpu/intern/gpu_context.cc
2020-08-31GLContext: Fix framebuffer deletion to GPUContextClément Foucault
This has more meaning as it's the base class who holds the pointer. # Conflicts: # source/blender/gpu/opengl/gl_context.cc
2020-08-31Cleanup: GPU_immediate: Change assert to BLI_assertClément Foucault
2020-08-31Fix T79973: Re-ordering face maps messes up the names of other face mapsGermano Cavalcante
Use a remap function instead a swap. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D8739
2020-08-31Cleanup: reduce variable scopeJacques Lucke
2020-08-31Cleanup: reduce variable scope and use LISTBASE_FOREACHJacques Lucke
2020-08-31Fix T80126: Alembic Import dialogue has overwrite protection UIPhilipp Oeser
Use `FILE_OPENFILE` when importing, rather than `FILE_SAVE`. Reviewed By: sybren Differential Revision: https://developer.blender.org/D8715
2020-08-31Cleanup: Resolve unused variable warning in lite buildHans Goudey
2020-08-31Clang Tidy: Fix readability-delete-null-pointer warningsHans Goudey
2020-08-30New boolean: silence an "unused" warning.Howard Trickey
Previous commit stopped using some functions. Since I may need them again for future performance tuning, these are just ifdef'd out for now.
2020-08-30Fix T79940 VSE Editor crash when opening a different scene as a stripClément Foucault
This was caused by a double lock of the DRW context mutex. This changes the logic a bit by releasing the DRW context before rendering with BKE_sequencer_give_ibuf and restoring it after. Critical fix for 2.91 Reviewed By: dfelinto Differential Revision: https://developer.blender.org/D8657
2020-08-30New boolean: another performance improvement.Howard Trickey
Instead of calculating exact normals for all faces, just do it for those that potentially intersect. A big improvement for dense meshes that only intersect in relatively few places.
2020-08-30GPUFrameBuffer: Fix build error on MSVCClément Foucault
This also gets rid of the macro.
2020-08-30Fix T80138 Node Editor: Add Frame turns background grayClément Foucault
The removed `UI_ThemeClearColor` made no sense in this context. It must have been a leftover from previous refactor.
2020-08-30GPUShader: Improve shader compilation logClément Foucault
- Print shader type (fragment, vertex, geom) - Support for Apple + intel error format. - Handle formatting a bit more gracefully.
2020-08-30EEVEE: Fix broken rendering caused by SSR + Alpha blended materialClément Foucault
This was affecting Mesa drivers as well as AMD pro driver. But it might have been noticeable on other config too. This was introduced by rBa9f2ebb21508.
2020-08-30GPUFramebuffer: Tag dirty after recursing downsampleClément Foucault
Also do not bind automatically. This is fine since the framebuffer will update next time it's bound.
2020-08-30GPUState: Move Scissor and Viewport state to framebufferClément Foucault
This way it is way clearer what each viewport state is. There is no more save and reset. The scissor test is also saved per framebuffer. The only rule to remember is that the viewport state (size and origin) is reset for both the viewport and scissor when a texture is attached or detached from an attachment slot.
2020-08-30BLI_math_vector: Add equals_v4v4_intClément Foucault
2020-08-30GPUContext: Update internal framebuffer size when activating contextClément Foucault
This is to ensure the FrameBuffer extents are always up to date.
2020-08-30BLI_utildefines: Fix assignment in binary ops for ENUM_OPERATORSClément Foucault
That was an overlook from the review when we introduced it.
2020-08-30WM: Remove 10year old workaround for buggy driversClément Foucault
This should have no consequence nowadays. Can be reverted if needed.
2020-08-30GPUUniformBuf: Fix debug name being shorter than release nameClément Foucault
2020-08-30Cleanup: GPUContext: Remove default_framebuffer_Clément Foucault
This is now handled by FrameBuffer wrapping.
2020-08-30GPUFrameBuffer: Use debug name supportClément Foucault
This is to make it easier to navigate captures in renderdoc.
2020-08-30GPUFrameBuffer: GL backend isolationClément Foucault
This is related to the Vulkan port T68990. This is a full cleanup of the Framebuffer module and a separation of OpenGL related functions. There is some changes with how the default framebuffers are handled. Now the default framebuffers are individually wrapped inside special GLFrameBuffers. This make it easier to keep track of the currently bound framebuffer state and have some specificity for operations on these framebuffers. Another change is dropping the optimisation of only configuring the changed attachements during framebuffers update. This does not give any benefits and add some complexity to the code. This might be brought back if it has a performance impact on some systems. This also adds support for naming framebuffers but it is currently not used.
2020-08-30Cleanup: GPU: Remove unused init/exit functionsClément Foucault
2020-08-30GPUFramebuffer: Make GPUFrameBuffer an opaque typeClément Foucault
This is in preparation of the Framebuffer GL backend. This is a just changing types and moving some code. No logic is changed... almost... it just removes the context attach. i.e: `gpu_context_add/remove_framebuffer()` This is not needed for now and was even disabled in release. This is part of T68990.
2020-08-30GPUState: Fix missing writemask encapsulationClément Foucault
This was the last remaining.
2020-08-30Object: support multiple objects for limit-total vertex groupsCampbell Barton
Also add this to the "Clean Up" menu.
2020-08-30Object: add ED_object_array_in_mode_or_selectedCampbell Barton
Use this utility function for render-shading & weight paint modes. This adds support for edit-mode & pose-mode where all objects in the mode are used in this case instead of the selected objects.
2020-08-30Object: support removing unused weights for selected objectsCampbell Barton
This is useful to run in object-mode, instead of from the property editor, note that this still only used the current object when activated from the property editor.
2020-08-30Object: support removing unused material slots for selected objectsCampbell Barton
This is useful to run in object-mode, instead of from the property editor, note that this still only used the current object when activated from the property editor.
2020-08-30Operator: expose ED_operator_object_active_local_editable_exCampbell Barton
Support calling this function with an object argument, useful for implementing filter functions that loop over objects.
2020-08-30BKE_layer: add BKE_view_layer_array_selected_objects_paramsCampbell Barton
Useful for similar situations as BKE_view_layer_array_from_bases_in_mode_params without depending on the active objects mode.
2020-08-30Cleanup: pass v3d as const to view layer utilitiesCampbell Barton
2020-08-30UI: Use term "Plasticity" instead of "Plastic"Aaron Carlisle
2020-08-30New Boolean: performance improvement.Howard Trickey
Avoided cost of searching for coplanar clusters in many cases.
2020-08-29New boolean: fixed a bug in coplanar intersect.Howard Trickey
The code that found coplanar clusters was not updating a bounding box. Also, code that was detecting non-trivial coplanar intersects was slightly wrong, but that would not have caused any functional problems.
2020-08-29Cleanup: spellingCampbell Barton
2020-08-29Cleanup: remove paranoid 'MDeformVert.totweight < 0' checkCampbell Barton
This was added in 1cb7267a9f9f1, however the behavior before this would have failed on negative values already. Also negative values here would fail in many other places.
2020-08-29Boolean Modifier: Reorder propertiesHans Goudey
Properties that display conditionally depending on other properties should generally be lower down so the movement of buttons as settings are tweaked is less intrusive.
2020-08-29Clang Tidy: Fix readability-delete-null-pointer warningHans Goudey
2020-08-29Clang Tidy: Fix no lint marker placementHans Goudey
There was a line between the NOLINTNEXTLINE marker and the function.
2020-08-28Revert "tmp"Hans Goudey
This reverts commit b78a439e9071f83baf296d52c0c1a458aecd2938. This was committed by mistake, and including BLI_winstuff.h on non-windows platforms results in an error.
2020-08-28UI: Improve curve grid drawing codepembem22
This patch fixes assert on grid drawing. `for` loops are used instead of `while` loops to make sure the number of lines is exact. The old code draws lots of unnecessary lines offscreen. This bug is fixed as well. See the patch for a comparison without a scissor test. Differential Revision: https://developer.blender.org/D8745
2020-08-28Fix T80195: crash when invoking tooltips on MacOSGermano Cavalcante
Problem introduced in rBadd48c007428. `UI_but_string_info_get` can change the value of the args.
2020-08-28tmpGermano Cavalcante
2020-08-28Fix for T75369: Text Editor Line ColorHarley Acheson
Use correct text color when syntax highlighting is off but line numbers are on. Differential Revision: https://developer.blender.org/D7337 Reviewed by Hans Goudey