Make turning speed a little faster

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
Change draw queue clearing interface

A clearing action is now queued much like a drawing operation. It executes at
the beginning of the next flush. This works much more cleanly with the state
machine.

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
Make states grab texmaps for colorbufs

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
Adding a dependencies between states

This doesn't actually /do/ anything yet, but it is available.

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
Add refcounting to states

It's a good fit, and takes over for the "destroying the active state" checks.

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
Kill state_clear_colorbufs

Wasn't terribly useful

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
Break uniforms out into their own file and rename

Saves some code space, improves organization

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>