]> git.draconx.ca Git - rrace.git/commitdiff
Reimplement xcounter based on pre-rendered pixmpas.
authorNick Bowler <nbowler@draconx.ca>
Sat, 24 Dec 2022 05:24:25 +0000 (00:24 -0500)
committerNick Bowler <nbowler@draconx.ca>
Sat, 31 Dec 2022 01:38:26 +0000 (20:38 -0500)
This alters the xcounter idea, instead of caching XmStrings and doing
full-blown font rendering with each update, we can pre-render all the
needed strings to a pixmap and stitch them together using XCopyArea.

This achieves basically the same visual result but clears are eliminated
completely which should further reduce the chances of visible flicker.

While we are rejigging this, tune the state structure to be much
more focused to the actual usage, preferring fixed limits and compact
data representation over dynamic allocation.


No differences found