xserver-multidpi/glamor
Junyan He 553910d08b Fix the problem of vertical and horizontal case error in linear gradient.
1. The vertical and horizontal judgement in linear
 gradient have problem when p1 point and p2 point
 distance is very small but the gradient pict have a
 transform matrix which will convert the X Y coordinates
 to small values. So the judgement is not suitable.
 Because this judgement's purpose is to assure the
 divisor not to be zero, so we simply it to enter
 horizontal judgement when p1 and p2's Y is same.
 Vertical case is deleted. 2. Delete the unused p1 p2
 uniform variable.

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>
2013-12-18 11:23:51 -08:00
..
glamor_addtraps.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_copyarea.c glamor_set_destination_pixmap_priv_nc: set drawable's width x height. 2013-12-18 11:23:51 -08:00
glamor_copyplane.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_copywindow.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_core.c Fixed a stride problem for textured_drm pixmap. 2013-12-18 11:23:50 -08:00
glamor_debug.h Added some copyright and author information. 2013-12-18 11:23:51 -08:00
glamor_egl.c Added strict warning flags to CFLAGS. 2013-12-18 11:23:51 -08:00
glamor_eglmodule.c Added some copyright and author information. 2013-12-18 11:23:51 -08:00
glamor_fbo.c Remove the texture cache code. 2013-12-18 11:23:51 -08:00
glamor_fill.c glamor_set_destination_pixmap_priv_nc: set drawable's width x height. 2013-12-18 11:23:51 -08:00
glamor_fillspans.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_getimage.c Fixed all unused variables warnings. 2013-12-18 11:23:51 -08:00
glamor_getspans.c Added some copyright and author information. 2013-12-18 11:23:51 -08:00
glamor_gl_dispatch.c Added some copyright and author information. 2013-12-18 11:23:51 -08:00
glamor_gl_dispatch.h Fix the problem of memory leak in gradient pixmap generating. 2013-12-18 11:23:50 -08:00
glamor_glext.h Added some copyright and author information. 2013-12-18 11:23:51 -08:00
glamor_glyphblt.c Fixed all unused variables warnings. 2013-12-18 11:23:51 -08:00
glamor_glyphs.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_gradient.c Fix the problem of vertical and horizontal case error in linear gradient. 2013-12-18 11:23:51 -08:00
glamor_picture.c Added some copyright and author information. 2013-12-18 11:23:51 -08:00
glamor_pixmap.c glamor_set_destination_pixmap_priv_nc: set drawable's width x height. 2013-12-18 11:23:51 -08:00
glamor_polyfillrect.c Fixed all unused variables warnings. 2013-12-18 11:23:51 -08:00
glamor_polylines.c glamor_polylines: Don't fallback for non-solid fill. 2013-12-18 11:23:49 -08:00
glamor_polyops.c glyphblt/polyops: Use miFunctions by default. 2013-12-18 11:23:49 -08:00
glamor_priv.h Extract the gradient related code out. 2013-12-18 11:23:51 -08:00
glamor_putimage.c Fixed all unused variables warnings. 2013-12-18 11:23:51 -08:00
glamor_render.c Extract the gradient related code out. 2013-12-18 11:23:51 -08:00
glamor_setspans.c Added some copyright and author information. 2013-12-18 11:23:51 -08:00
glamor_tile.c glamor_set_destination_pixmap_priv_nc: set drawable's width x height. 2013-12-18 11:23:51 -08:00
glamor_triangles.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_utils.h glamor_set_destination_pixmap_priv_nc: set drawable's width x height. 2013-12-18 11:23:51 -08:00
glamor_window.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor.c Added strict warning flags to CFLAGS. 2013-12-18 11:23:51 -08:00
glamor.h Added strict warning flags to CFLAGS. 2013-12-18 11:23:51 -08:00
glapi.h Added strict warning flags to CFLAGS. 2013-12-18 11:23:51 -08:00
Makefile.am Extract the gradient related code out. 2013-12-18 11:23:51 -08:00