summaryrefslogtreecommitdiff
path: root/src/xmalloc.c
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2022-06-10 00:44:42 +0100
committerPhil Jones <philj56@gmail.com>2022-06-10 00:44:42 +0100
commitc980335b5858746772cb7b9588ca709c5d2dfa23 (patch)
treeba120d14c8aa760062e36392bfccafe63861724e /src/xmalloc.c
parent72d98fd99f350d2592c63ee6e1ac28cd38fbcb93 (diff)
Delay second buffer initialisation.
We don't actually need to initialise our second Cairo context / surface until after the first one has been painted to the screen. This commit therefore delays this initialisation (or at least the expensive memcpy), granting a significant reduction in startup time. The downside is that main() and entry_init() are now tied together somewhat, but hopefully the comments help.
Diffstat (limited to 'src/xmalloc.c')
0 files changed, 0 insertions, 0 deletions