| Index: include/utils/SkDeferredCanvas.h
|
| diff --git a/include/utils/SkDeferredCanvas.h b/include/utils/SkDeferredCanvas.h
|
| index b9b85e68194a018eea024754d9c05450a0f5a652..0527198d77c7852aabafc7dcd531519a47fb7ba3 100644
|
| --- a/include/utils/SkDeferredCanvas.h
|
| +++ b/include/utils/SkDeferredCanvas.h
|
| @@ -143,32 +143,6 @@ public:
|
| */
|
| void silentFlush();
|
|
|
| - // Overrides of the SkCanvas interface
|
| - virtual void drawPaint(const SkPaint& paint) SK_OVERRIDE;
|
| - virtual void drawPoints(PointMode mode, size_t count, const SkPoint pts[],
|
| - const SkPaint& paint) SK_OVERRIDE;
|
| - virtual void drawOval(const SkRect&, const SkPaint& paint) SK_OVERRIDE;
|
| - virtual void drawRect(const SkRect& rect, const SkPaint& paint) SK_OVERRIDE;
|
| - virtual void drawRRect(const SkRRect&, const SkPaint& paint) SK_OVERRIDE;
|
| - virtual void drawPath(const SkPath& path, const SkPaint& paint)
|
| - SK_OVERRIDE;
|
| - virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left,
|
| - SkScalar top, const SkPaint* paint)
|
| - SK_OVERRIDE;
|
| - virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src,
|
| - const SkRect& dst, const SkPaint* paint,
|
| - DrawBitmapRectFlags flags) SK_OVERRIDE;
|
| -
|
| - virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center,
|
| - const SkRect& dst, const SkPaint* paint)
|
| - SK_OVERRIDE;
|
| - virtual void drawSprite(const SkBitmap& bitmap, int left, int top,
|
| - const SkPaint* paint) SK_OVERRIDE;
|
| - virtual void drawVertices(VertexMode vmode, int vertexCount,
|
| - const SkPoint vertices[], const SkPoint texs[],
|
| - const SkColor colors[], SkXfermode* xmode,
|
| - const uint16_t indices[], int indexCount,
|
| - const SkPaint& paint) SK_OVERRIDE;
|
| virtual SkDrawFilter* setDrawFilter(SkDrawFilter* filter) SK_OVERRIDE;
|
|
|
| protected:
|
| @@ -193,7 +167,31 @@ protected:
|
| virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4],
|
| const SkPoint texCoords[4], SkXfermode* xmode,
|
| const SkPaint& paint) SK_OVERRIDE;
|
| -
|
| +
|
| + void onDrawPaint(const SkPaint&) SK_OVERRIDE;
|
| + void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPaint&) SK_OVERRIDE;
|
| + void onDrawRect(const SkRect&, const SkPaint&) SK_OVERRIDE;
|
| + void onDrawOval(const SkRect&, const SkPaint&) SK_OVERRIDE;
|
| + void onDrawRRect(const SkRRect&, const SkPaint&) SK_OVERRIDE;
|
| + void onDrawPath(const SkPath&, const SkPaint&) SK_OVERRIDE;
|
| + void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPaint*) SK_OVERRIDE;
|
| + void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst, const SkPaint*,
|
| + DrawBitmapRectFlags flags) SK_OVERRIDE;
|
| +#if 0
|
| + // rely on conversion to bitmap(for now)
|
| + void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*) SK_OVERRIDE;
|
| + void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst,
|
| + const SkPaint*) SK_OVERRIDE;
|
| +#endif
|
| + void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst,
|
| + const SkPaint*) SK_OVERRIDE;
|
| + void onDrawSprite(const SkBitmap&, int left, int top, const SkPaint*) SK_OVERRIDE;
|
| + void onDrawVertices(VertexMode vmode, int vertexCount,
|
| + const SkPoint vertices[], const SkPoint texs[],
|
| + const SkColor colors[], SkXfermode* xmode,
|
| + const uint16_t indices[], int indexCount,
|
| + const SkPaint&) SK_OVERRIDE;
|
| +
|
| virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERRIDE;
|
| virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERRIDE;
|
| virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERRIDE;
|
|
|