DescriptionThis adds a specialized rect effect for Axis Aligned rects. It is faster then the general rect effect but still not always faster then the geometric approach (geometry on left - axis aligned on right):
Win7
drawpointsdash_1_1_aa GPU c 65.91 70.51 -4.60 -7.0%
drawpointsdash_5_5_aa GPU c 21.76 23.24 -1.48 -6.8%
aarects GPU c 36.66 38.92 -2.26 -6.2%
drawpointsdash_3_1_aa GPU c 30.89 32.21 -1.32 -4.3%
tablebench GPU c 24.96 25.82 -0.86 -3.4%
MacPro
drawpointsdash_3_1_aa GPU c 37.40 40.33 -2.93 -7.8%
drawpointsdash_1_1_aa GPU c 85.36 91.90 -6.54 -7.7%
aarects GPU c 47.60 51.26 -3.66 -7.7%
drawpointsdash_5_5_aa GPU c 26.74 27.92 -1.18 -4.4%
tablebench GPU c 35.05 35.14 -0.09 -0.3%
Nexus 7
drawpointsdash_5_5_aa GPU c 323.14 210.74 +112.40 +34.8%
tablebench GPU c 337.85 173.46 +164.39 +48.7%
aarects GPU c 2494.74 1065.79 +1428.95 +57.3%
drawpointsdash_3_1_aa GPU c 822.38 310.22 +512.16 +62.3%
drawpointsdash_1_1_aa GPU c 4676.73 1060.48 +3616.25 +77.3%
I would like to land this disabled as a checkpoint.
Patch Set 1 #Patch Set 2 : Updated #Patch Set 3 : Disabled shader-based rect drawing #
Total comments: 9
Patch Set 4 : Addressed code review issues (renaming & API change) #
Messages
Total messages: 7 (0 generated)
|