[common] rects: refactor rect buffer copy code to common module

This also fixes a bug of accidentally multiplying the stride by 4 when
the stride is already in bytes and not pixels.
This commit is contained in:
Quantum
2021-08-06 23:51:07 -04:00
committed by Geoffrey McRae
parent 4205e49786
commit cab95c5eed
5 changed files with 224 additions and 150 deletions

View File

@@ -29,6 +29,7 @@ set(COMMON_SOURCES
src/framebuffer.c
src/KVMFR.c
src/countedbuffer.c
src/rects.c
src/runningavg.c
src/ringbuffer.c
)