是比GDI更快的DirectDraw屏幕截图了吗? [英] is screenshotting by DirectDraw faster than GDI way?
问题描述
为了节省时间,可能有人尝试过此操作或看到了一些相关信息.
just to save some time, probably anybody tried this or saw somewhere related info.
询问DirectDraw而不是DirectX,因为我需要支持Win2000及更高版本,并且我无法在目标PC上安装DirectX
asking about DirectDraw and not about DirectX because I need to support Win2000 and up, and I cannot install DirectX on target PC
推荐答案
尝试通过Direct3D捕获并与GDI方法进行比较.结果并不明确.在具有相当不错的显卡的Win7 x64上,D3D方式显示性能提高了约2倍.在装有未集成但旧的视频卡D3D的WinXP 32位笔记本电脑上,工作时间长得多.在另一个WinXP上(我不知道任何硬件细节),D3D的运行速度慢了将近2倍.
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.
这篇关于是比GDI更快的DirectDraw屏幕截图了吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!