mesa,gallium: decrease CPU overhead for glDrawElements by filling TC batch from glDraw* directly
The last commit implements the fast path for glDraw(Range)Elements(Instanced)(BaseVertex)(BaseInstance)
.
The second last commit optimizes tc_draw_vbo
for the case when the fast path can't be used.
All preceding commits are just refactoring required by the last commit.