diff options
-rw-r--r-- | src/gpu/gl/GrGpuGL_unittest.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGpuGL_unittest.cpp b/src/gpu/gl/GrGpuGL_unittest.cpp index 82804450b0..8ef2094f14 100644 --- a/src/gpu/gl/GrGpuGL_unittest.cpp +++ b/src/gpu/gl/GrGpuGL_unittest.cpp @@ -40,12 +40,14 @@ GrCustomStage* create_random_effect(StageDesc* stageDesc, kDilate_EffectType, kRadialGradient_EffectType, kRadial2Gradient_EffectType, +#if 0 kDiffuseDistant_EffectType, kDiffusePoint_EffectType, kDiffuseSpot_EffectType, kSpecularDistant_EffectType, kSpecularPoint_EffectType, kSpecularSpot_EffectType, +#endif kSweepGradient_EffectType, kEffectCount @@ -118,6 +120,7 @@ GrCustomStage* create_random_effect(StageDesc* stageDesc, case kSweepGradient_EffectType: { return SkNEW(GrSweepGradient); } +#if 0 case kDiffuseDistant_EffectType: { SkPoint3 direction = random_point3(random); direction.normalize(); @@ -198,6 +201,7 @@ GrCustomStage* create_random_effect(StageDesc* stageDesc, SkASSERT(filter->asNewCustomStage(&stage)); return stage; } +#endif default: GrCrash("Unexpected custom effect type"); } |