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-05-06Cleanup: GPUMaterial remove unused struct membersClément Foucault
2019-05-05Cleanup: fallthrough attribute warningCampbell Barton
Fall-through without label or default after it.
2019-05-04Fix T63789: Precision issues in glsl noise texturemano-wii
There is a significant precision loss when converting large float values to int.
2019-05-04Cleanup: GPU_buffers: Remove obsolete debug drawingClément Foucault
2019-05-04GPUBuffers: Save / expose material index per buffersClément Foucault
2019-05-02Fix T63435 Incorrect fresnel and normals for hair strands on EEVEEClément Foucault
2019-05-01ClangFormat: run with ReflowComments on source/Campbell Barton
Prepare for enabling ReflowComments.
2019-04-30Fix T63393 Eevee: Specular Shader's Clear Coat does not functionClément Foucault
2019-04-29Cleanup: spellingCampbell Barton
2019-04-27Fix T63936 GPUSelect: Read depth in the endClément Foucault
fix T63936 introduced in 86914e713347. Reviewers: fclem Reviewed By: fclem Tags: #bf_blender Maniphest Tasks: T63936 Differential Revision: https://developer.blender.org/D4750
2019-04-26Eevee: Noise Texture: try to fix floating point accuracy issueClément Foucault
Cycles check for infinity and return 0.0 otherwise.
2019-04-26GPUSelect: Don't read depth on every drawClément Foucault
If the draw uses the same id as the previous draw, there is no need to read the depth buffer at this point, avoiding a CPU-GPU sync bubble. Fixes T62511 Selection is significantly slower in production scenes. With this patch glReadPixels is not the bottleneck. Regular drawing Is still very slow so I would suggest fixing the regular drawing first before trying to improve the selection algorithm.
2019-04-25Fix T63524: crash selecting an object in texture coordinate nodeBrecht Van Lommel
Using mat4 in a uniform buffer object was not properly supported.
2019-04-24Cleanup: sort CMake include pathsCampbell Barton
2019-04-23Fix T63178 Eevee animation render crashClément Foucault
If image buffer is not loaded and blender attempts to reload it (during `BKE_image_acquire_ibuf`) over and over for each frame rendered. When attempting this reload, image_load_image_file is calling `BKE_image_free_buffers` and tag the Image to the (GPU) image_free_queue (because this run on the rendering thread). If the main thread decide to redraw the UI and go through `GPU_free_unused_buffers` they all get deleted and if that happens before the rendering thread use them ... segfault. If I replace the environment textures with correct ones (the file does not seems to contain them), there is no crash when rendering. I used a list of GPUTexture from blender Image to increase and decrease the reference counter correctly. This add very little memory and computation overhead.
2019-04-23GPUBuffers: Fix wrong assertClément Foucault
For good this time... forgot to commit it in the previous commit rBedde48f57844.
2019-04-23Workbench: Support Active Vertex ColorJeroen Bakker
Currently it is not possible to view the vertex colors of an object. To optimize the workflow, workbench will need to support Vertex Colors. The Vertex Colors is a new option in `shading->color_type`. When objects do not have vertex color, the objects will be rendered with the `V3D_SHADING_OBJECT_COLOR`. In order to support vertex colors in workbench the current texture/solid shading structure is migrated to a primary shaders and fallback shaders. Fix: T57000 Reviewers: brecht, fclem Differential Revision: https://developer.blender.org/D4694
2019-04-22Cleanup: style, use braces for gpuCampbell Barton
2019-04-21Cleanup: comments (long lines) in gpuCampbell Barton
2019-04-20Cleanup: quiet extra-semicolon warningCampbell Barton
2019-04-18Cleanup: comment blocksCampbell Barton
2019-04-17GPUBuffers: Remove wrong assertClément Foucault
The assert was not true if the pbvh node had no triangle. Also update the comment to reflect that.
2019-04-17ClangFormat: adjust '#if 0' to fix gpu_buffers.c indentCampbell Barton
2019-04-17ClangFormat: format '#if 0' codeCampbell Barton
Previous cleanups didn't account for space after '#'.
2019-04-17ClangFormat: format '#if 0' code in source/Campbell Barton
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-04-16Cleanup: trailing commasCampbell Barton
2019-04-16Fix broken build when using system Glew on linux.Bastien Montagne
2019-04-16CMake: add library deps to CMakeLists.txtCampbell Barton
Tested to work on Linux and macOS. This will be enabled once all platforms are verified. See D4684
2019-04-14CMake: prepare for BLENDER_SORTED_LIBS removalCampbell Barton
No functional change, this adds LIB definition and args to cmake files. Without this it's difficult to migrate away from 'BLENDER_SORTED_LIBS' since there are many platforms/configurations that could break when changing linking order. Manually add and enable WITHOUT_SORTED_LIBS to try building without sorted libs (currently fails since all variables are empty). This check will eventually be removed. See T46725.
2019-04-14Cleanup: doxy commentsCampbell Barton
Use doxy references to function and enums, also correct some names which became out of sync.
2019-04-10Cleanup: use STR_ELEM macroCampbell Barton
2019-04-10Cleanup: spellingCampbell Barton
2019-04-06Fix T59014: black/corrupted viewport with Intel HD on Windows 7/8.Brecht Van Lommel
Work around bug in the Intel driver: https://software.intel.com/en-us/forums/graphics-driver-bug-reporting/topic/550740
2019-04-05GPU: Fix typoClément Foucault
2019-04-05Fix T61035 Draw manager crash opening file with curvesClément Foucault
Move free callback call to GPU_batch_discard to prevent the crash. The issue was that clearing can happen after referencing to an instance buffer and that's perfectly legal.
2019-04-05EEVEE: Fix compilationJeroen Bakker
Introduced by f0d6879f5c7998be98ac406bd6ddaa5104961206
2019-04-05GPU not able to allocate textureJeroen Bakker
In the case of the report a GL_PROXY_TEXTURE_2D_ARRAY of 2509x2509x1 failed to be allocated. This is a work around as the GL_PROXY_TEXTURE_* is not reliable. Reviewed By: brecht, fclem Maniphest Tasks: T63223 Differential Revision: https://developer.blender.org/D4651
2019-04-05Fix T62892 EEVEE HDRI lightning glitchClément Foucault
Clamp the texture at sampling time. This is not the best way to do it but this is the fastest/simplest. The cost is rather negligeable.
2019-04-02Cleanup: empty expression statement warningCampbell Barton
2019-04-01Edit Mesh Selection: Clear out buffer that indicates out of bounds pixels.mano-wii
This prevents the use of uninitialized buffer. In addition, use `memset` instead of assigning in a loop.
2019-03-29Fix T62178 Eevee: Texture Box mapping not matching Cycles if object is scaledClément Foucault
The wrong transformation was used. Add a new matrix specially for this case. This also fix the Node texture coordinate that was suffering the same issue.
2019-03-29Fix T58387 Voronoi(Cells) does not work on eevee (amd + windows)Clément Foucault
Thanks to Gabor Fekete for helping finding the issue. Was caused by uninitialized variable. Also took the oportunity to use comp swizzling instead of multiple assignment.
2019-03-29DRW/Eevee: Add correct support for OrcoClément Foucault
Until now, Orcos were computed by the gpu (GLSL) and were not taking into account the modifier stack (breaking orco for deformed mesh). Now Orco is now computed on CPU but only if a modifier stack is present. Tagging that an ORCO layer is present is done via a 4th component, which is a waste of memory/bandwidth. Best would be to do the same as auto attrib color space and save a bool uniform somewhere but for now it's too disruptive.
2019-03-28Fix build errorsmano-wii
From rBd5cb425b8745
2019-03-28Possible fix for T62999: Crash when select in edit mode.mano-wii
Apparently some drivers don't allow `glReadPixel` read out pixels of texture boundaries. Intersect `rect` to avoid such cases.
2019-03-28Fix T63023: wrong Eevee window coordinates for background.Brecht Van Lommel
2019-03-27Fix T62680 Mirrored objects have flipped binormal vectors in LookDevClément Foucault
Pass binormal sign via object info.
2019-03-25Fix T62930 Eevee: Wireframe input node not working with certain compilerClément Foucault
2019-03-24Cleanup: redundant use of string formatting functionsCampbell Barton