<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
/* Page Definitions */
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=ZH-CN link=blue vlink=purple style='text-justify-trim:punctuation'><div class=WordSection1><p class=MsoNormal><span lang=EN-US>Hi Junyan,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>After workaround the glsl-like problem, I can get correct rendering with trapezoid shader enabled.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Then I measured the performance and found that it does accelerate some cases significantly, but<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>also bring some major performance regressions, here is a summary, please check it out.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>old: cairo-trace-glamor<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>new: cairo-trace-glamor-trapezoid<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Speedups<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>========<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> xlib             grads-heat-map  1241.46 (1243.12 0.82%) -> 593.86 (593.89 12.62%):  2.09x speedup<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> xlib           firefox-fishbowl  35292.75 (35378.87 0.53%) -> 25675.22 (25710.04 0.80%):  1.37x speedup<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> xlib          firefox-asteroids  6902.64 (7127.80 1.73%) -> 5518.59 (5843.95 2.74%):  1.25x speedup<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> xlib           firefox-fishtank  33430.00 (33504.70 0.15%) -> 28612.69 (28622.39 0.05%):  1.17x speedup<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> xlib       firefox-planet-gnome  7187.17 (7188.44 0.46%) -> 6544.22 (6555.78 0.53%):  1.10x speedup<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Slowdowns<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>=========<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> xlib                  evolution  1769.50 (1774.23 0.13%) -> 1877.39 (1891.87 4.37%):  1.06x slowdown<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> xlib       firefox-canvas-alpha  29717.59 (29761.29 0.19%) -> 32037.14 (32108.83 0.42%):  1.08x slowdown<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> xlib             firefox-canvas  42736.86 (43217.24 1.21%) -> 46611.94 (46761.75 0.43%):  1.09x slowdown<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> xlib          firefox-talos-svg  13468.38 (13653.09 0.65%) -> 15275.94 (15280.97 0.11%):  1.13x slowdown<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> xlib       gnome-system-monitor  1408.31 (1417.22 0.87%) -> 1839.00 (1863.20 0.69%):  1.31x slowdown<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> xlib         swfdec-giant-steps  1733.63 (1751.49 0.84%) -> 2280.65 (2284.43 9.88%):  1.32x slowdown<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> xlib          firefox-paintball  18133.06 (18139.63 0.06%) -> 32112.83 (32125.89 0.04%):  1.77x slowdown<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>As we discussed this afternoon, I’d like to release the version 0.5 by the end of next week. I hope we can<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>fix the regression before that time.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Thanks.<o:p></o:p></span></p></div></body></html>