On Mon May 22 17:35:13 2023 +0000, Esme Povirk wrote:
It seems to me this would only assign to the first pixel of `dst_dyn_data`, am I missing something?
Previously `dst_dyn_data` was unused pointer defined here: ``` dst_data = dst_dyn_data = heap_alloc_zero(sizeof(ARGB) * (dst_area.right - dst_area.left) * (dst_area.bottom - dst_area.top)); ``` With current implementation, the pointer is used for iterate through memory. The increment is done now with `dst_dyn_data += sizeof(ARGB)` with `for` loop: ``` for (x = dst_area.left; x < dst_area.right; x++, dst_dyn_data += sizeof(ARGB)) ``` To be able to not use `dst_stride` I have to switch `x` and `y` `for` loops.
I have tested this implementation with application attached in description.