Blender Git Loki

Blender Git commits from all branches.

Page: 278 / 2888

June 29, 2021, 16:17 (GMT)
Only reset the node view when links are cancelled.
June 29, 2021, 16:10 (GMT)
Fix CPU rendering and OptiX denoiser in Cycles X

Make sure copying of temporary render buffers to the device
happens as part of the denoiser queue.

Initially thought this will be fixed by some more global changes
related to multi-GPU support, but:

- It is a simple and clear change.
- It brings multi-device support to a working state, which makes
it easier to verify changes.
- Multi-device is supported at a higher level, and it could still
be useful to support current usecases of DeviceDenoiser (where
input render buffers are allocated on a different device).

Differential Revision: https://developer.blender.org/D11742
June 29, 2021, 16:09 (GMT)
Cycles X: Ensure OptiX denoiser setup and usage uses the same stream

Avoids possible access of denoiser non-initialized state without
explicit sync.

Differential Revision: https://developer.blender.org/D11741
June 29, 2021, 16:09 (GMT)
Cycles X: Remove zero_to_device from RenderBuffers::reset()

In all the current usages of RenderBuffers::reset the zero was
actually redundant.

This change makes it easier to allocate temporary render buffer
and copy data to it as a part of a specific stream without zero
(which happens in the default stream) conflicting.

Differential Revision: https://developer.blender.org/D11740
June 29, 2021, 14:51 (GMT)
Vulkan: Retrieve platform information.

Retrieve device platform information for `GPUPlatformGlobal`.
As vulkan needs a physical device it was moved from the GPUBackend
constructor to an init method that is called when an initial context
is created.

Still need to find out how to extract the driver type.
June 29, 2021, 14:06 (GMT)
Cleanup: add `const` to local variables and function parameters

Add `const` to some variables that don't need to be mutable.

No functional changes.
June 29, 2021, 14:06 (GMT)
Cleanup: typo fix

Add a comma.

No functional changes.
June 29, 2021, 14:00 (GMT)
Cleanup: reduce amount of conditional code

Use `return;` in `if`-block, making it possible to un-indent the entire
`else` block.

No functional changes.
June 29, 2021, 13:57 (GMT)
Cleanup: remove unused `#include`

Remove unused `#include <stdio.h>`.

No functional changes.
June 29, 2021, 13:53 (GMT)
Cleanup: `CTX_wm_asset_handle`, move assignment of return param

Move the assignment to return parameter `*r_is_valid` to always be just
above the corresponding `return` statement. This makes it easier to ensure
that it is always set, and to see that it's only set once.

No functional changes.
June 29, 2021, 13:23 (GMT)
Merge remote-tracking branch 'origin/master' into asset-browser-poselib
June 29, 2021, 12:50 (GMT)
Clean up a few warnings
June 29, 2021, 12:46 (GMT)
Cycles X: Fix crash using CPU and OptiX denoiser in viewport

Not sure why it is only visible now, there was a buffer overrun since
the initial CPU Render + OptiX denoise support commit by the looks of
it.

There now seems to be a synchronization issue between queues, leading
to only partial buffer update in the viewport. Investigating this now.
June 29, 2021, 11:52 (GMT)
Changed ordering of drawing function in draw_seq_strip
June 29, 2021, 11:41 (GMT)
Merge remote-tracking branch 'origin/master' into temp-lineart-contained
June 29, 2021, 11:38 (GMT)
Improvements to edge panning in the node editor.

- New operator property to toggle edge panning in the keymap.
This is disabled by default to avoid edge-panning in cases where it
gets distracting, such as adding a new node. Only the explicit
translate operator(s) (GKEY or drag) have this enabled now.

- Restore the initial view rect on edge pan cancel.
The initial view rect is now stored in the edge pan operator data.
When an operator with edge panning is cancelled it can now call the
UI_view2d_edge_pan_cancel function to restore the original View2D
rect.

Differential Revision: https://developer.blender.org/D11736
June 29, 2021, 11:35 (GMT)
Merge branch 'master' into temp_bmesh_multires
June 29, 2021, 11:29 (GMT)
Restore the initial view rect on edge pan cancel.

The initial view rect is now stored in the edge pan operator data.
When an operator with edge panning is cancelled it can now call the
UI_view2d_edge_pan_cancel function to restore the original View2D rect.
June 29, 2021, 10:18 (GMT)
Transform operator flag to opt-in to edge panning.

This is disabled by default to avoid edge-panning in cases where it gets
distracting, such as adding a new node. Only the explicit translate
operator(s) (GKEY or drag) have this enabled now.
June 29, 2021, 09:55 (GMT)
Cycles X: Move need-to-zero-render-buffers check to render scheduler

No functional changes, but localizes handling of the render buffers,
helping with the coming further development.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021