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

Unified Diff: src/core/SkPictureRecord.h

Issue 2146073003: Creating framework for drawShadowedPicture (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Made changes to better hide changes from public Created 4 years, 5 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/SkPictureRecord.h
diff --git a/src/core/SkPictureRecord.h b/src/core/SkPictureRecord.h
index 276dd3e29bcc9e39c63b6db282705e8d6b32cf92..5537343e4ee78fa35cbe5b42695217834749ff0d 100644
--- a/src/core/SkPictureRecord.h
+++ b/src/core/SkPictureRecord.h
@@ -159,7 +159,11 @@ protected:
void didConcat(const SkMatrix&) override;
void didSetMatrix(const SkMatrix&) override;
- void didTranslateZ(SkScalar) override;
+ void didTranslateZ(SkScalar)
jvanverth1 2016/07/21 13:56:53 I think it would be cleaner-looking to duplicate t
vjiaoblack 2016/07/21 15:11:20 Done.
+#ifdef SK_USE_SHADOWS
+ override
+#endif
+ ;
void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override;
@@ -208,6 +212,14 @@ protected:
void onClipRegion(const SkRegion&, SkRegion::Op) override;
void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) override;
+ void onDrawShadowedPicture(const SkPicture*,
jvanverth1 2016/07/21 13:56:53 Same here.
vjiaoblack 2016/07/21 15:11:20 Done.
+ const SkMatrix*,
+ const SkPaint*)
+#ifdef SK_USE_SHADOWS
+ override
+#endif
+ ;
+
void onDrawDrawable(SkDrawable*, const SkMatrix*) override;
void onDrawAnnotation(const SkRect&, const char[], SkData*) override;

Powered by Google App Engine
This is Rietveld 408576698