texpresso icon indicating copy to clipboard operation
texpresso copied to clipboard

Optimize memory use

Open jansol opened this issue 4 years ago • 0 comments

The current implementation works purely on RGBA buffers, and also creates an extra copy of each 4x4 chunk as it is being processed. This is not very ideal and it would be nice to refactor things to allow passing in buffers that don't have extra channels as padding, especially now that one- and two-channel formats are supported.

jansol avatar Aug 30 '21 00:08 jansol