Commit 57e29ebd authored by Zhigang Gong's avatar Zhigang Gong Committed by Eric Anholt

glamor_render: Disable gradient shader conversion due to bug.

I found when enable the gradient shader, the firefox's tab's
background has incorrect rendering result.

Need furthr investigation, for now, just disable it.
Signed-off-by: default avatarZhigang Gong <zhigang.gong@linux.intel.com>
parent 7036cfdd
......@@ -714,6 +714,7 @@ glamor_poly_line(DrawablePtr pDrawable, GCPtr pGC, int mode, int npt,
#define GLAMOR_PIXMAP_DYNAMIC_UPLOAD
//#define GLAMOR_DELAYED_FILLING
//#define GLAMOR_GRADIENT_SHADER
......
......@@ -2743,7 +2743,7 @@ glamor_convert_gradient_picture(ScreenPtr screen,
format = PICT_a8r8g8b8;
else
format = source->format;
#ifdef GLAMOR_GRADIENT_SHADER
if (!source->pDrawable) {
if (source->pSourcePict->type == SourcePictTypeLinear) {
dst = _glamor_generate_linear_gradient_picture(screen,
......@@ -2762,7 +2762,7 @@ glamor_convert_gradient_picture(ScreenPtr screen,
return dst;
}
}
#endif
pixmap = glamor_create_pixmap(screen,
width,
height,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment