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
2019-08-20Merge branch 'master' into sculpt-mode-featuresPablo Dobarro
2019-08-18Shading: Refactor Math node and use dynamic inputs.OmarSquircleArt
- Implement dynamic inputs. The second input is now unavailable in single operand math operators. - Reimplemenet the clamp option using graph expansion for Cycles. - Clean up code and unify naming between Blender and Cycles. - Remove unused code. Reviewers: brecht Differential Revision: https://developer.blender.org/D5481
2019-08-17Cleanup: spellingCampbell Barton
2019-08-16Fix T68009: Recognize X.Org/AMD as GPU_DEVICE_ATI and open source driverRémi Verschelde
Reviewed By: #gpu_viewport, fclem Differential Revision: https://developer.blender.org/D5392
2019-08-16Cleanup: spellingCampbell Barton
2019-08-15GPU: Vertex Format: Increase number of byte per attribute nameClément Foucault
This reduces the risks of hash collision while maintaining a small number of character per attrib.
2019-08-15Mesh Batch Cache: Split UV an tangent into 2 distinct VBOsClément Foucault
This is done because they don't have the same update frequency. UV can be persistent even on geometry update (ex: skinned object) but tangents can change if the normals change. Also the name buffer per vbo was too small to contain all names.
2019-08-15GPU: Vertex Format: ADd function for safe GLSL attrib nameClément Foucault
This remove code duplication and use base63 encoding of the hash. Use mumur hash to have more randomness.
2019-08-14Cleanup: Fix build error with MSVCLazydodo
C99 style initializers are C++20 feature and should not be used. Reported by @deadpin on chat.
2019-08-14Mesh Batch Cache: Refactor + MultithreadClément Foucault
For clarity sake, the batch cache now uses exclusively per Loop attributes. While this is a bit of a waste of VRAM (for the few case where per vert attribs are enough) it reduces the complexity and amount of overall VBO to update in general situations. This patch also makes the VertexBuffers filling multithreaded. This make the update of dense meshes a bit faster. The main bottleneck is the IndexBuffers update which cannot be multithreaded efficiently (have to increment a counter and/or do a final sorting pass). We introduce the concept of "extract" functions/step. All extract functions are executed in one thread each and if possible, using multiple thread for looping over all elements. Reviewed By: brecht Differential Revision: http://developer.blender.org/D5424
2019-08-14Cleanup: move trailing comments to avoid wrapping codeCampbell Barton
Some statements were split across multiple lines because of their trailing comments. In most cases it's clearer to put the comments above.
2019-08-14Manage GPU_matrix stacks per GPUContextJulian Eisel
Previously, we had one global `GPU_matrix` stack, so the API was not thread safe. This patch makes the stack be per `GPUContext`, effectively making it local per thread (`GPUContext` is located in thread local storage). Reviewed By: brecht Differential Revision: https://developer.blender.org/D5405
2019-08-14Eevee: Fix background alpha regressionClément Foucault
2019-08-14Eevee: Add support for the holdout nodeClément Foucault
Support should be full when using Alpha Blend mode and partial if using any other blend mode (opaque / alpha clip / alpha hashed).
2019-08-14Eevee: Improve Transparent BSDF behaviorClément Foucault
Alpha blended Transparency is now using dual source blending making it fully compatible with cycles Transparent BSDF. Multiply and additive blend mode can be achieved using some nodes and are going to be removed.
2019-08-14Fix T68537 Eevee: Modulo node behaves unexpectedly/inconsistentlyClément Foucault
There was still some float imprecision when both input values are equal.
2019-08-13Shading: Add Clamp node to Cycles and EEVEE.OmarSquircleArt
This patch adds a new node that clamps a value between a maximum and a minimum values. Reviewers: brecht Differential Revision: https://developer.blender.org/D5476
2019-08-13Shading: Add Map Range node to Cycles and EEVEE.OmarSquircleArt
This patch adds a new Map Range node that linearly remaps an input value from a range to another. This node is similar to the compositor's Map Range node. Reviewers: brecht, JacquesLucke Differential Revision: https://developer.blender.org/D5471
2019-08-07Fix T67623 Eevee: Modulo node making unexpected/inconsistent behaviourClément Foucault
This was a precision error. Using a more robust approach
2019-08-07Remove compiler fix for unsupported MSVC versionJulian Eisel
2019-08-06Fix T67437: Vertex Colors Not Visible In SculptModeJeroen Bakker
Recently Shader parameter names for UVMaps and vertex colors were renamed. The sculpt drawing code still used the old parameter names. Reviewed By: fclem Differential Revision: https://developer.blender.org/D5320
2019-08-01GPU: more complete coverage of drivers for Intel shader compilation workaroundBrecht Van Lommel
2019-08-01Cleanup: misc spelling fixes in variable names & definesCampbell Barton
T68045 by @luzpaz
2019-08-01Cleanup: misc spelling fixesCampbell Barton
T68035 by @luzpaz
2019-07-31Fix T67951: Bone selection is broken on some Intel GPUsmano-wii
The problem is that the `glDrawArraysInstancedBaseInstance` is ignoring the last parameter. The solution is to indicate that `GLEW_ARB_base_instance` is not supported in these cases. Reviewers: fclem, brecht, jbakker Reviewed By: fclem, brecht Differential Revision: https://developer.blender.org/D5383
2019-07-303D View: Move selection API to a Selection engine.mano-wii
This commit moves the API of selecting faces, vertices and edges to a DRW manager engine. Reviewers: campbellbarton, fclem Subscribers: jbakker, brecht Differential Revision: https://developer.blender.org/D5090
2019-07-25Merge branch 'master' into sculpt-mode-featuresPablo Dobarro
2019-07-15Fix T67009, T67013: crash with Intel HD Graphics and some older driversBrecht Van Lommel
Add more versions to the workaround list.
2019-07-15Fix PBVH sculpt vertex color drawingPablo Dobarro
2019-07-15Merge branch 'master' into sculpt-mode-featuresPablo Dobarro
2019-07-15Fix T63349: image texture garbage collection causing freezesBrecht Van Lommel
Images were being freed often because the tagging for when the image was last used was missing. Differential Revision: https://developer.blender.org/D5252
2019-07-15Fix crash running GPU shader.format_calc() with attributes like gl_VertexIDJeroen Bakker
When using opengl attributes such as gl_VertexID in a shader its location is set to -1. This location was used without checking in an attribute array. This fails big time when called from python. For example `print(shader.format_calc())` made python crash immediately. this fixes https://github.com/JacquesLucke/animation_nodes/issues/1141 Reviewed By: fclem, brecht Differential Revision: https://developer.blender.org/D5231
2019-07-15Fix crash HD Graphics 4000 Series On WindowsJeroen Bakker
There was an workaround implemented for specific the Intel HD Graphics 4000 GPU on Windows platform. Other GPU from the same series also need this workaround. We will enable the workaround for specific drivers. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5239
2019-07-10Fix T57489 Eevee: Texture coordinate object reference not working for worldClément Foucault
2019-07-09Cleanup: GPU: Correct commentClément Foucault
2019-07-09Fix T61474: laggy interaction on Windows/NVIDIA when gizmos are visibleBrecht Van Lommel
Thanks to Sergey and Clément for helping to track this down.
2019-07-09GPU: ATI Proxy checkJeroen Bakker
The AMD PRO driver on linux PROXY check also fails. Now the configuration ATI/Unix/Official driver will also bypass the Proxy test. Reviewed By: fclem Differential Revision: https://developer.blender.org/D5205
2019-07-09GPU: added debug value to investigate lagging issue in T6147Brecht Van Lommel
2019-07-09Fix T66573 Heap Corruption when baking to irradiance volume probeClément Foucault
This is an AMD Proprietary driver bug. Will be reported upstream.
2019-07-08Fix T65534 Eevee don't respect active UVmapClément Foucault
2019-07-08Fix T66351 Wireframe display in sculpt-mode broke when hiding partsClément Foucault
2019-07-07Cleanup: spellingCampbell Barton
2019-07-07Cleanup: rename gpencil chess -> checkerCampbell Barton
Match existing texture name.
2019-07-03Fix T66372 Convert to mesh with subdivision breaks topologyClément Foucault
This was caused by a check that was not taking the restart index into account.
2019-07-02Cleanup: move comments onto own lines to avoid breaking linesCampbell Barton
2019-07-02Cleanup: rename set_inverted_drawing, move to GPU_stateCampbell Barton
2019-06-28Merge branch 'master' into sculpt-mode-featuresPablo Dobarro
2019-06-26Revert "GPU: Create and use new GPU_texture_read_rect utility."mano-wii
This reverts commit e061cb44378efaf159a30fb1c5834db48ffb2bb3. This function is problematic on some operating systems. # Conflicts: # source/blender/draw/intern/draw_manager.c # source/blender/gpu/GPU_texture.h # source/blender/gpu/intern/gpu_texture.c
2019-06-24Fix T65812: Image empty has wrong aspect with limit texture sizeCampbell Barton
2019-06-22Merge branch 'master' into sculpt-mode-featuresPablo Dobarro