Blender Git Loki

Kaikki Blender Git kommitit.

Page: 616 / 8462

May 26, 2021, 14:49 (GMT)
GPU: Compute Pipeline.

With the compute pipeline calculation can be offloaded to the GPU.
This patch only adds the framework for compute. So no changes for users at
this moment.

NOTE: As this is an OpenGL4.3 feature it must always have a fallback.

Use `GPU_compute_shader_support` to check if compute pipeline can be used.
Check `gpu_shader_compute*` test cases for usage.

This patch also adds support for shader storage buffer objects and device only
vertex/index buffers.

An alternative that had been discussed was adding this to the `GPUBatch`, this
was eventually not chosen as it would lead to more code when used as part of a
shading group. The idea is that we add an `eDRWCommandType` in the near
future.

Reviewed By: fclem

Differential Revision: https://developer.blender.org/D10913
May 26, 2021, 14:46 (GMT)
Use const signature for driver owned data.
Revision e459a25 by Falk David (master)
May 26, 2021, 14:46 (GMT)
GPencil: Add option to disable masks in view layer

This patch adds an option in the Layers > Relations panel called "Disable Masks in Render".
When checked, no masks on this layer are included in the render.

Example:
| {F10087680} | {F10087681} |

See T88202 for why this is needed.

Reviewed By: antoniov

Maniphest Tasks: T88202

Differential Revision: https://developer.blender.org/D11234
May 26, 2021, 14:42 (GMT)
Merge branch 'master' into temp-gpencil-bezier-stroke-type
May 26, 2021, 14:38 (GMT)
Cleanup: Code formatting.
May 26, 2021, 14:36 (GMT)
Merged similar cases in switch statement.
Revision a6f3bb3 by Falk David (master)
May 26, 2021, 14:34 (GMT)
Merge branch 'blender-v2.93-release'
May 26, 2021, 14:33 (GMT)
Splitted read and unmap in different calls.

Most of the time you just want to access the data without the overhead
of a local copy.
Revision d5a5575 by Falk David (master)
May 26, 2021, 14:32 (GMT)
Fix: GPencil mask shows in view layer render

Currently when rendering the view layer of a grease pencil layer that has
a mask layer attached, the mask layer would show in the rendered image.
This is inconsistent with the default behaviour with no mask on the
grease pencil layer, because it would only render what's on that
particular layer and not anything from any other layer.

This patch makes the masks invisible in the render.

Note: This might seem like not the best solution, but because masks are
just regular grease pencil layers, it's tricky to pass this edge-case to the
drawing code. The way it is handled right now is the best I could come
up with, without making changes that could affect something else.

Reviewed By: antoniov

Maniphest Tasks: T88202

Differential Revision: https://developer.blender.org/D11403
May 26, 2021, 14:20 (GMT)
Merge branch 'blender-v2.93-release'
May 26, 2021, 14:19 (GMT)
LibOverride: Some moar tweaks and fixes to recursive resync.
May 26, 2021, 14:06 (GMT)
Fix T88250: crash when instancing object in disabled collection

This issue was that `BKE_object_eval_uber_data` was not called for
the text object, because its geometry was not dependent upon
and its `is_directly_visible` tag was `false`. The crash happens in
rendering code, because the evaluated data is missing.

This not only affects text objects, but all object types that have a
geometry component that geometry nodes does not support yet.

The solution is to just add the missing dependencies.

Differential Revision: https://developer.blender.org/D11385
May 26, 2021, 13:58 (GMT)
Merge branch 'master' into temp-gpu-compute-shaders
May 26, 2021, 13:50 (GMT)
Merge branch 'master' into override-recursive-resync
May 26, 2021, 13:46 (GMT)
Merge branch 'master' into greasepencil-object
May 26, 2021, 13:44 (GMT)
LibOverride: add helper to retrieve override data from an ID.

Embedded IDs do not own their own override data, but rather use the one
from their owner.
May 26, 2021, 13:43 (GMT)
GPencil: Bake GPencil object transforms into a new GPencil object

This operator is a common request of animators to convert the transformation (inluding modifiers) of one grease pencil object, into a new object, generating strokes.

Reviewed By: pepeland

Maniphest Tasks: T87424

Differential Revision: https://developer.blender.org/D11014
May 26, 2021, 13:43 (GMT)
IDManagement: Shapekey: add a `owner_get` callback.

Even though shepkeys are not strictly speaking an embedded data, they
share quiet a few points with those, and from liboverride perspective
they are embedded, so...
May 26, 2021, 12:33 (GMT)
Migrated lattice deform benchmark.
May 26, 2021, 12:19 (GMT)
Nodes: fix threading issues with node ui storage

Calling BKE_nodetree_attribute_hint_add from multiple threads still
was not safe before..
One issue was that context_map embedded its values directly. So
when context_map grows, all NodeUIStorage would move as well.
I could patch around that by using std::unique_ptr in a few places,
but that just becomes too complex for now.
Instead I simplified the locking a bit by adding just locking a mutex
in NodeTreeUIStorage all the time while an attribute hint is added.

Differential Revision: https://developer.blender.org/D11399
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021