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-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
2019-05-30GPU: Enforce Uniform buffer alignment to 16bytesClément Foucault
This seems to be a requirement and remove some errors in renderdoc.
2019-05-30GPU: Remove GPU_INDEX_U8Clément Foucault
This type of indices is not natively supported on modern GPU and gives warning on some implementation. The memory savings it provides is also quite minimal and unlikely to be visible on nowadays hardware. This remove some uneeded struct members and makes primitive restart always enabled by default. This can be broken by addons if they are not careful enough but many other states have this problem. Also leverage GL_PRIMITIVE_RESTART_FIXED_INDEX if ARB_ES3_compatibility is supported. This removes all API calls to change restart index depending on indices length.
2019-05-303D View: Support light probe data clippingCampbell Barton
2019-05-28Cleanup: GPU: Move program point size to GPU_stateClément Foucault
2019-05-28Fix T64536 Eevee: Reflection texco no longer worksClément Foucault
2019-05-27Cleanup: Fix warnings in gpu_batchRay Molenkamp
Passing a const pointer to MEM_freeN/MEM_recallocN lead to C4090 'function': different 'const' qualifiers warnings with MSVC
2019-05-27Cleanup: Fix warnings in bf_gpuRay Molenkamp
Declaration and implementation got out of sync leading to warnings.
2019-05-27Fix T65066 Armature and bone selection is broken on macOSClément Foucault
2019-05-27Cleanup: DRW: Make clipped shader use UBO clip planesClément Foucault
2019-05-27Cleanup: DRW: Move WorldClipPlanes to builtin uniformClément Foucault
2019-05-23Eevee: Fix SSS energy disapearing with alpha blended materialClément Foucault
2019-05-22DRW/Eevee: Fix camera texture coordinates in rendersClément Foucault
This patch fix the issue introduced by recent refactor and fixes computation when using overscans.
2019-05-22GPU: Refactor GPU_batch_draw_range_exClément Foucault
Rename it to GPU_batch_draw_advanced and use base instance when possible. Also add GPU_batch_bind to bind the vao independantly of drawing commands.
2019-05-22DRW: Add DRWView to improve different view handlingClément Foucault
This will have multiple benefit. TODO detail benefits (culling, more explicit, handling of clipping planes) For now the view usage is wrapped to make changes needed more progressive.
2019-05-22GPU_select_buffer_stride_realign: fix crash when one of the rect's ↵mano-wii
dimensions is 0.
2019-05-21Fix T64758: crash loading certain DDS texturesBrecht Van Lommel
2019-05-20GPU: Use uint in GPU_batch_uniform_1ui.mano-wii
2019-05-17Eevee / Workbench: Fix hair normalsClément Foucault
Hair normals were not behaving correctly. This corrects their looks and fix the node shader geometry that was showing the flat normal.
2019-05-17Eevee: Remove the Subsurface Render checkboxClément Foucault
This is to simplify the usage of SSS. Now it automatically detect if there is any SSS material in the view and allocate the needed buffer if any.
2019-05-17Cleanup: Eevee: Use SET_FLAG_FROM_TESTClément Foucault
2019-05-16Cleanup: unused varsCampbell Barton
2019-05-16Fix T64678: wrong DDS normal map rendering after recent changesBrecht Van Lommel
2019-05-15GPU: Add a matrix unproject function that takes an inverted matrixCampbell Barton
This is normally already calculated so add a version that takes the inverted matrix.
2019-05-14Eevee: Fix volumetric shaders compilation errorClément Foucault
2019-05-14Fix T64601 Error division by zero in GPUVertexFormatClément Foucault
The windows compiler use signed int by default for enums so that broke the bit count I carefully did. Forcing uint fixes it.
2019-05-14GPU: Windows+Intel Selection FixJeroen Bakker
On Windows 10 with a post Februari 2019 Intel driver, the box selection is not working. It only detects the object centers, but not the drawn triangles of the basic engine. Reviewed By: fclem Maniphest Tasks: T62947 Differential Revision: https://developer.blender.org/D4857
2019-05-14GPU: Fixup and add assert to GPU_VERT_ATTR_NAMES_BUF_LENClément Foucault