diff options
author | wangyix <wangyix@google.com> | 2015-09-10 06:57:05 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-09-10 06:57:06 -0700 |
commit | 059dffae800a81351c93596187099dfe09f2ba56 (patch) | |
tree | 90a0324a2cc36eb48d25b3e7b69460b2cbb3fdd1 /src/gpu/effects | |
parent | ce79a3a7440b881fdb9a3d0278815b8c45c32b28 (diff) |
There's a set probability that a linear pipeline of random procs will be created (old behavior), or a pipeline with a single proc tree (added behavior).
Had to move GrComposeEffect class definition from SkComposeShader.cpp to SkComposeShader.h so that GLProgramsTest can call GrComposeEffect::Create()
BUG=skia:4182
Review URL: https://codereview.chromium.org/1314923002
Diffstat (limited to 'src/gpu/effects')
-rw-r--r-- | src/gpu/effects/GrXfermodeFragmentProcessor.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gpu/effects/GrXfermodeFragmentProcessor.cpp b/src/gpu/effects/GrXfermodeFragmentProcessor.cpp index aa47541cd0..3cb56d07f7 100644 --- a/src/gpu/effects/GrXfermodeFragmentProcessor.cpp +++ b/src/gpu/effects/GrXfermodeFragmentProcessor.cpp @@ -147,19 +147,13 @@ const GrFragmentProcessor* GrXfermodeFragmentProcessor::CreateFromTwoProcessors( } switch (mode) { case SkXfermode::kClear_Mode: - SkDebugf("CreateFromTwoProcessors() should not be used with kClear_Mode. " - "Use GrConstColorProcessor.\n"); return GrConstColorProcessor::Create(GrColor_TRANS_BLACK, GrConstColorProcessor::kIgnore_InputMode); break; case SkXfermode::kSrc_Mode: - SkDebugf("CreateFromTwoProcessors() should not be used with kSrc_Mode. " - "Use the src processor directly.\n"); return SkRef(src); break; case SkXfermode::kDst_Mode: - SkDebugf("CreateFromTwoProcessors() should not be used with kDst_Mode. " - "Use the dst processor directly.\n"); return SkRef(dst); break; default: |