Extract the gradient related code out.
authorJunyan He <junyan.he@linux.intel.com>
Tue, 15 May 2012 02:07:24 +0000 (10:07 +0800)
committerEric Anholt <eric@anholt.net>
Wed, 18 Dec 2013 19:23:51 +0000 (11:23 -0800)
commitd900f553c2bb8d6e01529524fb7125918291c406
treec3e426cdec95007e5fab247e0a6337427044a02a
parent81692804645394b43832c8ec586e8e67f3e4f606
Extract the gradient related code out.

 1. Extract the logic of gradient from the glamor_render.c
 to the file glamor_gradient.c.
 2. Modify the logic of gradient pixmap gl draw. Use the
 logic like composite before, but the gradient always just
 have one rect to render, so no need to set the VB and EB,
 replace it with just call glDrawArrays. 3.Kill all the
 warning in glamor_render.c

Reviewed-by: Zhigang Gong<zhigang.gong@linux.intel.com>
Signed-off-by: Junyan He <junyan.he@linux.intel.com>
Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
glamor/Makefile.am
glamor/glamor_gradient.c [new file with mode: 0644]
glamor/glamor_priv.h
glamor/glamor_render.c