diff options
author | skaslev@chromium.org <skaslev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-01 17:00:16 +0000 |
---|---|---|
committer | skaslev@chromium.org <skaslev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-01 17:00:16 +0000 |
commit | e28c89bda7f526a473486896519a90a91d8ef386 (patch) | |
tree | 13b1c5311cd731575ac5701716995184c6b0e005 /cc/test/data | |
parent | dfab0d45e4bec9f277beb3b3c2b57f3bd9b32930 (diff) | |
download | chromium_src-e28c89bda7f526a473486896519a90a91d8ef386.zip chromium_src-e28c89bda7f526a473486896519a90a91d8ef386.tar.gz chromium_src-e28c89bda7f526a473486896519a90a91d8ef386.tar.bz2 |
Optimized antialiasing fragment shaders by computing quad edge distance per vertex instead of per pixel.
In particular for tile AA fragment shaders:
before:
vs: 26 cycles
fs: 12 cycles
after:
vs: 47 cycles
fs: 6 cycles
which is a good performance win given there are only 4 vertices but ~64k pixels per tile.
BUG=233101
R=epenner@chromium.org, reveman@chromium.org
Review URL: https://codereview.chromium.org/17770004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209445 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/data')
-rw-r--r-- | cc/test/data/anti_aliasing.png | bin | 2009 -> 1976 bytes |
-rw-r--r-- | cc/test/data/anti_aliasing_perspective.png | bin | 0 -> 812 bytes |
-rw-r--r-- | cc/test/data/axis_aligned.png | bin | 686 -> 672 bytes |
-rw-r--r-- | cc/test/data/background_filter_blur_off_axis.png | bin | 7227 -> 7300 bytes |
-rw-r--r-- | cc/test/data/blue_yellow_anti_aliasing.png | bin | 606 -> 623 bytes |
5 files changed, 0 insertions, 0 deletions
diff --git a/cc/test/data/anti_aliasing.png b/cc/test/data/anti_aliasing.png Binary files differindex fae41dc..4abe9e1 100644 --- a/cc/test/data/anti_aliasing.png +++ b/cc/test/data/anti_aliasing.png diff --git a/cc/test/data/anti_aliasing_perspective.png b/cc/test/data/anti_aliasing_perspective.png Binary files differnew file mode 100644 index 0000000..f584df3 --- /dev/null +++ b/cc/test/data/anti_aliasing_perspective.png diff --git a/cc/test/data/axis_aligned.png b/cc/test/data/axis_aligned.png Binary files differindex d8210f5..ee176d8 100644 --- a/cc/test/data/axis_aligned.png +++ b/cc/test/data/axis_aligned.png diff --git a/cc/test/data/background_filter_blur_off_axis.png b/cc/test/data/background_filter_blur_off_axis.png Binary files differindex a59ffa9..5541956 100644 --- a/cc/test/data/background_filter_blur_off_axis.png +++ b/cc/test/data/background_filter_blur_off_axis.png diff --git a/cc/test/data/blue_yellow_anti_aliasing.png b/cc/test/data/blue_yellow_anti_aliasing.png Binary files differindex 7b9c255..2d675f9 100644 --- a/cc/test/data/blue_yellow_anti_aliasing.png +++ b/cc/test/data/blue_yellow_anti_aliasing.png |