Fixed fixie_ext not being surrounded with extern C.
Added caching of vertex attributes in the desktop gl context.
Refactored the texture syncing.
Refactored some comparison and hash functions.
Added a bit_cast utility function.