render: pass attribute pairs to most functions
render: pass attribute pairs to most functions

This will help refactoring this code so it works with different
attribute pair arrays.

gopro/gopro-lib-node.gl,gopro/gopro-lib-node.gl,gopro/gopro-lib-node.gl,gopro/gopro-lib-node.gl