diff options
author | 2013-03-25 18:19:00 +0000 | |
---|---|---|
committer | 2013-03-25 18:19:00 +0000 | |
commit | c26d94fd7dc0b00cd6d0e42d28285f4a38aff021 (patch) | |
tree | 6f7d38b702fd174bf089aa6b0ea126e5bec4e071 /src/effects/SkColorMatrixFilter.cpp | |
parent | 6864cb8a2e0ac2ec87b05b008670f52991e5c36c (diff) |
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
Diffstat (limited to 'src/effects/SkColorMatrixFilter.cpp')
-rw-r--r-- | src/effects/SkColorMatrixFilter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/effects/SkColorMatrixFilter.cpp b/src/effects/SkColorMatrixFilter.cpp index 55e8bba1d7..c2ab3fd73f 100644 --- a/src/effects/SkColorMatrixFilter.cpp +++ b/src/effects/SkColorMatrixFilter.cpp @@ -463,6 +463,7 @@ GR_DEFINE_EFFECT_TEST(ColorMatrixEffect); GrEffectRef* ColorMatrixEffect::TestCreate(SkMWCRandom* random, GrContext*, + const GrDrawTargetCaps&, GrTexture* dummyTextures[2]) { SkColorMatrix colorMatrix; for (size_t i = 0; i < SK_ARRAY_COUNT(colorMatrix.fMat); ++i) { |