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
2020-08-07Code Style: use "#pragma once" in source directoryJacques Lucke
This replaces header include guards with `#pragma once`. A couple of include guards are not removed yet (e.g. `__RNA_TYPES_H__`), because they are used in other places. This patch has been generated by P1561 followed by `make format`. Differential Revision: https://developer.blender.org/D8466
2020-08-06Cleanup: Remove bad level calls from space imageDalai Felinto
Groundwork for upcoming fix (D8472)
2020-08-06Cleanup: Stop accessing gpu_batch_presets_reset()Dalai Felinto
The current code is accessing this from outside the gpu "namespace". As such it should be accessing GPU_ functions, not gpu_ functions. This is also a place to centralize the XXX message that will be addressed upon refactor. So we can reuse this call in other places that need the same temporary workaround. Groundwork for upcoming fix (D8472)
2020-08-06Fix T79309: Safe Areas are not visibleCampbell Barton
2020-08-05Fix T77346: GPU Workaround Always Render Using Main ContextJeroen Bakker
In Blender 2.90 EEVEE materials were refactored that introduced crashes on Intel GPUs on Windows. The crash happened in the `local_context_workaround` that temporary stored compiled materials in a binary form to reload it in the main GL context. It has been tested that the workaround isn't needed anymore for HD6xx GPUs, but it is still needed for HD4000. After several unsuccesfull fixes we came to the conclusion that we could not support the local context workaround and needed to come with a different workaround. The idea of this patch is that in these cases there is only a single context that is used for rendering. Threads that uses these contextes are guarded by a mutex and will block. Impact on User Level: * Due to main mutex lock the UI freezes when rendering or baking or feel less snappy Reviewed By: Clément Foucault, Brecht van Lommel Differential Revision: https://developer.blender.org/D8410
2020-08-05GPUTexture: Fix missing breakClément Foucault
2020-08-05GPUTexture: Check PROXY textures for cubemap typesClément Foucault
It can happen than some textures are not supported on some implementation even if they fix the `GPU_max_texture_size` and `GPU_max_texture_layers`.
2020-08-05GPUTexture: Improve debug printClément Foucault
2020-07-31Fix T79397: blurry icons at some UI scales, after recent refactorBrecht Van Lommel
Solution found by Yevgeny Makarov.
2020-07-23Fix T79158: Eevee cubemaps shows blackGermano Cavalcante
Same as T75943 that was fixed by rBff97545c50f4
2020-07-20Fluid: Refactored smoke noise systemSebastián Barschkis
This refactor is in response to reports in which the adaptive domain with noise caused a crash (e.g. T79009). It should also fix issues where the smoke appeared to be cut off when using the adaptive domain together with noise. It is also possible that some of these changes improve the lines issue from T74559.
2020-07-19Fix T66937: Blank view on navigation with auto-deph & large clip-endCampbell Barton
2020-07-19Cleanup: spellingCampbell Barton
2020-07-18UI: Status Bar Statistics and Other OptionsHarley Acheson
Status Bar can show scene statistics, memory usage, version, etc set by context menu. Part two of T75672. Differential Revision: https://developer.blender.org/D7557 Reviewed by Julian Eisel
2020-07-18Cleanup: spellingCampbell Barton
2020-07-18Cleanup: GPU: Encapsulate clipDistancesClément Foucault
This also remove some non functionnal state changes that were left from legacy code.
2020-07-18Cleanup: WM: Encapsulate stereo draw buffers bindingClément Foucault
2020-07-18Cleanup: GPU: Encapsulate glProvokingVertexClément Foucault
2020-07-18Cleanup: GPU: Encapsulate glFrontFaceClément Foucault
2020-07-18Cleanup: GPU: Encapsulate Backface cullingClément Foucault
2020-07-18Cleanup: GPU: Encapsulate scissor testClément Foucault
2020-07-18Cleanup: GPU: Encapsulate glViewport callsClément Foucault
2020-07-18Cleanup: GPU: Wrap GL_UNPACK_ROW_LENGTH in GPU_stateClément Foucault
Also go back to default value of 0 after usage.
2020-07-18Cleanup: GPU: Set default GL_UNPACK_ALIGNMENT to 1Clément Foucault
Ogl default is 4 but for almost all cases, blender use tightly packed format. This avoid confusion and state change for the common case. The only case that __might__ need alignement is DDS loader (untested) so leaving this as it is.
2020-07-18Cleanup: GPUShader: Remove unused builtin shaderClément Foucault
2020-07-18GPU: Add immBindTexture and immBindTextureSamplerClément Foucault
2020-07-18GPUTexture: Add better swizzle supportClément Foucault
2020-07-18Cleanup: GPU: Make icon drawing use GPUTextureClément Foucault
This remove all gl function calls. Adds a new sampler only for icon drawing.
2020-07-18Cleanup: GPU: rename bglPolygonOffset to GPU_polygon_offsetClément Foucault
And move it to GPU module.
2020-07-17Fix vertex selection error from recent refactorCampbell Barton
Temporary fix for regression in 8084b7e6e273e.
2020-07-16Cleanup: GPU: Move depth/color masks functions to GPU_stateClément Foucault
2020-07-16Cleanup: GPU: Move XOR logic op to gpu_state.cClément Foucault
2020-07-16Cleanup: GPU: Remove GL_DITHER usageClément Foucault
2020-07-16Cleanup: GPU: Move quad buffer stereo check to GPU moduleClément Foucault
2020-07-16Cleanup: GPU: Replace all glReadPixels by GPU equivalentClément Foucault
2020-07-15GPU: Shader: Move IN_OUT define to shader GPU_shader_create_exClément Foucault
This adds the opportunity to use it in multiple places.
2020-07-15Fix T78369: Sculpt Vertex Colors not rendering in EEVEEPablo Dobarro
The vertex colors node was using the M_COL attribute type but Sculpt Vertex Colors use CD_PROP_COLOR Now the Vertex Color node also fallbacks to legacy vertex colors if Scultp Vertex Colors are not enabled as experimental. Reviewed By: brecht Maniphest Tasks: T78369 Differential Revision: https://developer.blender.org/D8185
2020-07-15Cleanup: spellingCampbell Barton
2020-07-13Clang Tidy: enable readability-non-const-parameter warningJacques Lucke
Clang Tidy reported a couple of false positives. I disabled those `NOLINTNEXTLINE`. Differential Revision: https://developer.blender.org/D8199
2020-07-09Sculpt: Make Sculpt Vertex Colors features experimentalPablo Dobarro
This disables all Sculpt Vertex Colors tools, operators, panels and rendering capabilities and puts them under the "Use Sculpt Vertex Colors" experimental option. Reviewed By: brecht Differential Revision: https://developer.blender.org/D8239
2020-07-07Fix T75943 EEVEE: Cubemaps shows blackClément Foucault
Caused by faulty driver implementation. Force fallback method.
2020-07-06GPU: Remove local shaders workaround for Intel/WindowsJeroen Bakker
It has been tested that local shaders workaround isn't needed for the latest Windows/Intel 6xx GPU's. Currently the local shaders workaround doesn't work anymore during the investigation it was detected that the intel drivers didn't need it anymore. Local shaders should still be fixed as it is also used for some legacy iGPU's. The current work around crashes when doing preview renders in EEVEE as the default materials aren't available but for the work around they should. (See T77346 for more information)
2020-07-03Clang-Tidy: Enable readability-redundant-control-flowHans Goudey
2020-07-03Cleanup: Fluid renaming from old 'manta' naming to new 'fluid' namingSebastián Barschkis
Changed variable names from mmd, mds, mfs, and mes to fmd, fds, ffs, and fes. The author of this commits lights a candle for all the merge conflicts this will cause.
2020-07-02GPUOffScreen: Remove the sample parameterClément Foucault
This is because the DRW module is no longer compatible with drawing using MSAA. This also change the Python API.
2020-07-01Fix missing GPU image free in background modeBrecht Van Lommel
This is legacy code from before Eevee and Workbench rendering in background mode was supported. Avoid memory leak by only queueing GPU textures to be freed when we know they have been allocated. Differential Revision: https://developer.blender.org/D8172
2020-07-01GPU: Apple/Nvidia Proxy checkStefan Werner
Apple's Nvidia driverPROXY check also fails. Now the configuration Apple/Nvidia will also bypass the Proxy test. Maniphest Tasks: T78175 Differential Revision: https://developer.blender.org/D8160
2020-07-01Fix T77641 Sculpt mode performance regression in 2.83Clément Foucault
2020-06-30Cleanup: spellingCampbell Barton
2020-06-29Fix T74220 Mantaflow Color Mapping not ignoring alpha valueClément Foucault
And also remove some sRGB hack.