screen_capture_lite icon indicating copy to clipboard operation
screen_capture_lite copied to clipboard

About onFrameChanged data source

Open logic-coder opened this issue 3 years ago • 2 comments
trafficstars

Hi, why not use official function:GetFrameDirtyRects https://docs.microsoft.com/en-us/windows/win32/api/dxgi1_2/nf-dxgi1_2-idxgioutputduplication-getframedirtyrects to get changed rectangles?

Isn't this function more efficient?

What's wrong with this function?

logic-coder avatar Nov 19 '21 09:11 logic-coder

It might be. If you want to do a Pull request with the codechange ill accept it! The current method in code is very fast and works for all platforms so i went that direction. But again.. Always happy to get some pull requests :)

smasherprog avatar Nov 19 '21 23:11 smasherprog

OK, If I'm successful, I will push the Pull request.

logic-coder avatar Nov 22 '21 02:11 logic-coder

going to close this

smasherprog avatar Jan 29 '23 17:01 smasherprog