diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2013-01-13 11:37:20 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2013-01-13 11:37:26 (GMT) |
commit | 5f7acf3fb6fd1fd24242ecdee241f439d33ec743 (patch) | |
tree | 1276de19336834c4b9dae81d9b400bdac1b80ba8 /src/FbTk/Button.hh | |
parent | eb725c5c2dad513d12c08bba9a68ea640af5e355 (diff) | |
download | fluxbox-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/FbTk/Button.hh')
0 files changed, 0 insertions, 0 deletions