Add height function to shadow tessellators.

Prep work for adding perspective support.

Bug: skia:
Change-Id: Id07d3050afb3f0d001b885e482adb8d03125b619
Reviewed-on: https://skia-review.googlesource.com/10167
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
diff --git a/samplecode/SampleAndroidShadows.cpp b/samplecode/SampleAndroidShadows.cpp
index 271004e..bb56b7e 100644
--- a/samplecode/SampleAndroidShadows.cpp
+++ b/samplecode/SampleAndroidShadows.cpp
@@ -421,8 +421,15 @@
             if (!fShowSpot) {
                 spotAlpha = 0;
             }
-            SkShadowUtils::DrawShadow(canvas, path, zValue, lightPos, lightWidth,
+
+            SkShadowUtils::DrawShadow(canvas, path,
+                                      zValue,
+                                      lightPos, lightWidth,
                                       ambientAlpha, spotAlpha, SK_ColorBLACK);
+            //SkShadowUtils::DrawUncachedShadow(canvas, path,
+            //                                  [zValue](SkScalar, SkScalar) { return zValue; },
+            //                                  lightPos, lightWidth,
+            //                                  ambientAlpha, spotAlpha, SK_ColorBLACK);
         }
 #else
         if (fShowAmbient) {