microsoft / Windows-appsample-marble-maze

A 3D DirectX game for the Universal Windows Platform.
MIT License
111 stars 65 forks source link

Uses Integrated instead of Discrete GPU #4

Closed stonstad closed 5 years ago

stonstad commented 6 years ago

... as a result, I am seeing subpar framerate. How do we modify a DirectX C++ UWP app to use a discrete card when available?

sjointer commented 6 years ago

This isn't an "official" answer, but I was under the impression that there is a method in DirectX that you call which returns all the available graphics adapters, and another method that you call to determine the capabilities of each specific adapter, then choose the one you want to use. I'm not certain what that method is exactly. If I come across it, I will post again and update this answer.

KarlErickson commented 5 years ago

Sorry, I don't have an answer either. Your best chance, if you don't already have an answer, is to ask on one of the user forums out there, such as https://social.msdn.microsoft.com/Forums/windowsapps/en-US/home?forum=wpdevelop.