glamor: Replace glamor_get/put_context() with just glamor_make_current().
Now that we have the DIX global state for the current context, we don't need to track nesting to try to reduce MakeCurrent overhead. v2: Fix a mistaken replacement of a put_context with make_current in glamor_fill_spans_gl() (caught by keithp). Signed-off-by: Eric Anholt <firstname.lastname@example.org> Reviewed-by: Michel Dänzer <email@example.com> (v1) Reviewed-by: Adam Jackson <firstname.lastname@example.org> (v1)
Showing with 81 additions and 223 deletions