| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2013 Google Inc. | 3 * Copyright 2013 Google Inc. |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 #include "SkDeferredCanvas.h" | 9 #include "SkDeferredCanvas.h" |
| 10 | 10 |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 const SkRect&, const SkPaint&, | 203 const SkRect&, const SkPaint&, |
| 204 SkCanvas::DrawBitmapRectFlags) SK_OVERRIDE | 204 SkCanvas::DrawBitmapRectFlags) SK_OVERRIDE |
| 205 {SkASSERT(0);} | 205 {SkASSERT(0);} |
| 206 virtual void drawSprite(const SkDraw&, const SkBitmap& bitmap, | 206 virtual void drawSprite(const SkDraw&, const SkBitmap& bitmap, |
| 207 int x, int y, const SkPaint& paint) SK_OVERRIDE | 207 int x, int y, const SkPaint& paint) SK_OVERRIDE |
| 208 {SkASSERT(0);} | 208 {SkASSERT(0);} |
| 209 virtual void drawText(const SkDraw&, const void* text, size_t len, | 209 virtual void drawText(const SkDraw&, const void* text, size_t len, |
| 210 SkScalar x, SkScalar y, const SkPaint& paint) SK_OVE
RRIDE | 210 SkScalar x, SkScalar y, const SkPaint& paint) SK_OVE
RRIDE |
| 211 {SkASSERT(0);} | 211 {SkASSERT(0);} |
| 212 virtual void drawPosText(const SkDraw&, const void* text, size_t len, | 212 virtual void drawPosText(const SkDraw&, const void* text, size_t len, |
| 213 const SkScalar pos[], SkScalar constY, | 213 const SkScalar pos[], int scalarsPerPos, |
| 214 int scalarsPerPos, const SkPaint& paint) SK_OVER
RIDE | 214 const SkPoint& offset, const SkPaint& paint) SK_OVE
RRIDE |
| 215 {SkASSERT(0);} | 215 {SkASSERT(0);} |
| 216 virtual void drawTextOnPath(const SkDraw&, const void* text, | 216 virtual void drawTextOnPath(const SkDraw&, const void* text, |
| 217 size_t len, const SkPath& path, | 217 size_t len, const SkPath& path, |
| 218 const SkMatrix* matrix, | 218 const SkMatrix* matrix, |
| 219 const SkPaint& paint) SK_OVERRIDE | 219 const SkPaint& paint) SK_OVERRIDE |
| 220 {SkASSERT(0);} | 220 {SkASSERT(0);} |
| 221 virtual void drawVertices(const SkDraw&, SkCanvas::VertexMode, | 221 virtual void drawVertices(const SkDraw&, SkCanvas::VertexMode, |
| 222 int vertexCount, const SkPoint verts[], | 222 int vertexCount, const SkPoint verts[], |
| 223 const SkPoint texs[], const SkColor colors[], | 223 const SkPoint texs[], const SkColor colors[], |
| 224 SkXfermode* xmode, const uint16_t indices[], | 224 SkXfermode* xmode, const uint16_t indices[], |
| (...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 948 SkDrawFilter* SkDeferredCanvas::setDrawFilter(SkDrawFilter* filter) { | 948 SkDrawFilter* SkDeferredCanvas::setDrawFilter(SkDrawFilter* filter) { |
| 949 this->drawingCanvas()->setDrawFilter(filter); | 949 this->drawingCanvas()->setDrawFilter(filter); |
| 950 this->INHERITED::setDrawFilter(filter); | 950 this->INHERITED::setDrawFilter(filter); |
| 951 this->recordedDrawCommand(); | 951 this->recordedDrawCommand(); |
| 952 return filter; | 952 return filter; |
| 953 } | 953 } |
| 954 | 954 |
| 955 SkCanvas* SkDeferredCanvas::canvasForDrawIter() { | 955 SkCanvas* SkDeferredCanvas::canvasForDrawIter() { |
| 956 return this->drawingCanvas(); | 956 return this->drawingCanvas(); |
| 957 } | 957 } |
| OLD | NEW |