minetest/src/client
Auke Kok 1ecc8756bc Reorder TileLayer. (#5638)
Despite the split of TileSpec into TileDef and TileLayer, the
TileLayer struct is still 66 bytes large, and doesn't fit in
a single cacheline.

I'm moving the color member to cacheline 2, in the hope that it
is less used and the compiler loads all the hot members in a single
cacheline instead. Only color sits now in cacheline 2, all the
other members are in cacheline 1.

Note: is_color is probably rarely set, most nodes will likely
not use hardware coloring, but this may change in the future.
Ideally, this class is shrunk to 64 bytes.
2017-04-29 09:16:32 +02:00
..
CMakeLists.txt Initial Gamepad support 2016-06-03 19:42:57 +02:00
clientlauncher.cpp Clean up getTime helpers 2017-04-28 14:43:18 -04:00
clientlauncher.h Clean up getTime helpers 2017-04-28 14:43:18 -04:00
inputhandler.h Initial Gamepad support 2016-06-03 19:42:57 +02:00
joystick_controller.cpp Clean up getTime helpers 2017-04-28 14:43:18 -04:00
joystick_controller.h Fix various copy instead of const ref reported by cppcheck (part 3) (#5616) 2017-04-20 00:12:52 +02:00
keys.h LINT: Switch whitelist check from egrep to awk 2017-04-06 23:21:40 +02:00
tile.cpp Remove an unused variable in Android Build 2017-04-17 09:37:12 +02:00
tile.h Reorder TileLayer. (#5638) 2017-04-29 09:16:32 +02:00