I can't find any performance benefit to using the GL path and the code
renders this trapezoid incorrectly:

                                 top: FIXED   29.50
                              bottom: FIXED   30.00
                            left top: POINT    0.00,   29.50
                         left bottom: POINT    0.00,   30.50
                           right top: POINT -127.50,   29.50
                        right bottom: POINT   52.50,   30.00

This should render a solid line from 0,30 to 52,30 but draws nothing.

Signed-off-by: Keith Packard <kei...@keithp.com>
---
 glamor/glamor_priv.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/glamor/glamor_priv.h b/glamor/glamor_priv.h
index 385c027..f270d16 100644
--- a/glamor/glamor_priv.h
+++ b/glamor/glamor_priv.h
@@ -1063,7 +1063,14 @@ void glamor_xv_render(glamor_port_private *port_priv);
 
 #define GLAMOR_PIXMAP_DYNAMIC_UPLOAD
 #define GLAMOR_GRADIENT_SHADER
+
+/*
+ * The GL trapezoid code has several bugs and
+ * offers no performance benefit. Disable it for now
+ */
+#if 0
 #define GLAMOR_TRAPEZOID_SHADER
+#endif
 #define GLAMOR_TEXTURED_LARGE_PIXMAP 1
 #define WALKAROUND_LARGE_TEXTURE_MAP
 #if 0
-- 
2.0.1

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to