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-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-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-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-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-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-27Fix T65066 Armature and bone selection is broken on macOSClé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: 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-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
2019-05-14Cleanup: quiet warningCampbell Barton
2019-05-14Cleanup: DRW: Move ModelMatrix declaration to common_view_libClément Foucault
2019-05-14GPUVertexFormat: Reduce size of structsClément Foucault
With this patch, the size of GPUVertFormat goes from 1240 to 388.
2019-05-14GPU: Add GPU_vertbuf_discard and GPU_BATCH_UNUSEDClément Foucault
GPU_vertbuf_discard to clear buffer containers in place. GPU_BATCH_UNUSED to tag batch that are cleared and not immediatly usable.
2019-05-14BLI_memblock: Add more optionsClément Foucault
- Use int instead of uint for safety and less conversions. - Add free callback - Add cleared alloc option
2019-05-14GPU: Move Material index to nodetree evaluationClément Foucault
This removes the need to pass the Material* all over the place in the draw manager. Cleanup comming right after.
2019-05-14GPU: Remove ModelViewMatrix and ModelViewMatrixInverse usageClément Foucault
2019-05-13Cycles/Eevee: unified and improved texture image color space handlingBrecht Van Lommel
Cycles now uses the color space on the image datablock, and uses OpenColorIO to convert to scene linear as needed. Byte images do not take extra memory, they are compressed in scene linear + sRGB transfer function which in common cases is a no-op. Eevee and workbench were changed to work similar. Float images are stored as scene linear. Byte images are compressed as scene linear + sRGB and stored in a GL_SRGB8_ALPHA8 texture. From the GLSL shader side this means they are read as scene linear, simplifying the code and taking advantage of hardware support. Further, OpenGL image textures are now all stored with premultiplied alpha. Eevee texture sampling looks a little different now because interpolation happens premultiplied and in scene linear space. Overlays and grease pencil work in sRGB space so those now have an extra conversion to sRGB after reading from image textures. This is not particularly elegant but as long as engines use different conventions, one or the other needs to do conversion. This change breaks compatibility for cases where multiple image texture nodes were using the same image with different color space node settings. However it gives more predictable behavior for baking and texture painting if save, load and image editing operations have a single color space to handle. Differential Revision: https://developer.blender.org/D4807
2019-05-09Cleanup: DRW: Remove DRW_pass_freeClément Foucault
2019-05-09DRW: Remove support for NormalMatrixClément Foucault
2019-05-09Cleanup: GPUShader: Remove unused edge fancy shaderClément Foucault
2019-05-09Eevee: Fix Tangent vectors using NormalMatrix and make them world spaceClément Foucault
Making them world space by default remove a lot of legacy conversion from viewspace.
2019-05-08DRW: Remove WorldNormalMatrixClément Foucault
2019-05-08GPU: Remove GPU_INVERSE_NORMAL_MATRIXClément Foucault
The end goal for this is to lower the number of needed matrices. This also cleanup some uneeded transformation.
2019-05-08Cleanup: DRW/GPU: Remove eye vector uniformClément Foucault
2019-05-08Cleanup: GPUShader: Use switch instead of ifsClément Foucault
2019-05-08GPUViewport: Fix possible hash colision with enabled enginesClément Foucault
Also fix engine data validation that was not previously not working.
2019-05-08DRW: Replace BLI_mempool by BLI_memblockClément Foucault
This remove a avoid the big overhead present in BLI_mempool when it is cleared.
2019-05-05Cleanup: fallthrough attribute warningCampbell Barton
Fall-through without label or default after it.
2019-05-04Cleanup: GPU_buffers: Remove obsolete debug drawingClément Foucault