OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |