[PR #13757] AtlasEngine: Fix debugGlyphGenerationPerformance #29750

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

Original Pull Request: https://github.com/microsoft/terminal/pull/13757

State: closed
Merged: Yes


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.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/13757 **State:** closed **Merged:** Yes --- `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.
claunia added the pull-request label 2026-01-31 09:36:42 +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#29750