Chromium Code Reviews| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 65 void onDrawPatch(const SkPoint[12], const SkColor[4], | 65 void onDrawPatch(const SkPoint[12], const SkColor[4], |
| 66 const SkPoint[4], SkXfermode*, const SkPaint&) override; | 66 const SkPoint[4], SkXfermode*, const SkPaint&) override; |
| 67 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain t&) override; | 67 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain t&) override; |
| 68 void onDrawVertices(VertexMode, int, const SkPoint[], const SkPoint[], const SkColor[], | 68 void onDrawVertices(VertexMode, int, const SkPoint[], const SkPoint[], const SkColor[], |
| 69 SkXfermode*, const uint16_t[], int, const SkPaint&) over ride; | 69 SkXfermode*, const uint16_t[], int, const SkPaint&) over ride; |
| 70 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const Sk Color[], | 70 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const Sk Color[], |
| 71 int, SkXfermode::Mode, const SkRect*, const SkPaint*) overr ide; | 71 int, SkXfermode::Mode, const SkRect*, const SkPaint*) overr ide; |
| 72 | 72 |
| 73 #ifdef SK_EXPERIMENTAL_SHADOWING | 73 #ifdef SK_EXPERIMENTAL_SHADOWING |
| 74 void didTranslateZ(SkScalar) override; | 74 void didTranslateZ(SkScalar) override; |
| 75 void onDrawShadowedPicture(const SkPicture*, const SkMatrix*, const SkPaint* ) override; | 75 void onDrawShadowedPicture(const SkPicture*, const SkMatrix*, |
| 76 const SkPaint*, SkShadowType sType) override; | |
|
jvanverth1
2016/08/15 16:37:17
const &
vjiaoblack
2016/08/15 17:43:31
Done.
| |
| 76 #else | 77 #else |
| 77 void didTranslateZ(SkScalar); | 78 void didTranslateZ(SkScalar); |
| 78 void onDrawShadowedPicture(const SkPicture*, const SkMatrix*, const SkPaint* ); | 79 void onDrawShadowedPicture(const SkPicture*, const SkMatrix*, |
| 80 const SkPaint*, SkShadowType sType); | |
|
jvanverth1
2016/08/15 16:37:16
const &
vjiaoblack
2016/08/15 17:43:31
Done.
| |
| 79 #endif | 81 #endif |
| 80 | 82 |
| 81 private: | 83 private: |
| 82 SkLiteDL* fDL; | 84 SkLiteDL* fDL; |
| 83 }; | 85 }; |
| 84 | 86 |
| 85 #endif//SkLiteRecorder_DEFINED | 87 #endif//SkLiteRecorder_DEFINED |
| OLD | NEW |