xserver-multidpi/glamor
Zhigang Gong c6ce44d881 render: Enable more componentAlpha support.
Actually only PictOpAtop,PictOpAtopReverse and PictOpXor
can't be implemented by using single source blending.
All the other can be easily support. Slightly change
the code to support them. Consider those three Ops
are not frequenly used in real application. We simply
fallback them currently.

PictOpAtop: 		s*mask*dst.a + (1 - s.a*mask)*dst
PictOpAtopReverse: 	s*mask*(1 - dst.a) + dst *s.a*mask
PictOpXor:		s*mask*(1 - dst.a) + dst * (1 - s.a*mask)

The two oprands in the above three ops are all reated to dst and
the blend factors are not constant (0 or 1), it's hardly to
convert it to single source blend.

Now, the rendercheck is runing more smoothly.

Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
2013-12-18 11:23:49 -08:00
..
glamor_addtraps.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_copyarea.c glamor_set_alu: Fallback for non GXcopy ops with GLES2. 2013-12-18 11:23:49 -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 gles2: Fixed color conversion for the formats except 1555 and 2101010. 2013-12-18 11:23:49 -08:00
glamor_debug.h glamor_fbo: Introduce glamor fbo to manage all the fb/tex. 2013-12-18 11:23:47 -08:00
glamor_egl.c For DRI swap buffers. 2013-12-18 11:23:49 -08:00
glamor_eglmodule.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_fbo.c gles2: Fixed color conversion for the formats except 1555 and 2101010. 2013-12-18 11:23:49 -08:00
glamor_fill.c glamor_set_alu: Fallback for non GXcopy ops with GLES2. 2013-12-18 11:23:49 -08:00
glamor_fillspans.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_getimage.c gles2: Fixed color conversion for the formats except 1555 and 2101010. 2013-12-18 11:23:49 -08:00
glamor_getspans.c gles2: Fixed color conversion for the formats except 1555 and 2101010. 2013-12-18 11:23:49 -08:00
glamor_gl_dispatch.c Prepare for modification of gradient using shader. 2013-12-18 11:23:49 -08:00
glamor_gl_dispatch.h Prepare for modification of gradient using shader. 2013-12-18 11:23:49 -08:00
glamor_glext.h glamor: Re-arrange some macros/definitions in header files. 2011-09-26 16:47:02 +08:00
glamor_glyphblt.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_glyphs.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_picture.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_pixmap.c glamor_set_alu: Fallback for non GXcopy ops with GLES2. 2013-12-18 11:23:49 -08:00
glamor_polyfillrect.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_polylines.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_polyops.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_priv.h glamor_set_alu: Fallback for non GXcopy ops with GLES2. 2013-12-18 11:23:49 -08:00
glamor_putimage.c glamor_set_alu: Fallback for non GXcopy ops with GLES2. 2013-12-18 11:23:49 -08:00
glamor_render.c render: Enable more componentAlpha support. 2013-12-18 11:23:49 -08:00
glamor_setspans.c glamor_set_alu: Fallback for non GXcopy ops with GLES2. 2013-12-18 11:23:49 -08:00
glamor_tile.c glamor_set_alu: Fallback for non GXcopy ops with GLES2. 2013-12-18 11:23:49 -08:00
glamor_triangles.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor_utils.h gles2: Added 1555/2101010 formats support. 2013-12-18 11:23:49 -08:00
glamor_window.c Fixup glx support 2013-12-18 11:23:48 -08:00
glamor.c gles2: Fixed color conversion for the formats except 1555 and 2101010. 2013-12-18 11:23:49 -08:00
glamor.h For DRI swap buffers. 2013-12-18 11:23:49 -08:00
glapi.h GLX: Enable glx support. 2013-12-18 11:23:48 -08:00
Makefile.am GLX: Enable glx support. 2013-12-18 11:23:48 -08:00