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

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

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.h ('k') | src/core/SkPictureRecord.h » ('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 #include "SkLiteDL.h" 8 #include "SkLiteDL.h"
9 #include "SkLiteRecorder.h" 9 #include "SkLiteRecorder.h"
10 #include "SkSurface.h" 10 #include "SkSurface.h"
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 const SkRect* cull, 182 const SkRect* cull,
183 const SkPaint* paint) { 183 const SkPaint* paint) {
184 fDL->drawAtlas(atlas, xforms, texs, colors, count, xfermode, cull, paint); 184 fDL->drawAtlas(atlas, xforms, texs, colors, count, xfermode, cull, paint);
185 } 185 }
186 186
187 void SkLiteRecorder::didTranslateZ(SkScalar dz) { 187 void SkLiteRecorder::didTranslateZ(SkScalar dz) {
188 fDL->translateZ(dz); 188 fDL->translateZ(dz);
189 } 189 }
190 void SkLiteRecorder::onDrawShadowedPicture(const SkPicture* picture, 190 void SkLiteRecorder::onDrawShadowedPicture(const SkPicture* picture,
191 const SkMatrix* matrix, 191 const SkMatrix* matrix,
192 const SkPaint* paint) { 192 const SkPaint* paint,
193 fDL->drawShadowedPicture(picture, matrix, paint); 193 const SkShadowParams& params) {
194 fDL->drawShadowedPicture(picture, matrix, paint, params);
194 } 195 }
OLDNEW
« no previous file with comments | « src/core/SkLiteRecorder.h ('k') | src/core/SkPictureRecord.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698