[PR #13757] [MERGED] AtlasEngine: Fix debugGlyphGenerationPerformance #29745

Open
opened 2026-01-31 09:36:40 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/13757
Author: @lhecker
Created: 8/16/2022
Status: Merged
Merged: 8/18/2022
Merged by: @undefined

Base: mainHead: dev/lhecker/atlas-engine-debug-fix


📝 Commits (1)

  • 7e40768 AtlasEngine: Fix debugGlyphGenerationPerformance

📊 Changes

2 files changed (+9 additions, -2 deletions)

View changed files

📝 src/renderer/atlas/AtlasEngine.cpp (+7 -1)
📝 src/renderer/atlas/AtlasEngine.h (+2 -1)

📄 Description

debugGlyphGenerationPerformance used to only test the performance of
text segmentation/parsing, so I renamed it to debugTextParsingPerformance.
The new debugGlyphGenerationPerformance actually clears the glyph atlas now.

Additionally this fixes a bug with debugGeneralPerformance:
If a DXGI_SWAP_CHAIN_FLAG_FRAME_LATENCY_WAITABLE_OBJECT is requested,
it needs to be used. Since debugGeneralPerformance is for testing without
V-Sync, we need to ensure that the waitable object is properly disabled.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/13757 **Author:** [@lhecker](https://github.com/lhecker) **Created:** 8/16/2022 **Status:** ✅ Merged **Merged:** 8/18/2022 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `dev/lhecker/atlas-engine-debug-fix` --- ### 📝 Commits (1) - [`7e40768`](https://github.com/microsoft/terminal/commit/7e40768f86622bcfd43e8ad211cd266cfa38f101) AtlasEngine: Fix debugGlyphGenerationPerformance ### 📊 Changes **2 files changed** (+9 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/renderer/atlas/AtlasEngine.cpp` (+7 -1) 📝 `src/renderer/atlas/AtlasEngine.h` (+2 -1) </details> ### 📄 Description `debugGlyphGenerationPerformance` used to only test the performance of text segmentation/parsing, so I renamed it to `debugTextParsingPerformance`. The new `debugGlyphGenerationPerformance` actually clears the glyph atlas now. Additionally this fixes a bug with `debugGeneralPerformance`: If a `DXGI_SWAP_CHAIN_FLAG_FRAME_LATENCY_WAITABLE_OBJECT` is requested, it needs to be used. Since `debugGeneralPerformance` is for testing without V-Sync, we need to ensure that the waitable object is properly disabled. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:36:40 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#29745