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

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: Trying different include path 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
« no previous file with comments | « src/core/SkCanvas.cpp ('k') | src/core/SkLiteDL.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 SkLiteDL_DEFINED 8 #ifndef SkLiteDL_DEFINED
9 #define SkLiteDL_DEFINED 9 #define SkLiteDL_DEFINED
10 10
(...skipping 30 matching lines...) Expand all
41 void drawPath (const SkPath&, const SkPaint&); 41 void drawPath (const SkPath&, const SkPaint&);
42 void drawRect (const SkRect&, const SkPaint&); 42 void drawRect (const SkRect&, const SkPaint&);
43 void drawOval (const SkRect&, const SkPaint&); 43 void drawOval (const SkRect&, const SkPaint&);
44 void drawArc (const SkRect&, SkScalar, SkScalar, bool, const SkPaint&); 44 void drawArc (const SkRect&, SkScalar, SkScalar, bool, const SkPaint&);
45 void drawRRect (const SkRRect&, const SkPaint&); 45 void drawRRect (const SkRRect&, const SkPaint&);
46 void drawDRRect(const SkRRect&, const SkRRect&, const SkPaint&); 46 void drawDRRect(const SkRRect&, const SkRRect&, const SkPaint&);
47 47
48 void drawAnnotation (const SkRect&, const char*, SkData*); 48 void drawAnnotation (const SkRect&, const char*, SkData*);
49 void drawDrawable (SkDrawable*, const SkMatrix*); 49 void drawDrawable (SkDrawable*, const SkMatrix*);
50 void drawPicture (const SkPicture*, const SkMatrix*, const SkPaint*); 50 void drawPicture (const SkPicture*, const SkMatrix*, const SkPaint*);
51 void drawShadowedPicture(const SkPicture*, const SkMatrix*, const SkPaint*); 51 void drawShadowedPicture(const SkPicture*, const SkMatrix*,
52 const SkPaint*, const SkShadowParams& params);
52 53
53 void drawText (const void*, size_t, SkScalar, SkScalar, const SkPaint& ); 54 void drawText (const void*, size_t, SkScalar, SkScalar, const SkPaint& );
54 void drawPosText (const void*, size_t, const SkPoint[], const SkPaint&); 55 void drawPosText (const void*, size_t, const SkPoint[], const SkPaint&);
55 void drawPosTextH (const void*, size_t, const SkScalar[], SkScalar, const SkPaint&); 56 void drawPosTextH (const void*, size_t, const SkScalar[], SkScalar, const SkPaint&);
56 void drawTextOnPath (const void*, size_t, const SkPath&, const SkMatrix*, co nst SkPaint&); 57 void drawTextOnPath (const void*, size_t, const SkPath&, const SkMatrix*, co nst SkPaint&);
57 void drawTextRSXform(const void*, size_t, const SkRSXform[], const SkRect*, const SkPaint&); 58 void drawTextRSXform(const void*, size_t, const SkRSXform[], const SkRect*, const SkPaint&);
58 void drawTextBlob (const SkTextBlob*, SkScalar,SkScalar, const SkPaint&); 59 void drawTextBlob (const SkTextBlob*, SkScalar,SkScalar, const SkPaint&);
59 60
60 void drawBitmap (const SkBitmap&, SkScalar, SkScalar, const Sk Paint*); 61 void drawBitmap (const SkBitmap&, SkScalar, SkScalar, const Sk Paint*);
61 void drawBitmapNine(const SkBitmap&, const SkIRect&, const SkRect&, const Sk Paint*); 62 void drawBitmapNine(const SkBitmap&, const SkIRect&, const SkRect&, const Sk Paint*);
(...skipping 29 matching lines...) Expand all
91 template <typename Fn, typename... Args> 92 template <typename Fn, typename... Args>
92 void map(const Fn[], Args...); 93 void map(const Fn[], Args...);
93 94
94 SkAutoTMalloc<uint8_t> fBytes; 95 SkAutoTMalloc<uint8_t> fBytes;
95 size_t fUsed; 96 size_t fUsed;
96 size_t fReserved; 97 size_t fReserved;
97 SkRect fBounds; 98 SkRect fBounds;
98 }; 99 };
99 100
100 #endif//SkLiteDL_DEFINED 101 #endif//SkLiteDL_DEFINED
OLDNEW
« no previous file with comments | « src/core/SkCanvas.cpp ('k') | src/core/SkLiteDL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698