| 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 #ifndef SkLiteRecorder_DEFINED | 8 #ifndef SkLiteRecorder_DEFINED |
| 9 #define SkLiteRecorder_DEFINED | 9 #define SkLiteRecorder_DEFINED |
| 10 | 10 |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 void onDrawPatch(const SkPoint[12], const SkColor[4], | 69 void onDrawPatch(const SkPoint[12], const SkColor[4], |
| 70 const SkPoint[4], SkXfermode*, const SkPaint&) override; | 70 const SkPoint[4], SkXfermode*, const SkPaint&) override; |
| 71 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain
t&) override; | 71 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain
t&) override; |
| 72 void onDrawVertices(VertexMode, int, const SkPoint[], const SkPoint[], const
SkColor[], | 72 void onDrawVertices(VertexMode, int, const SkPoint[], const SkPoint[], const
SkColor[], |
| 73 SkXfermode*, const uint16_t[], int, const SkPaint&) over
ride; | 73 SkXfermode*, const uint16_t[], int, const SkPaint&) over
ride; |
| 74 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const Sk
Color[], | 74 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const Sk
Color[], |
| 75 int, SkXfermode::Mode, const SkRect*, const SkPaint*) overr
ide; | 75 int, SkXfermode::Mode, const SkRect*, const SkPaint*) overr
ide; |
| 76 | 76 |
| 77 #ifdef SK_EXPERIMENTAL_SHADOWING | 77 #ifdef SK_EXPERIMENTAL_SHADOWING |
| 78 void didTranslateZ(SkScalar) override; | 78 void didTranslateZ(SkScalar) override; |
| 79 void onDrawShadowedPicture(const SkPicture*, const SkMatrix*, const SkPaint*
) override; | 79 void onDrawShadowedPicture(const SkPicture*, const SkMatrix*, |
| 80 const SkPaint*, const SkShadowParams& params) ove
rride; |
| 80 #else | 81 #else |
| 81 void didTranslateZ(SkScalar); | 82 void didTranslateZ(SkScalar); |
| 82 void onDrawShadowedPicture(const SkPicture*, const SkMatrix*, const SkPaint*
); | 83 void onDrawShadowedPicture(const SkPicture*, const SkMatrix*, |
| 84 const SkPaint*, const SkShadowParams& params); |
| 83 #endif | 85 #endif |
| 84 | 86 |
| 85 private: | 87 private: |
| 86 SkLiteDL* fDL; | 88 SkLiteDL* fDL; |
| 87 }; | 89 }; |
| 88 | 90 |
| 89 #endif//SkLiteRecorder_DEFINED | 91 #endif//SkLiteRecorder_DEFINED |
| OLD | NEW |