xserver-multidpi/glamor
Junyan He 4c174f4c9c Fix the problem of x_source and y_source causing radial error
The x_source and y_source cause some problem in
 gradient. The old way to handle it by recaulate P1 P2
 to minus the x_source and y_source, but this causes
 problem in radial shader. Now we modify the manner to
 set the texture coordinates: (x_source, y_source) -->
 (x_source + width, y_source + height) to handle all the
 cases.

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 x_source and y_source causing radial error 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 Fix the problem of x_source and y_source causing radial error 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