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-07-18Correct Blender version after last commitHans Goudey
c08d84748804 incremented the patch version instead of the file subversion for versioning code when adding new options. This commit resets the patch version and instead bumps the file subversion.
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-18Simulation: cleanup deduplicating attribute input nodesJacques Lucke
2020-07-18Simulation: cleanup how data inputs are handledJacques Lucke
2020-07-18Simulation: deduplicate code that finds particle simulation namesJacques Lucke
2020-07-18Simulation: fix memory leakJacques Lucke
2020-07-18UV: edge-ring selection supportCampbell Barton
Matches edit-mesh edge-ring selection.
2020-07-18BMesh: utility for checking shared edge with limit argumentCampbell Barton
2020-07-18Cleanup: split UV loop select out of mouse picking functionCampbell Barton
2020-07-18UV: utility functions for sticky select settingCampbell Barton
Support setting vert/edge/face selection, using the sticky option without performing a second loop over all faces to flush selection. Existing selection code didn't take advantage of BMesh connectivity since the logic is from before BMesh was included.
2020-07-18Cleanup: spellingCampbell Barton
2020-07-18Cleanup: unused warningCampbell Barton
2020-07-18Cleanup: UV selectionCampbell Barton
Remove commented code, move penalty calculation into own function.
2020-07-18Cleanup: KnifeTool: Replace glPolygonOffset by GPU_polygon_offsetClément Foucault
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: View3D: Encapsulate OpenGL callsClément Foucault
Removes GL_DEPTH_RANGE query as it is not changed anywhere.
2020-07-18Cleanup: GPU: Encapsulate scissor testClément Foucault
2020-07-18Cleanup: GPU: Encapsulate glScissorClé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: Sequencer: Use GPUTexture instead of opengl callsClément Foucault
2020-07-18Cleanup: WM: Use GPUTexture for radial control drawingClément Foucault
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: glutil: Use GPUTexture in immDrawPixelsTexScaled_clippingClément Foucault
This also cleanup the code for readability.
2020-07-18Cleanup: ClipDraw: Use GPUTexture api and fix a vmem leakClément Foucault
Leak was silent as it was an opengl handle.
2020-07-18Cleanup: GPUShader: Remove unused builtin shaderClément Foucault
2020-07-18Cleanup: ClipDraw: Remove usage of GPU_SHADER_3D_IMAGE_MODULATE_ALPHAClément Foucault
2020-07-18Cleanup: PaintCursor: Use GPUTexture instead of opengl callsClé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-18Cleanup: GPU: Replace glBlendFunc by GPU equivalentClément Foucault
2020-07-17Simulation: extract node tree parsing code to separate fileJacques Lucke
2020-07-17Simulation: separate code from node tree parsing and solverJacques Lucke
2020-07-17Fix T78959: Show current frame indicator when interface is lockedHans Goudey
When the playhead drawing moved to an overlay, a check was added to keep it from drawing with a locked interface. This is necessary for some overlays, but not this one, so this removes the check, making it the responsibility of the editor. A context function is added to make that check easier in the future. Differential Revision: https://developer.blender.org/D8313
2020-07-17Transform: use GHASH_ITER when restoring customdataGermano Cavalcante
2020-07-17Cleanup: Removed incorrect `// namespace DEG` commentSybren A. Stüvel
No functional changes.
2020-07-17Refactor: move ParticleFunction to separate fileJacques Lucke
2020-07-17Cleanup: avoid static initialization order issues when accessing CPPTypesJacques Lucke
Instead of depending on static initialization order of globals use static variables within functions. Those are initialized on first use. This is every so slighly less efficient, but avoids a full class of problems.
2020-07-17Simulation: move initial simulation code from bf_blenkernel to bf_simulationJacques Lucke
I removed bf_blenkernel from `nodes/CMakeLists.txt` again (added it yesterday), because now this was causing me unresolved symbol errors... Without it, cmake seems to link the libraries bf_simulation, bf_blenkernel and bf_nodes in the right order. Not sure if that is just luck or if it is guaranteed. It was possible to fix the issue by using cmakes `LINK_INTERFACE_MULTIPLICITY`, but that is probably bad style.
2020-07-17Fix T77867: Link Duplicate Object crashes during batch creationJeroen Bakker
When using link duplicated objects it could happen that one object is calculating the GPUBuffers and the second object is marking these buffers invalid. This introduces threading issues. This patch fixes this by combining the surface and surface per material batches. Most likely the surface per material batches are used and when requested you will most likely need the surface batch for the depth tests and overlays. During tests it slightly improves performance as batches aren't thrown away without using it. After this patch we can add a quick path for meshes with one material and two materials. Alternative approaches that have been checked: - sync extraction per object: reduced performance to much (-15%) ({D8292}) - post checks: reduced the threading issues, but didn't solve it. - separating preparation and execution of the extraction ({D8312}) Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D8329
2020-07-17Cleanup: silence unused variable warningAnkit Meel
Reviewed By: fclem Differential Revision: https://developer.blender.org/D8328
2020-07-17BLI: add StringRefNull.c_str() methodJacques Lucke
This should be used whenever you rely on the fact, that the returned pointer points to the beginning of a null-terminated array.
2020-07-17Simulation: use better api for adding and removing simulation statesJacques Lucke
2020-07-17Cleanup: avoid warning about redundant access specifierSybren A. Stüvel
No functional changes.