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

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: 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 #include "SkLiteDL.h" 8 #include "SkLiteDL.h"
9 #include "SkLiteRecorder.h" 9 #include "SkLiteRecorder.h"
10 #include "SkSurface.h" 10 #include "SkSurface.h"
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 const SkRect* cull, 172 const SkRect* cull,
173 const SkPaint* paint) { 173 const SkPaint* paint) {
174 fDL->drawAtlas(atlas, xforms, texs, colors, count, xfermode, cull, paint); 174 fDL->drawAtlas(atlas, xforms, texs, colors, count, xfermode, cull, paint);
175 } 175 }
176 176
177 void SkLiteRecorder::didTranslateZ(SkScalar dz) { 177 void SkLiteRecorder::didTranslateZ(SkScalar dz) {
178 fDL->translateZ(dz); 178 fDL->translateZ(dz);
179 } 179 }
180 void SkLiteRecorder::onDrawShadowedPicture(const SkPicture* picture, 180 void SkLiteRecorder::onDrawShadowedPicture(const SkPicture* picture,
181 const SkMatrix* matrix, 181 const SkMatrix* matrix,
182 const SkPaint* paint) { 182 const SkPaint* paint,
183 fDL->drawShadowedPicture(picture, matrix, paint); 183 SkShadowType sType) {
jvanverth1 2016/08/15 16:37:16 const &
vjiaoblack 2016/08/15 17:43:31 Done.
184 fDL->drawShadowedPicture(picture, matrix, paint, sType);
184 } 185 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698