kDilate_EffectType,
kRadialGradient_EffectType,
kRadial2Gradient_EffectType,
+#if 0
kDiffuseDistant_EffectType,
kDiffusePoint_EffectType,
kDiffuseSpot_EffectType,
kSpecularDistant_EffectType,
kSpecularPoint_EffectType,
kSpecularSpot_EffectType,
+#endif
kSweepGradient_EffectType,
kEffectCount
case kSweepGradient_EffectType: {
return SkNEW(GrSweepGradient);
}
+#if 0
case kDiffuseDistant_EffectType: {
SkPoint3 direction = random_point3(random);
direction.normalize();
SkASSERT(filter->asNewCustomStage(&stage));
return stage;
}
+#endif
default:
GrCrash("Unexpected custom effect type");
}