Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-03-31 | Fix compiler error in Windows | Antonio Vazquez | |
C7555 use of designated initializers requires at least '/std:c++latest' This is not supported by the current Windows compiler version. | |||
2021-03-31 | Cleanup: Removed Unused Definition. | Jeroen Bakker | |
2021-03-31 | Compositor: Keep WorkPackages and Data Around. | Jeroen Bakker | |
WorkPackages struct was created when scheduled. This patch keeps the WorkPackages around and stores additional data with the workpackages. The speedup is to small to notice, but it is needed as preparation to introduce a faster scheduling method. | |||
2021-03-30 | Cleanup: remove unneeded method. | Jeroen Bakker | |
size can be accessed via instance attribute. | |||
2021-03-30 | Cleanup: clang-format. | Jeroen Bakker | |
2021-03-30 | Cleanup: Use constexpr. | Jeroen Bakker | |
2021-03-30 | Cleanup: Replace std::vector with blender::Vector. | Jeroen Bakker | |
2021-03-30 | Fix: Compile Error COM_Debug. | Jeroen Bakker | |
We should replace `ifdef COM_Debug` with a constexpr function. | |||
2021-03-30 | Cleanup: Replace virtual methods with bitflags. | Jeroen Bakker | |
2021-03-29 | Cleanup: Replace `is...Operation()` methods with a flag. | Jeroen Bakker | |
2021-03-29 | Cleanup: Use Bitflags For Booleans. | Jeroen Bakker | |
2021-03-29 | Cleanup: Add namespace to compositor. | Jeroen Bakker | |
2021-03-29 | Compositor: Add Anti-Aliasing node | Habib Gahbiche | |
This is an implementation of Enhanced Subpixel Morphological Antialiasing (SMAA) The algorithm was proposed by: Jorge Jimenez, Jose I. Echevarria, Tiago Sousa, Diego Gutierrez This node provides only SMAA 1x mode, so the operation will be done with no spatial multisampling nor temporal supersampling. See Patch for comparisons. The existing AA operation seems to be used only for binary images by some other nodes. Using SMAA for binary images needs no important parameter such as "threshold", so we perhaps can switch the operation to SMAA, though that changes existing behavior. Notes: 1. The program code assumes the screen coordinates are DirectX style that the vertical direction is upside-down, so "top" and "bottom" actually represent bottom and top, respectively. Thanks for Habib Gahbiche (zazizizou) to polish and finalize this patch. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D2411 | |||
2021-03-26 | Compositor: Fix array out of bounds. | Jeroen Bakker | |
2021-03-26 | Cleanup: Replace Methode Overloading With Default Value. | Jeroen Bakker | |
2021-03-26 | Cleanup: Remove ptr For Owned Children. | Jeroen Bakker | |
2021-03-26 | Cleanup: Replace std::vector With blender::Vector. | Jeroen Bakker | |
2021-03-26 | Cleanup: Replaced Typedef Enum With Enum Class. | Jeroen Bakker | |
2021-03-26 | Cleanup: Remove SocketReader. | Jeroen Bakker | |
SocketReader was added as an easier to understand interface on top of the NodeOperation. It was implemented as a base class of the NodeOperation and adds an additional hierarchy level. Ths change replaces the abstract class with a typedef. In the end we want to remove the typedef but will wait for some new nodes before doing so. | |||
2021-03-26 | Cleanup: Use Enum Class For PixelSampler. | Jeroen Bakker | |
2021-03-26 | Cleanup: Replace std::vector with blender::Vector. | Jeroen Bakker | |
2021-03-26 | Cleanup: Replaced unneeded branch with assert. | Jeroen Bakker | |
2021-03-24 | Cleanup: Add override keyword. | Jeroen Bakker | |
2021-03-24 | Spelling: getRenderPriotrity -> getRenderPriority | Jeroen Bakker | |
2021-03-24 | Cleanup: Removed commented out code. | Jeroen Bakker | |
2021-03-24 | Cleanup: replace index based forloops with iterators. | Jeroen Bakker | |
2021-03-24 | Cleanup: removed unnecessary allocations. | Jeroen Bakker | |
2021-03-24 | Fix: Memory Leak When Using Compositor. | Jeroen Bakker | |
When using the compositor inlined static vectors could allocate memory. This memory wasn't freed. This patch would make them inline again. | |||
2021-03-23 | Cleanup: WorkScheduler. | Jeroen Bakker | |
- Use constexpr for better readability. - Split in functions per backend. - Split work scheduler global struct in smaller structs. - Replaced std::vector with blender::Vector. - Removed threading defines in COM_defines.h | |||
2021-03-23 | Cleanup: remove internal functions from interface. | Jeroen Bakker | |
2021-03-23 | Compositor: Display generated inputs in Viewers and Previews | Manuel Castilla | |
Currently viewers and previews only display node trees that have at least one node with fixed resolution size. When all inputs are generated, nothing is displayed in most cases (RGB Node is displayed as a single pixel on previews). By generated I mean inputs not having resolution on their own, they create content dynamically given an output resolution. This patch adds support for those cases by using an appropriate preferred resolution on Viewers/Previews which propagates to generated inputs as output resolution. Now: - Viewers will display generated inputs with scene render resolution. - Previews will display them with scene aspect ratio. This is consistent with final render result and respects relative space. The benefit for the user is being able to compose images without any input source. For example for creating mask images or simple backgrounds. Reviewed By: Jeroen Bakker Differential Revision: https://developer.blender.org/D10611 | |||
2021-03-23 | Cleanup: remove unused include. | Jeroen Bakker | |
2021-03-22 | Cleanup: clang-format, trailing space | Campbell Barton | |
Minor manual tweak to prevent wrapping an array into columns. | |||
2021-03-21 | Cleanup: spelling, doxygen comment formatting | Campbell Barton | |
2021-03-19 | Cleanup: Use uint8_t for num of channels. | Jeroen Bakker | |
2021-03-19 | Cleanup: Use enum class for MemoryBufferExtend. | Jeroen Bakker | |
2021-03-19 | Cleanup: Remove unused states and vars from MemoryBuffer. | Jeroen Bakker | |
2021-03-19 | Cleanup: MemoryBuffer do not store width and height. | Jeroen Bakker | |
2021-03-19 | Cleanup: Rename copyContentFrom to fill_from. | Jeroen Bakker | |
2021-03-19 | Cleanup: Add copy constructor to MemoryBuffer. | Jeroen Bakker | |
2021-03-19 | Cleanup: Use ref to read from encapsuled data. | Jeroen Bakker | |
MemoryBuffer->getRect was returning a ptr. | |||
2021-03-19 | Cleanup: Replace ptr with ref (COM_MemoryBuffer). | Jeroen Bakker | |
2021-03-19 | Cleanup: Replace ptr with ref. | Jeroen Bakker | |
2021-03-19 | Cleanup: Use enum class for DataType. | Jeroen Bakker | |
2021-03-19 | Cleanup: enum class ChunkOrdering. | Jeroen Bakker | |
2021-03-19 | Cleanup: Use enum class for CompositorQuality. | Jeroen Bakker | |
2021-03-19 | Cleanup: Use enum class for CompositorPriority. | Jeroen Bakker | |
2021-03-19 | Cleanup: compositor - chunk order | Jeroen Bakker | |
No functional changes. | |||
2021-03-19 | Cleanup: Remove unneeded complexity | Jeroen Bakker | |
`determineDependingMemoryProxies` was mapping a value in a temp vector. | |||
2021-03-19 | Cleanup: add const. | Jeroen Bakker | |