glamor: Don't direct call to any gl functions.
Create a new structure glamor_gl_dispatch to hold all the gl function's pointer and initialize them at run time , rather than use them directly. To do this is to avoid symbol conflicts. Signed-off-by: Zhigang Gong <firstname.lastname@example.org>
Showing with 638 additions and 422 deletions