Force inline
Changed naming convention
Added power of 2 check
Make them a macro instead to avoid extra context lookup
Added bind framebuffer macro