| 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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) { |
| 184 fDL->drawShadowedPicture(picture, matrix, paint, sType); |
| 184 } | 185 } |
| OLD | NEW |