[PR #4664] [MERGED] Add DxEngine drawing ETW tracing for debugging and diagnostics purposes #25886

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/4664
Author: @miniksa
Created: 2/20/2020
Status: Merged
Merged: 2/20/2020
Merged by: @undefined

Base: masterHead: dev/miniksa/drawtel


📝 Commits (6)

  • b032e7e Add tracelogging provider to DX and add something that prints out what portions of the screen are considered invalid.
  • 031e558 Fix tracelogging multiple registration.
  • ce3dfcc Make the invalid printout give the character counts as well as pixel counts to save mental effort.
  • 2ce5452 suppress SA warnings on traceloggingwrite.
  • f966539 CODE FORMAT
  • d589877 SA!!!!! shakes fist

📊 Changes

2 files changed (+41 additions, -0 deletions)

View changed files

📝 src/renderer/dx/DxRenderer.cpp (+35 -0)
📝 src/renderer/dx/DxRenderer.hpp (+6 -0)

📄 Description

Summary of the Pull Request

Adds an ETW provider for tracing out operations inside the DirectX Renderer.

References

This supports #2191 and #778 and other rendering issues.

PR Checklist

  • I work here

Detailed Description of the Pull Request / Additional comments

This declares and defines the provider with the a GUID appropriate for the namespace and adds an initial invalidation rectangle method for figuring out what is being drawn mostly to understand what could be differential.

Validation Steps Performed

Implemented provider.
Opened real-time ETW tracing tool
Ran the Terminal and watched invalidation events appear live


🔄 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/4664 **Author:** [@miniksa](https://github.com/miniksa) **Created:** 2/20/2020 **Status:** ✅ Merged **Merged:** 2/20/2020 **Merged by:** [@undefined](undefined) **Base:** `master` ← **Head:** `dev/miniksa/drawtel` --- ### 📝 Commits (6) - [`b032e7e`](https://github.com/microsoft/terminal/commit/b032e7ee591c96503043f99cd4d0b787c693c6d7) Add tracelogging provider to DX and add something that prints out what portions of the screen are considered invalid. - [`031e558`](https://github.com/microsoft/terminal/commit/031e558c09b49e323a75c5ef56e287a860866aaa) Fix tracelogging multiple registration. - [`ce3dfcc`](https://github.com/microsoft/terminal/commit/ce3dfcc8fbea68e48cb2d39d0ca1c47f286237dc) Make the invalid printout give the character counts as well as pixel counts to save mental effort. - [`2ce5452`](https://github.com/microsoft/terminal/commit/2ce5452f97e705101dc93369be4cf06acdf378a7) suppress SA warnings on traceloggingwrite. - [`f966539`](https://github.com/microsoft/terminal/commit/f966539f17077a42a43340079de0f691beaf8156) CODE FORMAT - [`d589877`](https://github.com/microsoft/terminal/commit/d5898772d456d574ea330bb36726c5b1f5b81d51) SA!!!!! *shakes fist* ### 📊 Changes **2 files changed** (+41 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/renderer/dx/DxRenderer.cpp` (+35 -0) 📝 `src/renderer/dx/DxRenderer.hpp` (+6 -0) </details> ### 📄 Description ## Summary of the Pull Request Adds an ETW provider for tracing out operations inside the DirectX Renderer. ## References This supports #2191 and #778 and other rendering issues. ## PR Checklist * [x] I work here ## Detailed Description of the Pull Request / Additional comments This declares and defines the provider with the a GUID appropriate for the namespace and adds an initial invalidation rectangle method for figuring out what is being drawn mostly to understand what could be differential. ## Validation Steps Performed Implemented provider. Opened real-time ETW tracing tool Ran the Terminal and watched invalidation events appear live --- <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:12:26 +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#25886