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

Side by Side Diff: src/core/SkPictureRecord.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/SkLiteRecorder.cpp ('k') | src/core/SkPictureRecord.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 2011 Google Inc. 2 * Copyright 2011 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 SkPictureRecord_DEFINED 8 #ifndef SkPictureRecord_DEFINED
9 #define SkPictureRecord_DEFINED 9 #define SkPictureRecord_DEFINED
10 10
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 const SkPaint&) override; 205 const SkPaint&) override;
206 206
207 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; 207 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override;
208 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; 208 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override;
209 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; 209 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override;
210 void onClipRegion(const SkRegion&, SkRegion::Op) override; 210 void onClipRegion(const SkRegion&, SkRegion::Op) override;
211 211
212 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri de; 212 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri de;
213 213
214 #ifdef SK_EXPERIMENTAL_SHADOWING 214 #ifdef SK_EXPERIMENTAL_SHADOWING
215 void onDrawShadowedPicture(const SkPicture*, 215 void onDrawShadowedPicture(const SkPicture*, const SkMatrix*,
216 const SkMatrix*, 216 const SkPaint*, const SkShadowParams& params) ove rride;
217 const SkPaint*) override;
218 #else 217 #else
219 void onDrawShadowedPicture(const SkPicture*, 218 void onDrawShadowedPicture(const SkPicture*, const SkMatrix*,
220 const SkMatrix*, 219 const SkPaint*, const SkShadowParams& params);
221 const SkPaint*);
222 #endif 220 #endif
223 221
224 void onDrawDrawable(SkDrawable*, const SkMatrix*) override; 222 void onDrawDrawable(SkDrawable*, const SkMatrix*) override;
225 void onDrawAnnotation(const SkRect&, const char[], SkData*) override; 223 void onDrawAnnotation(const SkRect&, const char[], SkData*) override;
226 224
227 int addPathToHeap(const SkPath& path); // does not write to ops stream 225 int addPathToHeap(const SkPath& path); // does not write to ops stream
228 226
229 // These entry points allow the writing of matrices, clips, saves & 227 // These entry points allow the writing of matrices, clips, saves &
230 // restores to be deferred (e.g., if the MC state is being collapsed and 228 // restores to be deferred (e.g., if the MC state is being collapsed and
231 // only written out as needed). 229 // only written out as needed).
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 275
278 uint32_t fRecordFlags; 276 uint32_t fRecordFlags;
279 int fInitialSaveCount; 277 int fInitialSaveCount;
280 278
281 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c onstructor 279 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c onstructor
282 280
283 typedef SkCanvas INHERITED; 281 typedef SkCanvas INHERITED;
284 }; 282 };
285 283
286 #endif 284 #endif
OLDNEW
« no previous file with comments | « src/core/SkLiteRecorder.cpp ('k') | src/core/SkPictureRecord.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698