bryal / dxgcap-rs

Screen capturing with DXGI for Windows in Rust
GNU Affero General Public License v3.0
49 stars 15 forks source link

Performance optimization #4

Open daniel-abramov opened 7 years ago

daniel-abramov commented 7 years ago

Would it be possible to rewrite some parts so that they use DirectX shaders? That should speed up the capturing process as pixel operations like "picture rotation" may benefit from the execution on the video card rather than CPU.

bryal commented 7 years ago

This sounds like a good idea, but I don't know much about either DirectX or shaders. Also, I don't have access to a windows env to develop in. :(

If you were to implement it yourself, please do submit a pull request! :)