Blender Git Statistics -> Branches -> tmp-drw-callbatching

"Tmp-drw-callbatching" branch

Total commits : 57
Total committers : 1
First Commit : August 17, 2019
Latest Commit : August 17, 2019


Commits by Date

DateNumber of Commits
August 17, 201957

Committers

AuthorNumber of Commits
Clément Foucault57

Popular Files

FilenameTotal Edits
draw_manager_exec.c29
draw_manager_data.c28
draw_manager.h25
draw_manager.c11
common_view_lib.glsl8
gpu_batch.c6
gpu_viewport.c5
GPU_viewport.h4
GPU_shader_interface.h4
eevee_materials.c3

Latest commits Feed

August 17, 2019, 12:48 (GMT)
DRW: Resource Handle: Use manual bitmasks and bitsifts

This is in order to avoid implementation dependant behavior.
August 17, 2019, 12:48 (GMT)
DRW: Fix regression when rendering using index ranges
August 17, 2019, 12:48 (GMT)
GPU: Fix USE_MULTI_DRAW_INDIRECT macro

Now uses GPU_arb_base_instance_is_supported properly.
August 17, 2019, 12:48 (GMT)
Workbench: Fix dark mesh when no material applied
August 17, 2019, 12:48 (GMT)
BLI_memblock: Remove ATTR_MALLOC flags

This is made to do some optimization but this is creating unwanted behavior.
August 17, 2019, 12:48 (GMT)
DRW: Fix and improve DRW_pass_sort_shgroup_z

Now sorting only compare and does not compute Z distance for each
comparisson. It also keeps the order of shgroups with the same distances.
August 17, 2019, 12:48 (GMT)
DRW: Move Shading Group Extra DRWState to own DRWCommand
August 17, 2019, 12:48 (GMT)
DRW: Use a DRWResourceHandle to reference the parent DRWPass ...

... inside a DRWShadingGroup
August 17, 2019, 12:48 (GMT)
Cleanup: DRW: Add draw_call_batching_flush for easier code understanding
August 17, 2019, 12:48 (GMT)
DRW: Move DRWUniformChunk length and used counter to the struct itself.

This is better for code simplicity. Memory usage is not that much of a
concern for uniforms.
August 17, 2019, 12:48 (GMT)
DRW: Add DRWCommandSetStencil

Now multiple stencils can be set inside a shgroup.

Should not change the previous behavior as all usage of
DRW_shgroup_stencil_mask was done at shgroup creation.
August 17, 2019, 12:48 (GMT)
DRW: Refactor replacing DRWCall by DRWCommand

DRWCall was fat and not very flexible. DRWCommand is very small and makes
it possible to have many kind of DRWCommand making the DRWManager more
extensible. Like adding the possibility of changing the stencil mask or
clear framebuffers in between drawcalls.

This commit breaks shgroup z sorting.
August 17, 2019, 12:48 (GMT)
Workbench: Fix Shader compilation
August 17, 2019, 12:48 (GMT)
GPencil: Use custom obmat instead of common_view_lib
August 17, 2019, 12:48 (GMT)
DRW: Put Transform Feedback buffer into DRWUniform

Since the transform feedback must be the same for the whole SHgroup, and
since it is optional, put it in DRWUniform to make things cleaner.
August 17, 2019, 12:48 (GMT)
Cleanup: DRW: Make drawcall render control flow a more easier to follow.
August 17, 2019, 12:48 (GMT)
GPU: Fix flush range and uninitialized buffer_id
August 17, 2019, 12:48 (GMT)
DRW: Fix Batch key bitshifting

63 is 0b111111.
August 17, 2019, 12:48 (GMT)
Workbench: Simplify / Speedup Material Hash

This is negligeable speedup.
August 17, 2019, 12:48 (GMT)
DRW: Use new GPUDrawList to speedup instancing

This improves the performances of random instancing even further.
Test 30K objects:
42 fps -> 52 fps
24 ms -> 19 ms

MiikaHweb - Blender Git Statistics v1.06
By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2019