is screenshotting by DirectDraw faster than GDI way?

让人想犯罪 __ 提交于 2019-12-11 15:48:26

问题


just to save some time, probably anybody tried this or saw somewhere related info.

asking about DirectDraw and not about DirectX because I need to support Win2000 and up, and I cannot install DirectX on target PC


回答1:


tried capturing by Direct3D and compared with GDI way. Results are not unambiguous. On my Win7 x64 with rather good video card D3D way shows ~2 times performance boost. On my WinXP 32bits laptop with not-integrated but old video card D3D works much much much longer. On another WinXP (I don't know any hardware details) D3D works almost 2 times slower.



来源:https://stackoverflow.com/questions/4975312/is-screenshotting-by-directdraw-faster-than-gdi-way

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!