문제

My laptop has NVIDIA Optimus (so there's an Intel GPU).

However, I want to use the NVIDIA card for Direct2D to see if I can get better performance.
(I don't want to modify the NVIDIA settings, I want to select the adapter within the program itself.)

How can I do this though?

There is no option I can find in D2D1CreateFactory that allows me to select the device or adapter... it always seems to select the default GPU. How do I obtain a ID2D1Factory for a non-default GPU?

도움이 되었습니까?

해결책

You need to use D3D10CreateDevice and then interoperability between D2D and D3D.

Direct3D allows you to get picky with the device, D2D not... AFAIK.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top