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, SkXfermode::Mode, const SkRect* cull, const SkPa
int*) 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 SkSurface* onNewSurface(const SkImageInfo&, const SkSurfaceProps&) override
{ return NULL; } | 121 SkSurface* onNewSurface(const SkImageInfo&, const SkSurfaceProps&) override
{ return NULL; } |
120 | 122 |
(...skipping 13 matching lines...) Expand all Loading... |
134 } | 136 } |
135 | 137 |
136 size_t fApproxBytesUsedBySubPictures; | 138 size_t fApproxBytesUsedBySubPictures; |
137 SkRecord* fRecord; | 139 SkRecord* fRecord; |
138 SkAutoTDelete<SkDrawableList> fDrawableList; | 140 SkAutoTDelete<SkDrawableList> fDrawableList; |
139 | 141 |
140 SkMiniRecorder* fMiniRecorder; | 142 SkMiniRecorder* fMiniRecorder; |
141 }; | 143 }; |
142 | 144 |
143 #endif//SkRecorder_DEFINED | 145 #endif//SkRecorder_DEFINED |
OLD | NEW |