Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-05-02DRW: Make use of new multisample resolve pass.Clément Foucault
2018-05-02DRW: Add DRW_multisamples_resolve functionClément Foucault
This manually resolve the content of a multisample FB to a single sample FB. It resolves color (combine the 2 framebuffers in a logical maner keeping depth buffer occlusion etc..) instead of a plain glBlitFramebuffer copy.
2018-05-02GPUShader: Optimize Multisample resolve shader.Clément Foucault
Group all fetches together without interleived alu to let compiler optimize. Also do the color samples only if needed. Went from 3.86ms to [1.11-2.22]ms [min-max] for the 16samples resolve pass on my nvidia card.
2018-05-02DRW: Add DRW_STATE_BLEND_PREMUL blend mode.Clément Foucault
2018-05-02GPUShader: Add GPU_SHADER_2D_IMAGE_MULTISAMPLE_2/4/8/16Clément Foucault
This shader is used instead of blitting back and forth to a single sample buffer. This means it resolves the color and depth samples and outputs a fragment which can be depth tested and blended on top of an existing framebuffer. We do static shader variation with manual loop unrolling for performance reason. In my test I get 25% more perf with intel integrated gpu and 75% performance gain with dedicated nvidia card compared to a single shader with a uniform for sample count.
2018-05-02GWN: Add GWN_batch_uniform_mat4.Clément Foucault
2018-05-02GPUShader: Fix simple lighting modulating alpha colorClément Foucault
2018-05-02Object Mode: Draw non meshes before outline.Clément Foucault
This makes the outlines occluded by the other objects. This was a problem before the outline refactor but now there is no need for it.
2018-05-02DRW: Armature: New bone outline shader.Clément Foucault
This fix the issue with the zfighting we were getting at bones edges. Moreover, this enables us to render arbitrarly large outline with varying thickness.
2018-05-02DRW: Add Adjacency info for bone shapes.Clément Foucault
Only for cube and octahedral shapes for now.
2018-05-02GWN: Add GL_TRIANGLES_ADJACENCY to supported primitive types.Clément Foucault
2018-05-02GPUTexture: Fix wrong multisample texture size.Clément Foucault
2018-05-02Paint Vertex Mode: Fix shader not free.Clément Foucault
2018-05-02Eevee: Add Lamp Specular multiplier.Clément Foucault
It's usefull in some scenario to tweak the specular intensity of a light without modifying the diffuse contribution. Cycles allows it via lamps material which we currently not support in Eevee. This is a good workaround for now.
2018-05-02Fix T54864: Assert when changing interface display scaleDalai Felinto
The asserts were introduced on rB5f6c45498c92 (top-bar). Although the asserts are technically correct, they would fail even in master. And the commit simply added the asserts without fixing the situation itself (as you can see in the report, it is really simple to reproduce this issue). I propose we remove the asserts and bring them back only when the situation itself is fixed. It doesn't make sense to introduce asserts that would fail with the current state of the code.
2018-05-02Merge branch 'blender2.8' of git.blender.org:blender into blender2.8Jeroen Bakker
2018-05-02Workbench: Linear => srgb conversionJeroen Bakker
2018-05-02Fix mysterious crash on tooltipsDalai Felinto
This was a hard to reproduce bug, but it happens often enough. Basically the tooltip of the active tool was been invoked when context had no valid ScrArea which would lead to a crash. We now just return no tooltip in these cases.
2018-05-02Depsgraph: Add function to iterate over all original IDsSergey Sharybin
2018-05-02Use meaningful debug name for render depsgraphSergey Sharybin
2018-05-02Depsgraph: Show log message when tagging specific depsgraph IDSergey Sharybin
2018-05-02Depsgraph: Add per-depsgraph debug name which is shown in the logsSergey Sharybin
This way we can see for which depsgraph datablock is being evaluated for.
2018-05-02Depsgraph: Cleanup, naming conventionsSergey Sharybin
2018-05-02Depsgraph: Make all print messages to respect per-depsgraph debug flagsSergey Sharybin
2018-05-02Depsgraph: Allow per-depsgraph debug flagsSergey Sharybin
Currently only affects EVALUATION debug messages, rest are to be supported on per-depsgraph level.
2018-05-02Depsgraph: Use utility function to print CoW update functionSergey Sharybin
2018-05-02Depsgraph: Make bAction a part of dependency graphSergey Sharybin
There are various values which depends on context in there, for example current driver value and original DNA value f-curve is applied for. This partially fixes issue with not being able to tweak keyed values when material preview is open. The material preview is not being currently updated against non-keyed changes since every tweak of material property does full preview scene depsgraph evaluation.
2018-05-02Workbench: Fix interface change in draw maangerJeroen Bakker
2018-05-02Merge branch 'blender2.8' of git.blender.org:blender into blender2.8Jeroen Bakker
2018-05-02Vertex Paint: Use Linear colors for interpolation.Clément Foucault
This matches Cycles and Eevee's behaviour.
2018-05-02Eevee: Fix vertex color being in srgb space.Clément Foucault
Now they are properly converted to Linear space before interpolation. Since the only way to get vertex color in eevee and cycles is via the attribute node with the CD_AUTO_FROM_NAME flag, we have to know at binding time which type of buffer will be connected to this auto input. We store this information inside the batch cache (together with the according uniform name) and pass it as uniform to the shader which does conversion if needed. The same shader can then be reused to draw another mesh with different auto layers configuration.
2018-05-02Modifiers: ported Skin modifier DerivedMesh → MeshSybren A. Stüvel
2018-05-02Renamed 1st parameter of BKE_bmesh_to_mesh from `me` to `be`Sybren A. Stüvel
It's a BMesh, it shouldn't be called `me`
2018-05-02Static Override: Move 'auto' flag into override struct, expose it to RNA.Bastien Montagne
2018-05-02Modifiers: ported Solidify modifier DerivedMesh → MeshSybren A. Stüvel
2018-05-02Mesh: add runtime customdata dirty flagsCampbell Barton
2018-05-02Mesh: move runtime members to own structCampbell Barton
2018-05-02Workbench: update of 3dviewJeroen Bakker
2018-05-02Merge branch 'master' into blender2.8Campbell Barton
2018-05-02Merge branch 'master' into blender2.8Campbell Barton
2018-05-02Lattice modifier: take comparison out of loopSybren A. Stüvel
2018-05-02Modifiers: ported Lattice modifier DerivedMesh → MeshSybren A. Stüvel
2018-05-02Merge branch 'master' into blender2.8Campbell Barton
2018-05-02UI: open toolbar hold buttons on dragCampbell Barton
Allows for faster tool switching, no need to wait for it to open.
2018-05-02Modifiers: ported Bevel modifier DerivedMesh → MeshSybren A. Stüvel
This introduces `BKE_mesh_to_bmesh_ex()`, which exposes all of the `BMeshFromMeshParams` parameters to the caller. This is required to enable the `calc_face_normal` flag, which is required for the Bevel modifier. This also introduces `BKE_bmesh_to_mesh()`, which allocates a new `Mesh`, converts the `BMesh` to it, and returns it. The returned mesh is owned by the caller.
2018-05-02Workbench: Single Color ModesJeroen Bakker
- ability to switch between Single Color, Object Color, Material Color and Random Color - fixed Shading and Lighting popover - Renamed Solid -> Single Color
2018-05-02UI: don't allow disabled popovers to open w/ dragCampbell Barton
First dragging over active menu items could be used to open a disabled popover.
2018-05-02UI: run redo poll check in operators contextCampbell Barton
2018-05-02UI: fix operator redo showing empty popoversCampbell Barton
Many operators have no options, showing a popover button with no content isn't good.
2018-05-02UI: disable popovers when panel poll failsCampbell Barton