adding new GM to demostrate new shadows
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2118553002
Review-Url: https://codereview.chromium.org/2118553002
diff --git a/src/core/SkShadowShader.h b/src/core/SkShadowShader.h
new file mode 100644
index 0000000..7cbcbca
--- /dev/null
+++ b/src/core/SkShadowShader.h
@@ -0,0 +1,32 @@
+/*
+ * Copyright 2016 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+
+#ifndef SkShadowShader_DEFINED
+#define SkShadowShader_DEFINED
+
+#ifdef SK_EXPERIMENTAL_SHADOWING
+
+class SkLights;
+class SkShader;
+
+class SK_API SkShadowShader {
+public:
+ /** This shader combines the diffuse color in 'diffuseShader' with the shadows
+ * determined by the 'povDepthShader' and the shadow maps stored in each of the
+ * lights in 'lights'
+ */
+ static sk_sp<SkShader> Make(sk_sp<SkShader> povDepthShader,
+ sk_sp<SkShader> diffuseShader,
+ sk_sp<SkLights> lights,
+ int diffuseWidth, int diffuseHeight);
+
+ SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP()
+};
+
+#endif
+#endif