diff options
author | Ben Bridle <bridle.benjamin@gmail.com> | 2023-12-19 21:02:55 +1300 |
---|---|---|
committer | Ben Bridle <bridle.benjamin@gmail.com> | 2023-12-19 21:17:35 +1300 |
commit | 68017c61c1ec1d0657f2e22f0d4044a955b84ccc (patch) | |
tree | 25863085b51768e6f67966fd4456ecf382241e8e /src/lib.rs | |
parent | 1fb788cc09fa349957da501dd911435f1957c03a (diff) | |
download | phosphor-68017c61c1ec1d0657f2e22f0d4044a955b84ccc.zip |
Make window rendering code more efficient
The code to scale the window buffer and draw it to the window surface
has been made more efficient through the use of slice::copy_from_within
and slice::fill, instead of what was slow pixel-by-pixel iteration over
long horizontal strips.
Diffstat (limited to 'src/lib.rs')
0 files changed, 0 insertions, 0 deletions