pikers / piker

(e2e) foss trading for non-tinas
GNU Affero General Public License v3.0
102 stars 17 forks source link

Pregraphics formatters: `IncrementalFormatter` #447

Closed goodboy closed 1 year ago

goodboy commented 1 year ago

In support of #420 (and the general effort towards having sanely sized PRs for others to review :joy:,) this introduces a "middleware" layer for our curve rendering graphics engine.

The main idea here is to formalize machinery for conducting post numpy.array (normally read from ShmArray buffers), pre graphics-QPainterPath formatting and incremental update, the main purpose of which is to speed up curve rendering cycles on real-time updated data flows.


The main abstractions to review include:

Further details about the (rather large) set of changes can be seen in commit msgs.