| commit | c26d94fd7dc0b00cd6d0e42d28285f4a38aff021 | [log] [tgz] |
|---|---|---|
| author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Mar 25 18:19:00 2013 +0000 |
| committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Mar 25 18:19:00 2013 +0000 |
| tree | 6f7d38b702fd174bf089aa6b0ea126e5bec4e071 | |
| parent | 6864cb8a2e0ac2ec87b05b008670f52991e5c36c [diff] [blame] |
Move nested class GrDrawTarget::Caps out as GrDrawTargetCaps. Pass caps to GrEffect::TestCreate() functions so that they can return effects that will work with the capabilities. Review URL: https://codereview.chromium.org/12965018 git-svn-id: http://skia.googlecode.com/svn/trunk@8369 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/effects/gradients/SkTwoPointConicalGradient.cpp b/src/effects/gradients/SkTwoPointConicalGradient.cpp index 0b6e30d..abd974b 100644 --- a/src/effects/gradients/SkTwoPointConicalGradient.cpp +++ b/src/effects/gradients/SkTwoPointConicalGradient.cpp
@@ -446,6 +446,7 @@ GrEffectRef* GrConical2Gradient::TestCreate(SkMWCRandom* random, GrContext* context, + const GrDrawTargetCaps&, GrTexture**) { SkPoint center1 = {random->nextUScalar1(), random->nextUScalar1()}; SkScalar radius1 = random->nextUScalar1();