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-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-15Fix T67009, T67013: crash with Intel HD Graphics and some older driversBrecht Van Lommel
Add more versions to the workaround list.
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-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-22Cleanup: add bracesCampbell Barton
2019-06-22GPU_matrix: Add GPU_matrix_unproject_precalcCampbell Barton
Pre-calculates values needed for unprojecting to avoid a matrix invert and extracting projection matrix dimensions for every call to GPU_matrix_unproject. Use for gizmo selection drawing.
2019-06-21Fix T62876: Camera Background ImagesJeroen Bakker
Migrate old legacy code to the draw mamager/object mode. The old legacy version did not work with wireframe. By migrating the code to modern draw manager code we have mode control on the drawing process. Still background images do not work with OIT, the cause seems to be that the transparent pixels are treated as background pixels. Also There are some artifacts when working with Holdouts and DoF, this is because the draw engines do not pass the correct alpha values. Reviewers: fclem, brecht Differential Revision: https://developer.blender.org/D4638
2019-06-18Cleanup: GPU: Fix codestyleClément Foucault
2019-06-17Fix T57650 UVEdit: selection not visible if behind unselected UVsClément Foucault
Use depth buffer to order the uv edges correctly to always draw selected edges on top. We still use the double drawing workaround for points to keep the smooth antialiased display.
2019-06-13Fix T61768 Eevee Offscreen renderingClément Foucault
The issue was caused by a bad usage of GPUOffscreen. The Framebuffer was created using a window framebuffer and used in a viewport callback when another GPUContext was bound. This change allows up to 3 framebuffers per GPUOffscreen. Most common case will be using 2 framebuffers (one for init and one for drawing) but in the case of more (bad usage) it will just degrade performance a bit.
2019-06-12Cleanup: spelling in commentsCampbell Barton
2019-06-09Fix T65657: crash in float texture painting, after recent changesBrecht Van Lommel
2019-06-07Fix T64625: Eevee image textures with alpha have dark edgesBrecht Van Lommel
Now texture storage of images is defined by the alpha mode of the image. The downside of this is that there can be artifacts near alpha edges where pixels with zero alpha bleed in. It also adds more code complexity since image textures are no longer all stored the same way. This changes allows us to keep using sRGB texture formats, which have edge darkening when stored with premultiplied alpha. Game engines seems to generally do the same thing, and we want to be compatible with them.
2019-06-06Fix T63729 Eevee: Bump does not follow normal directionClément Foucault
2019-06-06Fix T65383 UI graphics glitches on macOS with Intel HD 4000Clément Foucault
glDrawArrays is not supposed to be affected by primitive restart but osx drivers never cease to surprise me.
2019-06-06Fix T58920: Dyntopo sculpt and snake hook brush artifacts.mano-wii
This is a mix of solutions rBe60b18d51d58 and rB52af5fa31fbc. What happened was that when a node of the BVH gets 0 vertices, the batch is untouched and therefore still drawn.
2019-06-06Fix missing header for gpu_state.cCampbell Barton
Failed to build without WITH_LEGACY_OPENGL.
2019-06-06Cleanup: argument sign mismatch warningCampbell Barton
2019-06-05Fix crash when editing shaders on Intel HD 4000.mano-wii
In the Intel HD 4000 driver a shader has to be deleted in the same context in which it is created. However, because you can't use a rendering context on different threads, to maintain the multithreaded compilation, the solution was to use the `GL_ARB_get_program_binary` and copy the binary generated for the shader and generate a shader on the main context using that binary. This solution is limited only to Intel HD 4000 and windows. Reviewers: fclem Reviewed By: fclem Differential Revision: https://developer.blender.org/D5019
2019-06-05Fix T65298 Eevee: Principled BSDF doesn't use specular with metalsClément Foucault
This does add some more register pressure as it passes a new vec3 down the shading function. But for now we care more about accuracy than efficiency.
2019-06-04Fix T64214 Eevee: Issue with Emission node and Alpha blendingClément Foucault
Emission node was outputing alpha information but is was not supposed to. Match cycles reference.
2019-06-04Fix T65042 Eevee: Hair Info Tangent Normal not working correctlyClément Foucault
2019-06-04GPU: High Definition Color BufferJeroen Bakker
For offscreen rendering a high definition color buffer is needed. Without it there are banding issues when doing multi-sampling viewport rendering. Reviewed By: fclem Maniphest Tasks: T65287 Differential Revision: https://developer.blender.org/D5009
2019-06-03GPU: Fix Restart index bugClément Foucault
Restart index can have been changed in another context and the static var can get out of sync. A better solution is to set the restart index when binding the VAO. It also have less perf impact. Fix T65364 Corrupted mesh display on macOS
2019-06-03Cleanup: style, use braces in GPUCampbell Barton
2019-06-02GPU: support default framebuffer with ID not equal to 0Tomoaki Kawada
2019-05-31Cleanup: style, use braces in source/ (include disabled blocks)Campbell Barton
2019-05-31Cleanup: style, use braces in source/Campbell Barton
Automated using clang-tidy.
2019-05-30Cleanup: GPUMaterial: Remove unused struct membersClément Foucault
2019-05-30Eevee: Fix volumetric shader if nodetree uses a bsdf nodeClément Foucault