Releases: smasherprog/screen_capture_lite
Updated API, Performance and memory improvments
Exposed previously hidden structs into the public API
Decreased memory usage when capturing the desktop it only the onNewFrame is defined and not the onFrameChanged
Improved performance in the above scenario as well
The performance and memory improvement is about 25%.
Added an ExtractAndConvertToRGBA function to convert from the BGRA format for users.
Windows Performance and Memory Usage
On windows, when user has defined onNewFrame and did NOT define onFrameChanged and onImage, then an opportunity for skipping memory allocations and skipping the copy of images is available.
This leads to about a 25% increase in the number of frames that can be captured and memory usage is cut in half.
This is ONLY available if onNewFrame is defined the following functions are NOT defined: onFrameChanged; onImage.
Will implement Mac and Linux implementations next
Added Callback for image preprocessing
Added Function onImage which allows users to change the image in any way. A great example is changing the image pixel format from BGRA to RGBA
Refactored implementation details
Mac Scaling Fix
Updating the Mac code to account for display scaling
Mac GetMonitors perf fix
Fixed Mac GetMonitors Function so it doesn't allocate an image to get the resolution.
Mac Display bug fix
Fixed issue where the mac display dimensions did not match the screen resolution.
Desktop Duplication Impl update
Updated the DX duplication implementation
Updated API and windows improvments
Updated the API slightly to allow for serialization of the struct objects.
Updated implementation of the windows desktop duplication to remove false positives for differences. This change reduces most of the rects for differences.
Windows Desktop Dup Performance Improvment
Significantly improved the windows desktop duplication performance.
Updated cmake build
2.0.1 Fixed example cmake