Blender Git Loki

Kaikki Blender Git kommitit.

Page: 1367 / 8462

August 13, 2020, 12:20 (GMT)
GPUBatch: Merge phase and ownership flags and cleanup there usage

Also add new flags to communicate specific behavior to future backend.
August 13, 2020, 12:20 (GMT)
DRW: InstanceData: Remove hacks of batch freeing callback

We instead use a handle reference counter on the GPUVertBufs used by
the instancing batches. This make sure that if an update happens on the
GPUVertBuf used to contruct the batch, they will never have the same
memory address than the previously allocated ones (since they are still
pending deletion thanks to the refcounter).

This avoid the linear search to update the GPUBatch in the case a
batch is deleted (which was even a bad option since they could be only
cleared)
August 13, 2020, 12:20 (GMT)
GPU: Use GPU_vertbuf_create & GPU_indexbuf_calloc instead of manual alloc
August 13, 2020, 12:20 (GMT)
GPUVertBuf: Add handle refcount

A handle refcount is here to avoid freeing of the GPUVertBuf datablock
if it is still referenced somewhere else.

This does not prevent deleting the actual data. This is to avoid too
much zombie data usage.

This is in order to avoid most hacks inside `draw_instance_data.c`.
August 13, 2020, 12:20 (GMT)
GPUBatch: Remove most use of GPU_batch_draw_advanced()

This is in order to better encapsulate / isolate the drawing code.
August 13, 2020, 12:20 (GMT)
Cleanup: GPUBatch: Remove GL functions from uniform assignment
August 13, 2020, 12:20 (GMT)
Cleanup: GPUBatch: Move gpu_batch_private.h to CPP header
August 13, 2020, 12:20 (GMT)
Cleanup: GPUShader: Remove unused code
August 13, 2020, 12:20 (GMT)
GPUShader: Change shader state tracking to be part of the GPUContext

This remove the use of batch->program and replace it with batch->shader.

This will allow GL abstraction latter.
August 13, 2020, 12:20 (GMT)
GPUBatch: Remove usage of gl_prim_type outside of GPU module
August 13, 2020, 12:20 (GMT)
GPUDrawList: GL backend isolation
August 13, 2020, 11:58 (GMT)
GPencil: Make Selected as default for SVG export

Instead to use Active, it's better use Selected.
August 13, 2020, 11:56 (GMT)
Fix T65148: Drivers can't access shape keys

It was impossible for drivers to use shape key properties, modifiers
generate a new mesh. After mesh evaluation the shape keys are no longer
necessary, and because of this the `key` pointer was not copied. As
drivers work on evaluated data, however, they do need this `key`
pointer.

This commit makes the `key` pointer available in evaluated meshes, but
this is somewhat dangerous. There was an explicit reason why the key on
result was kept at null pointer: to have the evaluated mesh in a
consistent state. Assigning this pointer makes it potentially
inconsistent, as the evaluated mesh and the original shape key may have
different topologies.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D7785
August 13, 2020, 11:56 (GMT)
GPencil: Use Layer thickness esporting SVG polyline
August 13, 2020, 10:40 (GMT)
GPencil: Change default SVG special groups name

This allows to skip them if the file is imported again.
August 13, 2020, 09:50 (GMT)
Merge branch 'blender-v2.90-release'
August 13, 2020, 09:44 (GMT)
Preferences: correct property description for keyitem restore

Spotted while checking T79657.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D8517
August 13, 2020, 09:30 (GMT)
Fix T79743: baking still uses cage object after removal
August 13, 2020, 09:26 (GMT)
GPencil: Hide Gray Scale in SVG export

This option is only valid in Storyboards.
August 13, 2020, 09:17 (GMT)
GPencil: Make format

Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021