Skip to content
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

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2125,7 +2125,7 @@ CDisplaySet::GetGraphicsAccelerationCaps(
*pulDisplayUniqueness = m_ulDisplayUniquenessLoader;
}

if (m_rgpDisplays.GetCount() == 0 || m_fNonLocalDevicePresent)
Copy link
Contributor

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.

Copy link
Contributor Author

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?

Copy link
Contributor

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.

if (m_rgpDisplays.GetCount() == 0)
{
//
// No display - no acceleration
Expand Down