Index: src/gpu/SkGpuDevice.h |
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h |
index f7088e3fa3f1dcb16b2c6ff8d18931cfc24c69ca..2fb6de7eb8564c871ceb5cf25bb0b3d5fa105036 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; |