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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect&
dst, | 103 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect&
dst, |
104 const SkPaint*) override; | 104 const SkPaint*) override; |
105 void onDrawSprite(const SkBitmap&, int left, int top, const SkPaint*) overri
de; | 105 void onDrawSprite(const SkBitmap&, int left, int top, const SkPaint*) overri
de; |
106 void onDrawVertices(VertexMode vmode, int vertexCount, | 106 void onDrawVertices(VertexMode vmode, int vertexCount, |
107 const SkPoint vertices[], const SkPoint texs[], | 107 const SkPoint vertices[], const SkPoint texs[], |
108 const SkColor colors[], SkXfermode* xmode, | 108 const SkColor colors[], SkXfermode* xmode, |
109 const uint16_t indices[], int indexCount, | 109 const uint16_t indices[], int indexCount, |
110 const SkPaint&) override; | 110 const SkPaint&) override; |
| 111 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const Sk
Color[], |
| 112 int count, const SkRect* cull, const SkPaint*) override; |
111 | 113 |
112 void onClipRect(const SkRect& rect, SkRegion::Op op, ClipEdgeStyle edgeStyle
) override; | 114 void onClipRect(const SkRect& rect, SkRegion::Op op, ClipEdgeStyle edgeStyle
) override; |
113 void onClipRRect(const SkRRect& rrect, SkRegion::Op op, ClipEdgeStyle edgeSt
yle) override; | 115 void onClipRRect(const SkRRect& rrect, SkRegion::Op op, ClipEdgeStyle edgeSt
yle) override; |
114 void onClipPath(const SkPath& path, SkRegion::Op op, ClipEdgeStyle edgeStyle
) override; | 116 void onClipPath(const SkPath& path, SkRegion::Op op, ClipEdgeStyle edgeStyle
) override; |
115 void onClipRegion(const SkRegion& deviceRgn, SkRegion::Op op) override; | 117 void onClipRegion(const SkRegion& deviceRgn, SkRegion::Op op) override; |
116 | 118 |
117 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri
de; | 119 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri
de; |
118 | 120 |
119 void beginCommentGroup(const char*) override; | 121 void beginCommentGroup(const char*) override; |
120 void addComment(const char*, const char*) override; | 122 void addComment(const char*, const char*) override; |
(...skipping 17 matching lines...) Expand all Loading... |
138 } | 140 } |
139 | 141 |
140 size_t fApproxBytesUsedBySubPictures; | 142 size_t fApproxBytesUsedBySubPictures; |
141 SkRecord* fRecord; | 143 SkRecord* fRecord; |
142 SkAutoTDelete<SkDrawableList> fDrawableList; | 144 SkAutoTDelete<SkDrawableList> fDrawableList; |
143 | 145 |
144 SkMiniRecorder* fMiniRecorder; | 146 SkMiniRecorder* fMiniRecorder; |
145 }; | 147 }; |
146 | 148 |
147 #endif//SkRecorder_DEFINED | 149 #endif//SkRecorder_DEFINED |
OLD | NEW |