Age | Commit message (Collapse) | Author |
|
This way they can be used as inputs to the closure eval functions.
|
|
# Conflicts:
# source/blender/draw/CMakeLists.txt
# source/blender/draw/intern/DRW_gpu_wrapper.hh
# source/blender/draw/intern/draw_manager_exec.c
# source/blender/gpu/GPU_storage_buffer.h
# source/blender/gpu/intern/gpu_storage_buffer.cc
# source/blender/gpu/intern/gpu_storage_buffer_private.hh
# source/blender/gpu/opengl/gl_storage_buffer.cc
# source/blender/gpu/opengl/gl_storage_buffer.hh
|
|
|
|
This is useful to read/write to the textures directly using compute
shaders and imageLoad/Store.
|
|
|
|
|
|
This just expose the GPU API through DRW.
|
|
This uses a StorageBuf as the source of indirect dispatch argument.
The user needs to make sure the parameters are in the right order.
There is no support for argument offset for the moment as there is no
need for it. But this might be added in the future.
Note that the indirect buffer is synchronized at the backend level. This is
done for practical reasons and because this feature is almost always used
for GPU driven pipeline.
|
|
This is a faster way to clear a buffer instead of reuploading new data.
It is equivalent to `memset` and runs directly on the GPU.
This is better to clear huge buffers and to avoid the sync cost of data upload.
|
|
|
|
|
|
This adds the possibility to read the stencil buffer inside shaders.
This is only available on GL 4.3 so use it accordingly.
|
|
This was getting in the way in multiple instances. Compute shaders dispatch
are still made in the presence of the last bound framebuffer even if they
do not interact with it.
|
|
The switch case was based on an uninitialized value.
|
|
|
|
|
|
|
|
|
|
|
|
# Conflicts:
# source/blender/draw/engines/eevee/eevee_light.cc
# source/blender/draw/engines/eevee/eevee_shadow.cc
|
|
|
|
Almost 1:1 identical to UniformBuf implementation.
|
|
|
|
This is supposed to hold the latest improvement from the EEVEE rewrite branch.
Note that a restart is necessary in order for the engine to appear.
The registration code is a bit convoluted as it needs to be after the WM_init.
|
|
Add a new operator to the Graph Editor that blends selected keyframes
to their default value.
The operator can be accessed from
Key>Slider Operators>Blend To Default Value
Reviewed by: Sybren A. Stüvel
Differential Revision: https://developer.blender.org/D9376
Ref: D9367
|
|
# Conflicts:
# source/blender/draw/CMakeLists.txt
# source/blender/draw/engines/eevee/eevee_depth_of_field.c
# source/blender/draw/engines/eevee/eevee_lightprobes.c
# source/blender/draw/engines/eevee/eevee_lookdev.c
# source/blender/draw/engines/eevee/shaders/effect_dof_bokeh_frag.glsl
# source/blender/draw/engines/eevee/shaders/effect_dof_gather_frag.glsl
# source/blender/draw/engines/eevee/shaders/effect_minmaxz_frag.glsl
# source/blender/draw/engines/eevee/shaders/effect_translucency_frag.glsl
# source/blender/draw/engines/eevee/shaders/lookdev_world_frag.glsl
# source/blender/gpu/shaders/material/gpu_shader_material_object_info.glsl
# source/blender/gpu/shaders/material/gpu_shader_material_tex_environment.glsl
# source/blender/gpu/shaders/material/gpu_shader_material_texture_coordinates.glsl
|
|
As the grease pencil simplify is a subotion of general simplify, if the general switch is disabled, the grease pencil simplify must be disabled too.
This patch also disable the UI panel.
|
|
This is supposed to hold the latest improvement from the EEVEE rewrite branch.
Note that a restart is necessary in order for the engine to appear.
The registration code is a bit convoluted as it needs to be after the WM_init.
|
|
Create a function on CurvesGeometry that can also be used for an edit
mode operator in the future. Dealing with CustomData directly means the
code is a bit more verbose than would be ideal, but this would be a
simple thing to clean up in the future if we get an attribute API here.
Also change the reverse node to first work on a read-only geometry
component, and only get write access if there is a curve selected.
Differential Revision: https://developer.blender.org/D14375
|
|
|
|
This will mostly just remove the overhead of converting
to and from the old curves type, though it also does open
some opportunities for multi-threading in the future.
|
|
A mistake in 8538c69921662164. The offsets include the segment at the
corresponding index, but the evaluated offset calculation was adjusting
the offset for the second to last segment.
|
|
Make the new curves' translate and transform functions also affect
the handle position attributes.
Differential Revision: https://developer.blender.org/D14372
|
|
This reverts a part of {rB33409f9f1cd42e899f2706fe7878e5e89b50d617}.
|
|
|
|
Mainly -Wset-but-unused-variable.
Makes default compilation on macOS way less noisy.
Differential Revision: https://developer.blender.org/D14357
|
|
Still work in progress.
|
|
For more detail about `CPPType`, see `BLI_cpp_type.hh` and D14367.
Differential Revision: https://developer.blender.org/D14367
|
|
Differential Revision: https://developer.blender.org/D14299
|
|
|
|
The node's structure isn't changed, it basically still works the
same way. The use of virtual arrays could be optimized in the
future if necessary.
|
|
Ref T95443
|
|
Resizing nodes used the cursor location when the event was triggered
instead of the drag-start, harmless but means the drag location isn't
under the cursor especially with a high drag threshold.
Noticed when investigating other drag issues,
unrelated to recent changes to drag behavior.
|
|
Added license headers based on the original LGPL files from:
gitlab.kuleuven.be/rob-itasc
|
|
|
|
`RNA_def_struct_ui_text(srna, ...)` was reused for `is_valid` and `is_muted`
which would set the documentation to theirs (actually to that of the last
call).
`RNA_def_property_ui_text(prop, ...)` should be used for the properties.
|
|
|
|
|
|
This uses the evaluated positions calculations from 8538c69921662164677.
|
|
|