Yes, graphicsSetCallbacks gets called for each draw call - usually it's reasonably fast though as it's just a few assignments?
If you're thinking of doing your own build then you could look at what Bangle.js does as that uses graphicsInternal which avoids the graphicsSetCallbacks as far as I remember
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Yes,
graphicsSetCallbacks
gets called for each draw call - usually it's reasonably fast though as it's just a few assignments?If you're thinking of doing your own build then you could look at what Bangle.js does as that uses
graphicsInternal
which avoids the graphicsSetCallbacks as far as I remember