diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2022-04-28 15:52:10 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2022-04-28 16:29:42 -0700 |
commit | 44aa595269516d44f6642890a9211bcdde8b29fd (patch) | |
tree | ba1cce01703cff14894516aa31387f04564ba623 /src/modules/sparkler/sparkler.c | |
parent | fd9a7050e9afba9da061b5a9ca83c95a36eba44a (diff) |
libs/din: premultiply din->width * din->height
dotgradient() is very hot and needs this result when indexing
din->grid[]. Since it doesn't change for a given din instance,
just cache the result @ din_new().
Diffstat (limited to 'src/modules/sparkler/sparkler.c')
0 files changed, 0 insertions, 0 deletions