Commit d900f553 authored by Committed by Eric Anholt
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<firstname.lastname@example.org> Signed-off-by: Junyan He <email@example.com> Signed-off-by: Zhigang Gong <firstname.lastname@example.org>
Showing with 1653 additions and 1581 deletions