KB 937106, Direct3D 9, GetDC, Alpha Channel
- KB 937106: Performance is poor in a WPF-based application in which you have enabled layered windows in Windows XP or in Windows Server 2003
- MSDN Forums: Don't understand what's accelerated with layered windows
検証コードは後で書く.
- Windows Vista の Direct3D 9 では GetDC でアルファチャンネルを含むサーフェイスデータを取得できる
- Windows XP / Server 2003 では,以前は無理だったけど KB 937106 をあてると可能になる
- GetDC されたビットマップ間の転送が,VRAM 間で完結するか,システムメモリを経由するかはドライバ次第
という理解で良いのかな.