radial-optimized.yaml (388B)
1 # A small radial gradient in a large primitive. 2 # Most of the primitive is the constant color of the last gradient stop, 3 # and webrender will try to optimize these parts by drawing them with 4 # solid color primitives. 5 --- 6 root: 7 items: 8 - type: radial-gradient 9 bounds: 10 20 300 330 10 center: 160 155 11 radius: 10 15 12 stops: [0, [255.0,0,0,0.7], 1, [0,0,255.0,0.7]]