New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable h/w acceleration in RDP #7015
Enable h/w acceleration in RDP #7015
Conversation
/azp run |
No pipelines are associated with this pull request. |
|
@lindexi yep, checking this. |
It would be good to do some testing on this or be aware of the behavior changes. Does it need to be behind a compatibility switch? |
Wrote a comment on the issue rather than here mistakenly - #3215 (comment) |
/azp run |
No pipelines are associated with this pull request. |
@lindexi, we have already included these changes in test. We will get back to you with more details. |
Thank you @dipeshmsft |
Reference #7684 |
@@ -2125,7 +2125,7 @@ CDisplaySet::GetGraphicsAccelerationCaps( | |||
*pulDisplayUniqueness = m_ulDisplayUniquenessLoader; | |||
} | |||
|
|||
if (m_rgpDisplays.GetCount() == 0 || m_fNonLocalDevicePresent) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removing the m_fNonLocalDevicePresent
flag from here will enable the query for rendering tier to be returned > 0 but will not actually enable the hardware acceleration.
In the process of creating the D3DDevices there is one more condition which check if non local device is present the code fallbacks to software rendering.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Kuldeep-MS Thank you, and can I close this PR after #7684 merged?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, you can close this PR now or after #7684 is merged.
Fixes #3215
Description
Enable h/w acceleration in RDP. See #3215
cc @vatsan-madhavan
Customer Impact
The application can use the h/w acceleration in RDP
Regression
None.
Testing
Just CI.
Risk
Medium. This will change some rendering behavior.
Microsoft Reviewers: Open in CodeFlow