aboutsummaryrefslogtreecommitdiff
path: root/src/FbCommands.cc
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2013-01-13 11:37:20 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2013-01-13 11:37:26 (GMT)
commit5f7acf3fb6fd1fd24242ecdee241f439d33ec743 (patch)
tree1276de19336834c4b9dae81d9b400bdac1b80ba8 /src/FbCommands.cc
parenteb725c5c2dad513d12c08bba9a68ea640af5e355 (diff)
downloadfluxbox-5f7acf3fb6fd1fd24242ecdee241f439d33ec743.zip
fluxbox-5f7acf3fb6fd1fd24242ecdee241f439d33ec743.tar.bz2
Optimize inner loop of pixel transfer in TrueColor
Testing bits-per-pixel in the inner loop is suboptimal, especially since that value does not change. A little helper macro helps to keep the code readable, also improves the situation for StaticGray and PseudoColor.
Diffstat (limited to 'src/FbCommands.cc')
0 files changed, 0 insertions, 0 deletions