| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 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 SkRecorder_DEFINED | 8 #ifndef SkRecorder_DEFINED |
| 9 #define SkRecorder_DEFINED | 9 #define SkRecorder_DEFINED |
| 10 | 10 |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 void onDrawRect(const SkRect&, const SkPaint&) override; | 93 void onDrawRect(const SkRect&, const SkPaint&) override; |
| 94 void onDrawOval(const SkRect&, const SkPaint&) override; | 94 void onDrawOval(const SkRect&, const SkPaint&) override; |
| 95 void onDrawRRect(const SkRRect&, const SkPaint&) override; | 95 void onDrawRRect(const SkRRect&, const SkPaint&) override; |
| 96 void onDrawPath(const SkPath&, const SkPaint&) override; | 96 void onDrawPath(const SkPath&, const SkPaint&) override; |
| 97 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain
t*) override; | 97 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain
t*) override; |
| 98 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst,
const SkPaint*, | 98 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst,
const SkPaint*, |
| 99 DrawBitmapRectFlags flags) override; | 99 DrawBitmapRectFlags flags) override; |
| 100 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*
) override; | 100 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*
) override; |
| 101 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, | 101 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, |
| 102 const SkPaint*) override; | 102 const SkPaint*) override; |
| 103 void onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& ds
t, |
| 104 const SkPaint*) override; |
| 103 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect&
dst, | 105 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect&
dst, |
| 104 const SkPaint*) override; | 106 const SkPaint*) override; |
| 105 void onDrawSprite(const SkBitmap&, int left, int top, const SkPaint*) overri
de; | 107 void onDrawSprite(const SkBitmap&, int left, int top, const SkPaint*) overri
de; |
| 106 void onDrawVertices(VertexMode vmode, int vertexCount, | 108 void onDrawVertices(VertexMode vmode, int vertexCount, |
| 107 const SkPoint vertices[], const SkPoint texs[], | 109 const SkPoint vertices[], const SkPoint texs[], |
| 108 const SkColor colors[], SkXfermode* xmode, | 110 const SkColor colors[], SkXfermode* xmode, |
| 109 const uint16_t indices[], int indexCount, | 111 const uint16_t indices[], int indexCount, |
| 110 const SkPaint&) override; | 112 const SkPaint&) override; |
| 111 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const Sk
Color[], | 113 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const Sk
Color[], |
| 112 int count, SkXfermode::Mode, const SkRect* cull, const SkPa
int*) override; | 114 int count, SkXfermode::Mode, const SkRect* cull, const SkPa
int*) override; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 136 } | 138 } |
| 137 | 139 |
| 138 size_t fApproxBytesUsedBySubPictures; | 140 size_t fApproxBytesUsedBySubPictures; |
| 139 SkRecord* fRecord; | 141 SkRecord* fRecord; |
| 140 SkAutoTDelete<SkDrawableList> fDrawableList; | 142 SkAutoTDelete<SkDrawableList> fDrawableList; |
| 141 | 143 |
| 142 SkMiniRecorder* fMiniRecorder; | 144 SkMiniRecorder* fMiniRecorder; |
| 143 }; | 145 }; |
| 144 | 146 |
| 145 #endif//SkRecorder_DEFINED | 147 #endif//SkRecorder_DEFINED |
| OLD | NEW |