Blender Git Commit Log

All Blender Git commits.

Page: 911 / 8462

February 17, 2021, 15:49 (GMT)
Cleanup: Use snake case for method names.
February 17, 2021, 15:49 (GMT)
Cleanup: Remove definition in header without implementation.
February 17, 2021, 15:45 (GMT)
Cycles: Refactor kernel globals localization used for CPU

Move all resource management to a dedicated class. Reduces code
duplication between rendering and shading, as well as makes resource
management more localized and robust.

Additionally, removed the kgbuffer, which seemed to be some sort of
part of a finished project.

Should become handy when adding actual execution logic to the device
queue (which would need to have KernelGlobals in order to invoke
kernels).

Currently no functional changes. Tested by switching Session::render()
back to its operable state.
February 17, 2021, 15:38 (GMT)
Cleanup: Abbreviate enums with 'UNSIGNED_' in the name
February 17, 2021, 15:35 (GMT)
Merge branch 'master' into sculpt-dev
February 17, 2021, 15:35 (GMT)
Merge branch 'master' into sculpt-dev
February 17, 2021, 15:34 (GMT)
Cycles: Boiler plate code for kernel queues

The goal of this change is lay down an initial version of API which
will allow path tracer to queue kernels for execution.

This is done by introducing new `DeviceQueue` class which is a higher
level abstraction over concepts like OpenCL queue or CUDA stream. Its
purpose is to take overhead of kernels invocation. The queue is created
by a device, and after that it becomes self-sufficient.

The queue is implemented as a "stub" for CPU device.

This change also contains changes which is basically an initial pass
over render graph implementation.

In order to have all bits tested had to rake over `Session::render()`
function so now render result is always empty. The old code is ifdefed
so that it is more visible which parts of code are to be brought back
in a proper design.

Next steps will include implementation of some resource management so
that integrator kernels can be actually invoked.
February 17, 2021, 15:27 (GMT)
Python: gpu module: add new submodules and types

This commit extends the gpu python API with:
```
gpu.types.Buffer #"__init__", "to_list"
gpu.types.GPUTexture #"__init__", "clear", "read", "format"
gpu.types.GPUFrameBuffer #"__init__", "bind", "clear", "is_bound", "viewport", ("__enter__", "__exit__" with "GPUFrameBufferStackContext")
gpu.types.GPUUniformBuf #"__init__", "update"
gpu.state #"blend_set", "blend_get", "depth_test_set", "depth_test_get", "depth_mask_set", "depth_mask_get", "viewport_set", "viewport_get", "line_width_set", "line_width_get", "point_size_set", "color_mask_set", "face_culling_set", "front_facing_set", "program_point_size_set"
```

Add these methods to existing objects:
```
gpu.types.GPUShader #"uniform_sample", "uniform_buffer"
```

Maniphest Tasks: T80481

Differential Revision: https://developer.blender.org/D8826
February 17, 2021, 15:26 (GMT)
Cleanup: fix compiler warnings
February 17, 2021, 15:26 (GMT)
Fix T85694: Cycles incorrect grayscale conversion with some OpenColorIO configs
February 17, 2021, 15:26 (GMT)
Cycles: add support for Arm Neon instructions using sse2neon

Based on patch contributed by Apple and Stefan Werner.

Ref D8237, T78710
February 17, 2021, 15:26 (GMT)
Cycles: add utility functions for zero float2/float3/float4/transform

Ref D8237, T78710
February 17, 2021, 15:26 (GMT)
Cycles: refactor intrinsic functions implementation

* Add processor independent fallbacks
* Use uint32_t and uint64_t types
* Remove unused functions
* Better comments and less indentation

Ref D8237, T78710
February 17, 2021, 15:26 (GMT)
BLI: use sse2neon to emulate SSE instructions with Arm Neon

* WITH_CPU_SSE was renamed to WITH_CPU_SIMD, and now covers both SSE and Neon.
* For macOS sse2neon.h is included as part of the precompiled libraries.
* For Linux it is enabled if the sse2neon.h header file is detected. However
this library does not have official releases and is not shipped with any Linux
distribution, so manual installation and configuration is required to get this
working.

Ref D8237, T78710
February 17, 2021, 15:26 (GMT)
BLI: add BLI_simd.h header to wrap SSE includes

In preparation of adding Neon support.

Ref D8237, T78710
February 17, 2021, 15:16 (GMT)
Merge branch 'master' into temp-gpencil-io
February 17, 2021, 15:16 (GMT)
Merge branch 'master' into greasepencil-object
February 17, 2021, 15:16 (GMT)
Merge branch 'master' into temp-gpencil-interpolate
February 17, 2021, 15:13 (GMT)
Merge branch 'blender-v2.92-release'
February 17, 2021, 15:12 (GMT)
Cleanup: Missing word in rna description

One of the sentences changed recently in rBc63df3b33f01 was missing
a word. No functional changes.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021