Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(442)

Unified Diff: src/core/SkShadowShader.h

Issue 2198933002: Making a sample for shadow maps for more intensive development (Closed) Base URL: https://skia.googlesource.com/skia@shadow-gm
Patch Set: Made req chang Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/core/SkShadowShader.h
diff --git a/src/core/SkShadowShader.h b/src/core/SkShadowShader.h
index 7cbcbca224ceb82a3b9627b45d626d610cc4a78d..ad4f4e2f38ae5d7abe74d6cc89081bd915687cef 100644
--- a/src/core/SkShadowShader.h
+++ b/src/core/SkShadowShader.h
@@ -25,6 +25,8 @@ public:
sk_sp<SkLights> lights,
int diffuseWidth, int diffuseHeight);
robertphillips 2016/08/04 18:16:06 // The shadow shader supports any number of ambien
vjiaoblack 2016/08/04 18:55:49 Currently, I've been told to use SkAssert instead
+ static constexpr int kMaxNonAmbientLights = 4;
+
SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP()
};

Powered by Google App Engine
This is Rietveld 408576698