forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use CM_Get_DevNode_PropertyW APIs instead of hardcoded registry reads
CollectDriverInfoD3D was looking in hardcoded registry locations for information about the driver. The registry locations are an internal implementation detail of the OS. Change replaces the hardcoded registry lookups with calls to the CM_Get_DevNode_PropertyW API. This change is a step along the way to retrieving the to-be-used adapter from DXGI instead of relying on EnumDisplayDevices API. Bug: 973695 Change-Id: Ic6120099d9ee283bde2c054c7011779af8e528ce Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1711049 Commit-Queue: Rafael Cintron <rafael.cintron@microsoft.com> Reviewed-by: Zhenyao Mo <zmo@chromium.org> Cr-Commit-Position: refs/heads/master@{#680238}
- Loading branch information
1 parent
eb67207
commit 6e44633
Showing
2 changed files
with
99 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters