Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-07-18 | Correct Blender version after last commit | Hans 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-18 | UI: Status Bar Statistics and Other Options | Harley 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-18 | Simulation: cleanup deduplicating attribute input nodes | Jacques Lucke | |
2020-07-18 | Simulation: cleanup how data inputs are handled | Jacques Lucke | |
2020-07-18 | Simulation: deduplicate code that finds particle simulation names | Jacques Lucke | |
2020-07-18 | Simulation: fix memory leak | Jacques Lucke | |
2020-07-18 | UV: edge-ring selection support | Campbell Barton | |
Matches edit-mesh edge-ring selection. | |||
2020-07-18 | BMesh: utility for checking shared edge with limit argument | Campbell Barton | |
2020-07-18 | Cleanup: split UV loop select out of mouse picking function | Campbell Barton | |
2020-07-18 | UV: utility functions for sticky select setting | Campbell 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-18 | Cleanup: spelling | Campbell Barton | |
2020-07-18 | Cleanup: unused warning | Campbell Barton | |
2020-07-18 | Cleanup: UV selection | Campbell Barton | |
Remove commented code, move penalty calculation into own function. | |||
2020-07-18 | Cleanup: KnifeTool: Replace glPolygonOffset by GPU_polygon_offset | Clément Foucault | |
2020-07-18 | Cleanup: GPU: Encapsulate clipDistances | Clément Foucault | |
This also remove some non functionnal state changes that were left from legacy code. | |||
2020-07-18 | Cleanup: WM: Encapsulate stereo draw buffers binding | Clément Foucault | |
2020-07-18 | Cleanup: GPU: Encapsulate glProvokingVertex | Clément Foucault | |
2020-07-18 | Cleanup: GPU: Encapsulate glFrontFace | Clément Foucault | |
2020-07-18 | Cleanup: GPU: Encapsulate Backface culling | Clément Foucault | |
2020-07-18 | Cleanup: View3D: Encapsulate OpenGL calls | Clément Foucault | |
Removes GL_DEPTH_RANGE query as it is not changed anywhere. | |||
2020-07-18 | Cleanup: GPU: Encapsulate scissor test | Clément Foucault | |
2020-07-18 | Cleanup: GPU: Encapsulate glScissor | Clément Foucault | |
2020-07-18 | Cleanup: GPU: Encapsulate glViewport calls | Clément Foucault | |
2020-07-18 | Cleanup: GPU: Wrap GL_UNPACK_ROW_LENGTH in GPU_state | Clément Foucault | |
Also go back to default value of 0 after usage. | |||
2020-07-18 | Cleanup: Sequencer: Use GPUTexture instead of opengl calls | Clément Foucault | |
2020-07-18 | Cleanup: WM: Use GPUTexture for radial control drawing | Clément Foucault | |
2020-07-18 | Cleanup: GPU: Set default GL_UNPACK_ALIGNMENT to 1 | Clé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-18 | Cleanup: glutil: Use GPUTexture in immDrawPixelsTexScaled_clipping | Clément Foucault | |
This also cleanup the code for readability. | |||
2020-07-18 | Cleanup: ClipDraw: Use GPUTexture api and fix a vmem leak | Clément Foucault | |
Leak was silent as it was an opengl handle. | |||
2020-07-18 | Cleanup: GPUShader: Remove unused builtin shader | Clément Foucault | |
2020-07-18 | Cleanup: ClipDraw: Remove usage of GPU_SHADER_3D_IMAGE_MODULATE_ALPHA | Clément Foucault | |
2020-07-18 | Cleanup: PaintCursor: Use GPUTexture instead of opengl calls | Clément Foucault | |
2020-07-18 | GPU: Add immBindTexture and immBindTextureSampler | Clément Foucault | |
2020-07-18 | GPUTexture: Add better swizzle support | Clément Foucault | |
2020-07-18 | Cleanup: GPU: Make icon drawing use GPUTexture | Clément Foucault | |
This remove all gl function calls. Adds a new sampler only for icon drawing. | |||
2020-07-18 | Cleanup: GPU: rename bglPolygonOffset to GPU_polygon_offset | Clément Foucault | |
And move it to GPU module. | |||
2020-07-18 | Cleanup: GPU: Replace glBlendFunc by GPU equivalent | Clément Foucault | |
2020-07-17 | Simulation: extract node tree parsing code to separate file | Jacques Lucke | |
2020-07-17 | Simulation: separate code from node tree parsing and solver | Jacques Lucke | |
2020-07-17 | Fix T78959: Show current frame indicator when interface is locked | Hans 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-17 | Transform: use GHASH_ITER when restoring customdata | Germano Cavalcante | |
2020-07-17 | Cleanup: Removed incorrect `// namespace DEG` comment | Sybren A. Stüvel | |
No functional changes. | |||
2020-07-17 | Refactor: move ParticleFunction to separate file | Jacques Lucke | |
2020-07-17 | Cleanup: avoid static initialization order issues when accessing CPPTypes | Jacques 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-17 | Simulation: move initial simulation code from bf_blenkernel to bf_simulation | Jacques 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-17 | Fix T77867: Link Duplicate Object crashes during batch creation | Jeroen 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-17 | Cleanup: silence unused variable warning | Ankit Meel | |
Reviewed By: fclem Differential Revision: https://developer.blender.org/D8328 | |||
2020-07-17 | BLI: add StringRefNull.c_str() method | Jacques 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-17 | Simulation: use better api for adding and removing simulation states | Jacques Lucke | |
2020-07-17 | Cleanup: avoid warning about redundant access specifier | Sybren A. Stüvel | |
No functional changes. |