aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/gradients.cpp
diff options
context:
space:
mode:
authorGravatar cdalton <cdalton@nvidia.com>2015-04-23 09:40:23 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-04-23 09:40:23 -0700
commitf4f2b442228ca188cfb6b44ee3faa86773bb9db3 (patch)
tree6a5b34f56bf587ec3fbc2ff4cd3fac316d4d9719 /gm/gradients.cpp
parent03b03cad01628146bbb8d4f33c073bd0c77ee558 (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
Diffstat (limited to 'gm/gradients.cpp')
0 files changed, 0 insertions, 0 deletions