| 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain
t*) override; | 99 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain
t*) override; |
| 100 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst,
const SkPaint*, | 100 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst,
const SkPaint*, |
| 101 SrcRectConstraint) override; | 101 SrcRectConstraint) override; |
| 102 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*
) override; | 102 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*
) override; |
| 103 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, | 103 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, |
| 104 const SkPaint*, SrcRectConstraint) override; | 104 const SkPaint*, SrcRectConstraint) override; |
| 105 void onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& ds
t, | 105 void onDrawImageNine(const SkImage*, const SkIRect& center, const SkRect& ds
t, |
| 106 const SkPaint*) override; | 106 const SkPaint*) override; |
| 107 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect&
dst, | 107 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect&
dst, |
| 108 const SkPaint*) override; | 108 const SkPaint*) override; |
| 109 void onDrawSprite(const SkBitmap&, int left, int top, const SkPaint*) overri
de; | |
| 110 void onDrawVertices(VertexMode vmode, int vertexCount, | 109 void onDrawVertices(VertexMode vmode, int vertexCount, |
| 111 const SkPoint vertices[], const SkPoint texs[], | 110 const SkPoint vertices[], const SkPoint texs[], |
| 112 const SkColor colors[], SkXfermode* xmode, | 111 const SkColor colors[], SkXfermode* xmode, |
| 113 const uint16_t indices[], int indexCount, | 112 const uint16_t indices[], int indexCount, |
| 114 const SkPaint&) override; | 113 const SkPaint&) override; |
| 115 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const Sk
Color[], | 114 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const Sk
Color[], |
| 116 int count, SkXfermode::Mode, const SkRect* cull, const SkPa
int*) override; | 115 int count, SkXfermode::Mode, const SkRect* cull, const SkPa
int*) override; |
| 117 | 116 |
| 118 void onClipRect(const SkRect& rect, SkRegion::Op op, ClipEdgeStyle edgeStyle
) override; | 117 void onClipRect(const SkRect& rect, SkRegion::Op op, ClipEdgeStyle edgeStyle
) override; |
| 119 void onClipRRect(const SkRRect& rrect, SkRegion::Op op, ClipEdgeStyle edgeSt
yle) override; | 118 void onClipRRect(const SkRRect& rrect, SkRegion::Op op, ClipEdgeStyle edgeSt
yle) override; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 141 | 140 |
| 142 DrawPictureMode fDrawPictureMode; | 141 DrawPictureMode fDrawPictureMode; |
| 143 size_t fApproxBytesUsedBySubPictures; | 142 size_t fApproxBytesUsedBySubPictures; |
| 144 SkRecord* fRecord; | 143 SkRecord* fRecord; |
| 145 SkAutoTDelete<SkDrawableList> fDrawableList; | 144 SkAutoTDelete<SkDrawableList> fDrawableList; |
| 146 | 145 |
| 147 SkMiniRecorder* fMiniRecorder; | 146 SkMiniRecorder* fMiniRecorder; |
| 148 }; | 147 }; |
| 149 | 148 |
| 150 #endif//SkRecorder_DEFINED | 149 #endif//SkRecorder_DEFINED |
| OLD | NEW |