| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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; | 109 void onDrawSprite(const SkBitmap&, int left, int top, const SkPaint*) overri
de; |
| 110 void onDrawVertices(VertexMode vmode, int vertexCount, | 110 void onDrawVertices(VertexMode vmode, int vertexCount, |
| 111 const SkPoint vertices[], const SkPoint texs[], | 111 const SkPoint vertices[], const SkPoint texs[], |
| 112 const SkColor colors[], SkXfermode* xmode, | 112 const SkColor colors[], SkXfermode* xmode, |
| 113 const uint16_t indices[], int indexCount, | 113 const uint16_t indices[], int indexCount, |
| 114 const SkPaint&) override; | 114 const SkPaint&) override; |
| 115 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const Sk
Color[], | 115 void onDrawAtlas(const SkImage*, const SkRSXform[], const SkRect[], const Sk
Color[], |
| 116 int count, SkXfermode::Mode, const SkRect* cull, const SkPa
int*) override; | 116 int count, SkXfermode::Mode, const SkRect* cull, const SkPa
int*) override; |
| 117 void onDrawLitAtlas(const SkImage*, const SkRSXform[], |
| 118 const SkRect diffTex[], const SkRect normTex[], const Sk
Color[], |
| 119 int count, SkXfermode::Mode, const SkRect* cull, const S
kPaint*, |
| 120 const SkLight lights[], int numLights) override; |
| 117 | 121 |
| 118 void onClipRect(const SkRect& rect, SkRegion::Op op, ClipEdgeStyle edgeStyle
) override; | 122 void onClipRect(const SkRect& rect, SkRegion::Op op, ClipEdgeStyle edgeStyle
) override; |
| 119 void onClipRRect(const SkRRect& rrect, SkRegion::Op op, ClipEdgeStyle edgeSt
yle) override; | 123 void onClipRRect(const SkRRect& rrect, SkRegion::Op op, ClipEdgeStyle edgeSt
yle) override; |
| 120 void onClipPath(const SkPath& path, SkRegion::Op op, ClipEdgeStyle edgeStyle
) override; | 124 void onClipPath(const SkPath& path, SkRegion::Op op, ClipEdgeStyle edgeStyle
) override; |
| 121 void onClipRegion(const SkRegion& deviceRgn, SkRegion::Op op) override; | 125 void onClipRegion(const SkRegion& deviceRgn, SkRegion::Op op) override; |
| 122 | 126 |
| 123 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri
de; | 127 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri
de; |
| 124 | 128 |
| 125 SkSurface* onNewSurface(const SkImageInfo&, const SkSurfaceProps&) override
{ return NULL; } | 129 SkSurface* onNewSurface(const SkImageInfo&, const SkSurfaceProps&) override
{ return NULL; } |
| 126 | 130 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 141 | 145 |
| 142 DrawPictureMode fDrawPictureMode; | 146 DrawPictureMode fDrawPictureMode; |
| 143 size_t fApproxBytesUsedBySubPictures; | 147 size_t fApproxBytesUsedBySubPictures; |
| 144 SkRecord* fRecord; | 148 SkRecord* fRecord; |
| 145 SkAutoTDelete<SkDrawableList> fDrawableList; | 149 SkAutoTDelete<SkDrawableList> fDrawableList; |
| 146 | 150 |
| 147 SkMiniRecorder* fMiniRecorder; | 151 SkMiniRecorder* fMiniRecorder; |
| 148 }; | 152 }; |
| 149 | 153 |
| 150 #endif//SkRecorder_DEFINED | 154 #endif//SkRecorder_DEFINED |
| OLD | NEW |