glamor: Concentrate and reduce some coords processing code.
Concentrate the verties and texture coords processing code to a new file glamor_utils.h. Change most of the code to macro. Will have some performance benefit on slow machine. And reduce most of the duplicate code when calculate the normalized coords. Signed-off-by: Zhigang Gong <firstname.lastname@example.org>
Showing with 293 additions and 281 deletions