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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 void onDrawBitmapLattice(const SkBitmap&, const Lattice& lattice, const SkRe
ct& dst, | 125 void onDrawBitmapLattice(const SkBitmap&, const Lattice& lattice, const SkRe
ct& dst, |
126 const SkPaint*) override; | 126 const SkPaint*) override; |
127 void onDrawVertices(VertexMode vmode, int vertexCount, | 127 void onDrawVertices(VertexMode vmode, int vertexCount, |
128 const SkPoint vertices[], const SkPoint texs[], | 128 const SkPoint vertices[], const SkPoint texs[], |
129 const SkColor colors[], SkXfermode* xmode, | 129 const SkColor colors[], SkXfermode* xmode, |
130 const uint16_t indices[], int indexCount, | 130 const uint16_t indices[], int indexCount, |
131 const SkPaint&) override; | 131 const SkPaint&) override; |
132 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const Sk
Color[], | 132 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const Sk
Color[], |
133 int count, SkXfermode::Mode, const SkRect* cull, const SkPa
int*) override; | 133 int count, SkXfermode::Mode, const SkRect* cull, const SkPa
int*) override; |
134 | 134 |
135 void onClipRect(const SkRect& rect, SkRegion::Op op, ClipEdgeStyle edgeStyle
) override; | 135 void onClipRect(const SkRect& rect, ClipOp, ClipEdgeStyle) override; |
136 void onClipRRect(const SkRRect& rrect, SkRegion::Op op, ClipEdgeStyle edgeSt
yle) override; | 136 void onClipRRect(const SkRRect& rrect, ClipOp, ClipEdgeStyle) override; |
137 void onClipPath(const SkPath& path, SkRegion::Op op, ClipEdgeStyle edgeStyle
) override; | 137 void onClipPath(const SkPath& path, ClipOp, ClipEdgeStyle) override; |
138 void onClipRegion(const SkRegion& deviceRgn, SkRegion::Op op) override; | 138 void onClipRegion(const SkRegion& deviceRgn, ClipOp) override; |
139 | 139 |
140 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri
de; | 140 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri
de; |
141 | 141 |
142 #ifdef SK_EXPERIMENTAL_SHADOWING | 142 #ifdef SK_EXPERIMENTAL_SHADOWING |
143 void onDrawShadowedPicture(const SkPicture*, | 143 void onDrawShadowedPicture(const SkPicture*, |
144 const SkMatrix*, | 144 const SkMatrix*, |
145 const SkPaint*, | 145 const SkPaint*, |
146 const SkShadowParams& params) override; | 146 const SkShadowParams& params) override; |
147 #else | 147 #else |
148 void onDrawShadowedPicture(const SkPicture*, | 148 void onDrawShadowedPicture(const SkPicture*, |
(...skipping 23 matching lines...) Expand all Loading... |
172 | 172 |
173 DrawPictureMode fDrawPictureMode; | 173 DrawPictureMode fDrawPictureMode; |
174 size_t fApproxBytesUsedBySubPictures; | 174 size_t fApproxBytesUsedBySubPictures; |
175 SkRecord* fRecord; | 175 SkRecord* fRecord; |
176 SkAutoTDelete<SkDrawableList> fDrawableList; | 176 SkAutoTDelete<SkDrawableList> fDrawableList; |
177 | 177 |
178 SkMiniRecorder* fMiniRecorder; | 178 SkMiniRecorder* fMiniRecorder; |
179 }; | 179 }; |
180 | 180 |
181 #endif//SkRecorder_DEFINED | 181 #endif//SkRecorder_DEFINED |
OLD | NEW |