xserver-multidpi/glamor
RobinHe bd180be619 Use shader to generate the temp trapezoid mask
The old manner of trapezoid render uses pixman to
 generate a mask pixmap and upload it to the GPU.
 This effect the performance. We now use shader to
 generate the temp trapezoid mask to avoid the
 uploading of this pixmap.
 We implement a anti-alias manner in the shader
 according to pixman, which will caculate the area
 inside the trapezoid dividing total area for every
 pixel and assign it to the alpha value of that pixel.
 The pixman use a int-to-fix manner to approximate but
 the shader use float, so the result may have some
 difference.
 Because the array in the shader has optimization problem,
 we need to emit the vertex of every trapezoid every
 time, which will effect the performance a lot. Need to
 improve it.

Signed-off-by: Junyan He <junyan.he@linux.intel.com>
2013-12-18 11:23:52 -08:00
..
glamor_addtraps.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_copyarea.c largepixmap: Fix the selfcopy issue. 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 glamor_largepixmap: first commit for large pixmap. 2013-12-18 11:23:51 -08:00
glamor_debug.h glamor_largepixmap: first commit for large pixmap. 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 largepixmap: Implement infrastructure for large pixmap. 2013-12-18 11:23:51 -08:00
glamor_fill.c largepixmap: Fix the selfcopy issue. 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 glamor_getimage: should call miGetimage if failed to get sub-image. 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 largepixmap: Enable glamor_composite. 2013-12-18 11:23:51 -08:00
glamor_gradient.c glamor_largepixmap: first commit for large pixmap. 2013-12-18 11:23:51 -08:00
glamor_largepixmap.c largepixmap: Fix the selfcopy issue. 2013-12-18 11:23:51 -08:00
glamor_picture.c glamor_largepixmap: first commit for large pixmap. 2013-12-18 11:23:51 -08:00
glamor_pixmap.c largepixmap: Fix the selfcopy issue. 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 Use shader to generate the temp trapezoid mask 2013-12-18 11:23:52 -08:00
glamor_putimage.c glamor_putimage: Correct the wrong stride value. 2013-12-18 11:23:51 -08:00
glamor_render.c Create the file glamor_triangles.c 2013-12-18 11:23:52 -08:00
glamor_setspans.c Added some copyright and author information. 2013-12-18 11:23:51 -08:00
glamor_tile.c largepixmap: Fix the selfcopy issue. 2013-12-18 11:23:51 -08:00
glamor_trapezoid.c Use shader to generate the temp trapezoid mask 2013-12-18 11:23:52 -08:00
glamor_triangles.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_utils.h largepixmap: Add transform/repeat/reflect/pad support. 2013-12-18 11:23:51 -08:00
glamor_window.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor.c Use shader to generate the temp trapezoid mask 2013-12-18 11:23:52 -08:00
glamor.h glamor_largepixmap: first commit for large pixmap. 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 Create the file glamor_triangles.c 2013-12-18 11:23:52 -08:00