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-04-16Cleanup: trailing commasCampbell Barton
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-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-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-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-25Fix T62930 Eevee: Wireframe input node not working with certain compilerClément Foucault
2019-03-24Cleanup: redundant use of string formatting functionsCampbell Barton
2019-03-24GPU: State: Disable polygon smooth and line smooth when running --debug-gpuClément Foucault
This might prove usefull when debugging some driver perf issues.
2019-03-24GPU: Remove unused and deprecated GPU_line_stipple()Clément Foucault
2019-03-22Fix T58392 Texture limit size not workingClément Foucault
It was removed by inadvertence.
2019-03-22GPU: Create and use new GPU_texture_read_rect utility.mano-wii
2019-03-22Style: describe code using comments instead of preprocessing directives.mano-wii
2019-03-22Fix T62839 object scale changes normal map output in eeveeClément Foucault
Was using the wrong vector length.
2019-03-22GPU Matrix: Increase precision of GPU_matrix_unproject.mano-wii
2019-03-22Eevee: Fix tangent vector not normalized before interpolation.Clément Foucault
2019-03-20Cleanup: use lowercase for dimensions in function namesCampbell Barton
Most API's already use this convention.
2019-03-19Cleanup: comment blocksCampbell Barton
2019-03-16Cleanup: fix compiler warnings.Brecht Van Lommel
2019-03-16DRW: support clipping for relationship linesCampbell Barton
2019-03-15GPU: Simplify select shaders.mano-wii
The shaders are: `GPU_SHADER_3D_FLAT_SELECT_ID` and `GPU_SHADER_3D_UNIFORM_SELECT_ID`. This commit allows the drawing of the mesh select ids to be done on a 32UI format texture. This simplifies the shader that previously acted on the backbuffer and had to do an uint to rgba conversion. Differential Revision: https://developer.blender.org/D4350
2019-03-14Eevee: Fix black mesh when tangent is not presentClément Foucault
In this case, the generic vertex attribute is {0,0,0,1}. So we look for this case. This fixes black text objects with a normal map applied. Also this could help porting sculpt mode drawing to Eevee without supporting normal mapping. Note that will just fix black meshes due to T61870 but objects will not show their normal map. So it's not a fix for this issue.
2019-03-13Fix T59501: Eevee doesn't use integer node socketsClément Foucault
This is a hacky fix. We just convert the int as a float and use it as such. This works ok for small int but will not be correct for numbers greater than 4194303. Correct support would require deeper change for UBO creation and socket conversion.
2019-03-12Cleanup: comment on `GPU_pass_compile`.mano-wii
2019-03-12GPU: Avoid access violation while reading the `pass->shader`.mano-wii
2019-03-11GPU: Make the creation of opengl shaders more stable.mano-wii
This commit possibly fixes the T58938. The crash happens when a shader that is created in a rendering context is deleted and another shader with the same name/program of the deleted one is created in the same context and used in another context.
2019-03-09GPU Extension: Add OS definesClément Foucault
This makes possible to have os specific workaround inside the shaders.
2019-03-08Cleanup: use plural names for Main listsCampbell Barton
Convention was not to but after discussion on 918941483f7e we agree its best to change the convention. Names now mostly follow RNA. Some exceptions: - Use 'nodetrees' instead of 'nodegroups' since the struct is called NodeTree. - Use 'gpencils' instead of 'grease_pencil' since 'gpencil' is a common abbreviation in the C code. Other exceptions: - Leave 'wm' as it's a list of one. - Leave 'ipo' as is for versioning.
2019-03-04Fix/workaround T62167: Random crash when displaying wireframes.mano-wii
Some old AMD drivers crash when a vbo with stride 1 is used a few times. I have not found a real solution to this problem. So the solution was to use a vbo with stride 4 (which in theory is less efficient and takes up more memory space).
2019-03-01Fix T62090 : Eevee shader compilation: undefined variable "att1_is_srgb"Clément Foucault
The geom shader check was not needed and this uncovered an error in the GPU_BARYCENTRIC_TEXCO optimization recently commited.
2019-02-28Fix T62021: Wireframe input node doesn't work properlyClément Foucault
This fixes the general case. It is still not supported for hairs. Added a hack in the geometry node to avoid unnecessary geometry shader usage.
2019-02-27Cleanup: file rename lamp -> lightCampbell Barton
2019-02-27Cleanup: rename lamp -> lightCampbell Barton
2019-02-26Cleanup: indentation, trailing spaceCampbell Barton
2019-02-24GPUBuffer: Fix fast navigate in on smoooth multires gridClément Foucault
2019-02-22Multires: Don't force smooth shadingSergey Sharybin
There is still work needed to be done from multires side to fully support smooth shading. So can't just always have smooth shading. Roll back to a proper code in GPU side, the rest will be handled from CCG side.
2019-02-22GPUBuffers: Fix/cleanup multires implementationClément Foucault
The multires sculpt drawing was a not working in smooth mode. Also hidding was not supported by the wireframe overlay and flat shaded faces. Codewise it is cleaner and index buffers are only updated if the smoothing changes.
2019-02-18Fix T57457: animated image sequences not working in Eevee.Brecht Van Lommel
The dependency graph now handles updating image users to point to the current frame, and tags images to be refreshed on the GPU. The image editor user is still updated outside of the dependency graph. We still do not support multiple image users using a different current frame in the same image, same as 2.7. This may require adding a GPU image texture cache to keep memory usage under control. Things like rendering an animation while the viewport stays fixed at the current frame works though.
2019-02-18Cleanup: rename tpageflag to gpuflag, make it purely runtime data.Brecht Van Lommel
2019-02-18Sculpt Draw: Add support for wireframe geometryClément Foucault
This introduce the wireframe batches. Creating the indices buffer does not seems to slow down the sculpt in my testing (but it is kind of hard to test reliably) This includes a bit of cleanup in gpu_buffers.c.
2019-02-18doxygen: update doxygen & add balembic groupCampbell Barton
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.