Use hex values for draw_queue flags

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
Add state object to track targetless global GL state

This encapsulates a set of glEnable switches we'd like to see online. It should
be a good primitive to optimize around as we automate state switching.

This kills the last of the raw GL calls in main.c. The API is now complete for
the demo.

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
Apply new state objects differentially

When a new state object is entered, we now do only the GL calls that are
absolutely necessary.

We also have a way to specify that a state does not care about the value of
certain flags, and a destructor for state objects.

Signed-off-by: Casey Dahlin <cdahlin@redhat.com>
Increase move speed in the demo app

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