Skip to content

Conversation

@ironclownfish
Copy link
Contributor

Improves the speed of image capture.
-Locks the render target, reads the capture, then unlocks, instead of using ReadPixels().
-Removed some unneeded complexity, like PNG compression and float-valued rgb
-Removed extra mallocs/copies
-Attempt to simplify the code, reduce looping and branching.

More speedup is possible by using a buffer pool for the dest when reading the render target. This will follow in a future commit.

@ironclownfish
Copy link
Contributor Author

This has been superceded by #2472 2472

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant