aboutsummaryrefslogtreecommitdiff
path: root/render.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-01-01 20:47:05 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-01-01 20:47:05 +0000
commitc75192b4f8cf3d233fc3add0dd6525284ecd9dfc (patch)
treec0c889137493418b900e5fb4082d1f20960a997c /render.h
parentbox-drawing: force minsize optimization (diff)
box-drawing: reduce number of function arguments
We were using so many function arguments that a lot of the emitted code was just stack push and pops to pass around arguments. Bundle the buffer data, width, height, stride, and current DPI, into a single ‘buf’ argument. This greatly reduces the number of arguments to all functions.
Diffstat (limited to 'render.h')
0 files changed, 0 insertions, 0 deletions