Blender Git Loki

Kaikki Blender Git kommitit.

Page: 3400 / 8462

March 29, 2018, 12:27 (GMT)
Merge branch 'blender2.8' into asset-engine

Conflicts:
source/blender/makesrna/intern/rna_ID.c
March 29, 2018, 12:22 (GMT)
UI: Perf: widgetbase: Replace imm usage by a batch cache.

Introduce a UI batch cache. For the moment it's only used by widgetbase so
leaving it interface_widgets.c. If it grows, it can have its own file.

Like all preset batches (batches used by UI context), vaos must be refreshed
each time a new window context is binded.

This still does 3 GWN_batch_draw in the worst cases but at least it does
not use the IMM api.

I will continue and batch the 3 calls together since we are really CPU
bound, so shader complexity does not really matters.

I cannot spot any difference on all the widgets I could test. I did not use
any unit tests so I cannot tell if there is really any defects.

This is not a complete rewrite but it adresses the top bottleneck found
after a profilling session.
March 29, 2018, 12:22 (GMT)
GPUShader: Add specialized widget base shader.

This vertex shader let us draw widgets with batches instead of imm calls.
March 29, 2018, 12:22 (GMT)
GWN: Batch: Add GWN_batch_uniform_4fv_array
March 29, 2018, 11:39 (GMT)
EEVEE: Fix bad framebuffer configuration

Was causing black / corrupted scene because of broken downsample

Add a debug check to not run into this problem again.
March 29, 2018, 10:43 (GMT)
Particles: Fix missing hair dynamics

Only if all the nasty looking bugs had such a simple solution...
March 29, 2018, 10:41 (GMT)
Particles: Remove dedicated recalc field from ParticleSettings

Use more generic id->recalc flag.

Also sanitize flag flush from settings to particle system.
Need to do such flush before triggering point cache reset, since
point cache reset will do some logic based on what flags are set.

This will solve crash caused by threaded update which will set
some bitflags while point cache reset is in progress.
March 29, 2018, 10:40 (GMT)
Cleanup, silence compiler warning in release build
March 29, 2018, 10:31 (GMT)
Draw manager: Make particle code drawing closer to old viewport

The way how particle state is to be accessed or used did not change
in Blender 2.8, so the drawing code should follow old design.

This code is somewhat duplicated from drawobject.c, but old draw
code is on the way to be removed anyway.

This fixes issue with disappearing particles when tweaking number
of particles.
March 29, 2018, 10:18 (GMT)
Draw manager: Make evaluation context a part of context state

This way we don't have to re-initialize the full evaluation
context in every area we need it.
March 29, 2018, 10:07 (GMT)
Draw manager: Use C99 struct initialization

Allows us to easily add fields which we never want to
be initialized, but still keep sane order of fields in
the structure itself.
March 29, 2018, 09:43 (GMT)
Draw manager: Use utility functions for dealing with state memset
March 29, 2018, 08:34 (GMT)
Draw manager: Cleanup, early output

Do early output and reduce level of indentation.
March 29, 2018, 08:27 (GMT)
Merge branch 'greasepencil-object' into GP-DepthOfField
March 29, 2018, 08:26 (GMT)
Merge branch 'blender2.8' into greasepencil-object
March 29, 2018, 08:23 (GMT)
WIP: Fix alpha channel and replace by weights

Still there is a problem with the external border.

Thanks Cl�ment for the help.
March 29, 2018, 08:08 (GMT)
Depsgraph: Tag datablock with original update flag

Tagging based on components might not be granular enough.

For example, for particles we would want to know what part
of particles was changed exactly. For the flushing we wouldn't
worry too much, because we will want less granular updates
there anyway.
March 29, 2018, 05:21 (GMT)
Fix T54457: build error with OpenVDB versions newer than 3.

Solution provided by Sven-Hendrik Haase.
March 29, 2018, 05:14 (GMT)
Fix T54455: OpenCL build error after recent changes.
March 28, 2018, 21:45 (GMT)
Cycles: take into account diffuse roughness for roughness baking.

Roughness baking previously defaulted to 1.0 for all diffuse materials,
now we also bake roughness values of Oren-Nayer and Principled Diffuse.

Differential Revision: https://developer.blender.org/D3115
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021