4 ms·
The whole Terminal code is open source https://github.com/microsoft/terminal/blob/main/src/renderer/dx/DxRenderer.cpp#L1077 https://github.com/microsoft/termin
by zeusk 6y ago
The whole Terminal code is open source
https://github.com/microsoft/terminal/blob/main/src/renderer/dx/DxRenderer.cpp#L1077 https://github.com/microsoft/terminal/blob/main/src/renderer...
The first comment in this function (DxEngine::StartPaint), for example:
// If retro terminal effects are on, we must invalidate everything for them to draw correctly.
// Yes, this will further impact the performance of retro terminal effects.
// But we're talking about running the entire display pipeline through a shader for
// cosmetic effect, so performance isn't likely the top concern with this feature.
- mdoms 6y agoNice find!
- colejohnson66 6y agoWhat is with the formatting on that file? Is seems like every other line of code has no indentation.
- renewiltord 6y agoWhat do you mean? It looks normal to me. Do you mean the blocks here? https://github.com/microsoft/terminal/blob/main/src/renderer/dx/DxRenderer.cpp#L1150 https://github.com/microsoft/terminal/blob/main/src/renderer...