temporary using macros for Vector class definitions
avoid redundant state changes
this looks better
adding some more states to RenderState
use readbuffer stack from render state
use clear color stack from render state
use clear color stack from render state
use viewport stack from render state
use viewport stack from render state
Avoid some redundant state changes.
using vector template classes.
cleanup
Avoid redundant glDrawBuffer calls. seems read/draw buffer are not part of global state, each fbo has it's own draw/read buffer state.
Setting some drawbuffers to default values and do not change them at all
Avoid redundant state changes in indexed stack. for now only global state pushes handled. indexed might follow
cleanup
avoid redundant state changes of indexed states
adding attribute divisor stack to render state. currently most redundant calls are related to attr divisor
avoiding redundant calls to glVertexAttributeDivisor
time stamp check for uploading uniforms