commit | e61c411c1258a323a010558c08de3d9f8d170dca | [log] [tgz] |
---|---|---|
author | egdaniel <egdaniel@google.com> | Thu Jun 12 10:24:21 2014 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Thu Jun 12 10:24:21 2014 -0700 |
tree | 295c5f7a9ec0001daf7b87e2573e9f74ffbe3d3b | |
parent | b205d09b296e01f1c4debdf7f60d2f3e4cd2ea43 [diff] |
Use vertex attributes for dash effect in gpu This will allow us to batch dashed lines together when drawing. Also, this removes the need for a coord transform matrix in the shader, thus we save the cost of uploading a new matrix uniform everytime we do a simple transform to the dashed line we are drawing. BUG=skia: R=bsalomon@google.com Author: egdaniel@google.com Review URL: https://codereview.chromium.org/326103002