commit | f4f2b442228ca188cfb6b44ee3faa86773bb9db3 | [log] [tgz] |
---|---|---|
author | cdalton <cdalton@nvidia.com> | Thu Apr 23 09:40:23 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Thu Apr 23 09:40:23 2015 -0700 |
tree | 6a5b34f56bf587ec3fbc2ff4cd3fac316d4d9719 | |
parent | 03b03cad01628146bbb8d4f33c073bd0c77ee558 [diff] |
Add onGetBlendInfo to GrXferProcessor Adds an onGetBlendInfo method for GrXferProcessor subclasses to override instead of overriding getBlendInfo directly. This gives the base class a chance to initialize the struct with default values before passing it on. As the BlendInfo struct grows, this will keep things simple and less error prone. BUG=skia: NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/1049143002