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

Side by Side Diff: src/core/SkLiteRecorder.h

Issue 2224163005: Made shadows blurry (thru implementing variance mapping) (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Trying different include path Created 4 years, 3 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 unified diff | Download patch
« no previous file with comments | « src/core/SkLiteDL.cpp ('k') | src/core/SkLiteRecorder.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2016 Google Inc. 2 * Copyright 2016 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkLiteRecorder_DEFINED 8 #ifndef SkLiteRecorder_DEFINED
9 #define SkLiteRecorder_DEFINED 9 #define SkLiteRecorder_DEFINED
10 10
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 void onDrawPatch(const SkPoint[12], const SkColor[4], 69 void onDrawPatch(const SkPoint[12], const SkColor[4],
70 const SkPoint[4], SkXfermode*, const SkPaint&) override; 70 const SkPoint[4], SkXfermode*, const SkPaint&) override;
71 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain t&) override; 71 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain t&) override;
72 void onDrawVertices(VertexMode, int, const SkPoint[], const SkPoint[], const SkColor[], 72 void onDrawVertices(VertexMode, int, const SkPoint[], const SkPoint[], const SkColor[],
73 SkXfermode*, const uint16_t[], int, const SkPaint&) over ride; 73 SkXfermode*, const uint16_t[], int, const SkPaint&) over ride;
74 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const Sk Color[], 74 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const Sk Color[],
75 int, SkXfermode::Mode, const SkRect*, const SkPaint*) overr ide; 75 int, SkXfermode::Mode, const SkRect*, const SkPaint*) overr ide;
76 76
77 #ifdef SK_EXPERIMENTAL_SHADOWING 77 #ifdef SK_EXPERIMENTAL_SHADOWING
78 void didTranslateZ(SkScalar) override; 78 void didTranslateZ(SkScalar) override;
79 void onDrawShadowedPicture(const SkPicture*, const SkMatrix*, const SkPaint* ) override; 79 void onDrawShadowedPicture(const SkPicture*, const SkMatrix*,
80 const SkPaint*, const SkShadowParams& params) ove rride;
80 #else 81 #else
81 void didTranslateZ(SkScalar); 82 void didTranslateZ(SkScalar);
82 void onDrawShadowedPicture(const SkPicture*, const SkMatrix*, const SkPaint* ); 83 void onDrawShadowedPicture(const SkPicture*, const SkMatrix*,
84 const SkPaint*, const SkShadowParams& params);
83 #endif 85 #endif
84 86
85 private: 87 private:
86 SkLiteDL* fDL; 88 SkLiteDL* fDL;
87 }; 89 };
88 90
89 #endif//SkLiteRecorder_DEFINED 91 #endif//SkLiteRecorder_DEFINED
OLDNEW
« no previous file with comments | « src/core/SkLiteDL.cpp ('k') | src/core/SkLiteRecorder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698