Index: src/gpu/SkGpuDevice.h |
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h |
index bb6cb487b0b296a2c9592f7382d0f7eb5153cfb6..c7a43fe2a6ebd112867858a4cb2b5446ca23cb09 100644 |
--- a/src/gpu/SkGpuDevice.h |
+++ b/src/gpu/SkGpuDevice.h |
@@ -65,13 +65,15 @@ public: |
GrContext* context() const { return fContext; } |
+ // set all pixels to 0 |
+ void clearAll(); |
+ |
virtual GrRenderTarget* accessRenderTarget() SK_OVERRIDE; |
virtual SkImageInfo imageInfo() const SK_OVERRIDE { |
return fRenderTarget ? fRenderTarget->surfacePriv().info() : SkImageInfo::MakeUnknown(); |
} |
- virtual void clear(SkColor color) SK_OVERRIDE; |
virtual void drawPaint(const SkDraw&, const SkPaint& paint) SK_OVERRIDE; |
virtual void drawPoints(const SkDraw&, SkCanvas::PointMode mode, size_t count, |
const SkPoint[], const SkPaint& paint) SK_OVERRIDE; |