aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-07-11 17:10:26 +0000
committerGravatar senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-07-11 17:10:26 +0000
commit22b13f3628ff3560319d32fca0891608dc80bd41 (patch)
treebfb18315f29ec23ecc3c37c7bfbe553de5ddbe76
parent0ec1eab8776639c503b79fcc8384f6172cceddb0 (diff)
Disable lighting filter unit test temporarily; unreviewed.
git-svn-id: http://skia.googlecode.com/svn/trunk@4541 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--src/gpu/gl/GrGpuGL_unittest.cpp4
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");
}