質問

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