gecko-dev/gfx/wr/webrender/tests
Glenn Watson 9d856b1091 Bug 1535976 - Add a fast path for common rounded rect clips to WR. r=kvark
Most rounded rect clips in real content are (a) axis aligned and
(b) have uniform radii.

When these conditions are met, we can run a fast path for clip
mask generation that uses significantly fewer ALU shader ops.

This is not typically a bottleneck on desktop GPUs, but can have
a large performance impact on mobile GPUs (and perhaps low end
integrated GPUs).

The Mali shader analyzer reports the slow path for the rounded
rect clip shader to be 94 cycles per fragment, while the fast
path is 10 cycles.

Differential Revision: https://phabricator.services.mozilla.com/D23817

--HG--
extra : moz-landing-system : lando
2019-03-19 19:48:13 +00:00
..
angle_shader_validation.rs Bug 1535976 - Add a fast path for common rounded rect clips to WR. r=kvark 2019-03-19 19:48:13 +00:00
bug_124.html
bug_134.html
bug_137.html
bug_143.html
bug_159.html
bug_166.html
bug_176.html
bug_177.html
bug_178.html
bug_203a.html
bug_203b.html
bug_servo_9983a.html
bug_servo_10136.html
bug_servo_10164.html
bug_servo_10307.html
bug_servo_11358.html
color_pattern_1.png
color_pattern_2.png
fixed-position.html
mix-blend-mode-2.html
mix-blend-mode.html
nav-1.html
nav-2.html