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

Unified Diff: src/core/SkLiteRecorder.cpp

Issue 2224163005: Made shadows blurry (thru implementing variance mapping) (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Moved SkShadowType to SkCanvas 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/SkLiteRecorder.cpp
diff --git a/src/core/SkLiteRecorder.cpp b/src/core/SkLiteRecorder.cpp
index 6a8e1306c4621802ada9821fcfdd7a74d48f6377..483a198bf1a1739f22027382f66acc017f657c6a 100644
--- a/src/core/SkLiteRecorder.cpp
+++ b/src/core/SkLiteRecorder.cpp
@@ -179,6 +179,7 @@ void SkLiteRecorder::didTranslateZ(SkScalar dz) {
}
void SkLiteRecorder::onDrawShadowedPicture(const SkPicture* picture,
const SkMatrix* matrix,
- const SkPaint* paint) {
- fDL->drawShadowedPicture(picture, matrix, paint);
+ const SkPaint* paint,
+ const SkShadowType& sType) {
+ fDL->drawShadowedPicture(picture, matrix, paint, sType);
}

Powered by Google App Engine
This is Rietveld 408576698