Re[3]: Получить скриншот Windows desktop
От: alexander_r  
Дата: 28.09.19 13:30
Оценка: 2 (1)
Здравствуйте, Vicul, Вы писали:

V>https://stackoverflow.com/questions/30021274/capture-screen-using-directx


V>Как оно по скорострельности?


GetFrontBufferData(...)

The buffer pointed to by pDestSurface will be filled with a representation of the front buffer, converted to the standard 32 bits per pixel format D3DFMT_A8R8G8B8.
This method is the only way to capture an antialiased screen shot.
This function is very slow, by design, and should not be used in any performance-critical path.
For more information, see Lost Devices and Retrieved Data.


еще при отключенной композитной отрисовке не захватываются окна с прозрачностью, но в принципе у меня на gtx 960 работало нормально
самый лучший вариант это duplicationApi, но он только Win8+
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.