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

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

Issue 2224163005: Made shadows blurry (thru implementing variance mapping) (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: removed extra comments 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 unified diff | Download patch
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 SkLiteDL_DEFINED 8 #ifndef SkLiteDL_DEFINED
9 #define SkLiteDL_DEFINED 9 #define SkLiteDL_DEFINED
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 void drawPaint (const SkPaint&); 42 void drawPaint (const SkPaint&);
43 void drawPath (const SkPath&, const SkPaint&); 43 void drawPath (const SkPath&, const SkPaint&);
44 void drawRect (const SkRect&, const SkPaint&); 44 void drawRect (const SkRect&, const SkPaint&);
45 void drawOval (const SkRect&, const SkPaint&); 45 void drawOval (const SkRect&, const SkPaint&);
46 void drawRRect (const SkRRect&, const SkPaint&); 46 void drawRRect (const SkRRect&, const SkPaint&);
47 void drawDRRect(const SkRRect&, const SkRRect&, const SkPaint&); 47 void drawDRRect(const SkRRect&, const SkRRect&, const SkPaint&);
48 48
49 void drawAnnotation (const SkRect&, const char*, SkData*); 49 void drawAnnotation (const SkRect&, const char*, SkData*);
50 void drawDrawable (SkDrawable*, const SkMatrix*); 50 void drawDrawable (SkDrawable*, const SkMatrix*);
51 void drawPicture (const SkPicture*, const SkMatrix*, const SkPaint*); 51 void drawPicture (const SkPicture*, const SkMatrix*, const SkPaint*);
52 void drawShadowedPicture(const SkPicture*, const SkMatrix*, const SkPaint*); 52 void drawShadowedPicture(const SkPicture*, const SkMatrix*,
53 const SkPaint*, SkShadowType sType);
jvanverth1 2016/08/15 16:37:16 const &
vjiaoblack 2016/08/15 17:43:31 Done.
53 54
54 void drawText (const void*, size_t, SkScalar, SkScalar, const SkPaint& ); 55 void drawText (const void*, size_t, SkScalar, SkScalar, const SkPaint& );
55 void drawPosText (const void*, size_t, const SkPoint[], const SkPaint&); 56 void drawPosText (const void*, size_t, const SkPoint[], const SkPaint&);
56 void drawPosTextH (const void*, size_t, const SkScalar[], SkScalar, const SkPaint&); 57 void drawPosTextH (const void*, size_t, const SkScalar[], SkScalar, const SkPaint&);
57 void drawTextOnPath (const void*, size_t, const SkPath&, const SkMatrix*, co nst SkPaint&); 58 void drawTextOnPath (const void*, size_t, const SkPath&, const SkMatrix*, co nst SkPaint&);
58 void drawTextRSXform(const void*, size_t, const SkRSXform[], const SkRect*, const SkPaint&); 59 void drawTextRSXform(const void*, size_t, const SkRSXform[], const SkRect*, const SkPaint&);
59 void drawTextBlob (const SkTextBlob*, SkScalar,SkScalar, const SkPaint&); 60 void drawTextBlob (const SkTextBlob*, SkScalar,SkScalar, const SkPaint&);
60 61
61 void drawBitmap (const SkBitmap&, SkScalar, SkScalar, const Sk Paint*); 62 void drawBitmap (const SkBitmap&, SkScalar, SkScalar, const Sk Paint*);
62 void drawBitmapNine(const SkBitmap&, const SkIRect&, const SkRect&, const Sk Paint*); 63 void drawBitmapNine(const SkBitmap&, const SkIRect&, const SkRect&, const Sk Paint*);
(...skipping 23 matching lines...) Expand all
86 SkRect onGetBounds() override; 87 SkRect onGetBounds() override;
87 void onDraw(SkCanvas*) override; 88 void onDraw(SkCanvas*) override;
88 89
89 SkLiteDL* fNext; 90 SkLiteDL* fNext;
90 int fUsesRemaining; 91 int fUsesRemaining;
91 SkRect fBounds; 92 SkRect fBounds;
92 SkTDArray<uint8_t> fBytes; 93 SkTDArray<uint8_t> fBytes;
93 }; 94 };
94 95
95 #endif//SkLiteDL_DEFINED 96 #endif//SkLiteDL_DEFINED
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698